/* Custom Styles for Sakura Yapı Website */

/* Ayrı Sosyal Medya Butonları */
.social-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.social-btn i {
    font-size: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Buton özel stilleri */
.social-instagram { background-color: rgba(0, 0, 0, 0.7); }
.social-facebook { background-color: rgba(0, 0, 0, 0.7); }
.social-twitter { background-color: rgba(0, 0, 0, 0.7); }
.social-linkedin { background-color: rgba(0, 0, 0, 0.7); }
.social-whatsapp { background-color: rgba(0, 0, 0, 0.7); }

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .social-float {
        right: 10px;
        gap: 12px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
    }
    
    .social-btn i {
        font-size: 22px;
    }
}

/* Blue Boxes with White Text and Icons */
.bg-primary, .bg-primary *:not(.btn-outline-primary) {
    color: white !important;
}

.bg-primary a:not(.btn-outline-primary) {
    color: white !important;
    text-decoration: underline;
}

.bg-primary a:not(.btn-outline-primary):hover {
    opacity: 0.9;
}

/* Icon Boxes in Services Section */
.icon-box.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Hero Section Buttons */
.hero-section .btn-warning {
    background-color: #10b981; /* Emerald green color */
    color: white !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hero-section .btn-warning:hover {
    background-color: #059669; /* Darker emerald on hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hero-section .btn-outline-light {
    background-color: #ffc107;
    color: #000 !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-warning:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-section .btn-outline-light {
    border: 2px solid #fff;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Services box text color */
.hero-section .d-flex.flex-wrap.gap-4.mt-5.text-white-50 {
    color: #000 !important;
}

.hero-section .d-flex.flex-wrap.gap-4.mt-5.text-white-50 span {
    color: #000 !important;
}

/* Contact Section Button */
#iletisim .btn-light {
    color: #000 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#iletisim .btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Teklif Section */
#teklif {
    background-color: var(--primary-color);
    color: white;
}

#teklif .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

#teklif .card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

#teklif .form-control, 
#teklif .form-select,
#teklif .input-group-text {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#teklif .form-control:focus, 
#teklif .form-select:focus {
    background-color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

#teklif .form-label {
    color: white;
}

#teklif .form-check-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

#teklif .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: white;
}

#teklif .btn-primary {
    background-color: white;
    color: var(--primary-color) !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

#teklif .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(100, 116, 139, 0.95) 100%);
    color: white;
    padding: 120px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Project Cards */
.project-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

.project-card .card-img-top {
    transition: transform 0.5s ease;
}

.project-card:hover .card-img-top {
    transform: scale(1.05);
}

.project-card .bg-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

/* Icon Box */
.icon-box {
    transition: all 0.3s ease;
}

/* Form Styles */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(30, 64, 175, 0.1);
}

/* Button Styles */
.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

/* Section Spacing */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-7 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-8 {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .py-6, .py-7, .py-8 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Custom Checkbox */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

/* Input Group Icons */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
    padding-left: 0.5rem;
}

.input-group .form-control:focus {
    border-color: #dee2e6;
    box-shadow: none;
}

/* Testimonial Cards */
.testimonial-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}
