/* 1. GENEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-light: #f1fafa;      
    --navy-blue: #243b5e;     
    --hover-blue: #49bce3;    
    --text-gray: #4a4a4a;     
}

/* 2. HEADER ve NAVBAR */
.site-header {
    background-color: var(--bg-light);
    height: 100px;
    display: flex;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--hover-blue);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li.active a::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.desktop-only {
    display: inline-block;
}

.btn-contact {
    background-color: var(--navy-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
}

.btn-contact:hover {
    background-color: var(--hover-blue);
}

/* 3. DİL SEÇİMİ */
.lang-wrapper {
    position: relative;
    cursor: pointer;
    padding: 10px 0;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-gray);
}

.lang-flag {
    width: 24px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chevron {
    border: solid var(--text-gray);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-left: 2px;
}

.lang-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    list-style: none;
    min-width: 100px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1001;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 14px;
}

.lang-dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--hover-blue);
}

.lang-wrapper:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    top: 40px;
}

.lang-wrapper:hover .chevron {
    transform: rotate(-135deg);
}

/* 4. HAMBURGER MENÜ STİLİ */
.mobile-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-btn span {
    width: 100%;
    height: 3px;
    background: var(--navy-blue);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* 5. HERO SECTION */
.hero-section {
    position: relative;
    height: 450px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://bydhair.com/wp-content/uploads/2024/08/sac-ekimi-9-scaled.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    padding: 20px;
    max-width: 800px;
}

.hero-subheading {
    font-size: 16px;
    color: #49bce3;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
}

/* 6. BYD SERVICES SECTION (Detay) */
.byd-services-section {
    padding: 90px 0;
    background-color: #f1fafa !important;
    width: 100%;
}

.byd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.byd-main-header { text-align: center; margin-bottom: 60px; }
.byd-tag { color: #49bce3; font-weight: 600; font-size: 14px; text-transform: uppercase; }
.byd-title { color: #243b5e; font-size: 34px; margin-top: 10px; }

.byd-content-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.byd-single-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.byd-merged-img {
    max-width: 100%;
    height: auto;
}

.byd-info-column { flex: 1.2; }
.byd-small-tag { color: #49bce3; font-weight: 600; font-size: 13px; text-transform: uppercase; }
.byd-info-heading { color: #243b5e; font-size: 32px; margin: 15px 0; line-height: 1.3; }
.byd-info-text { color: #666; margin-bottom: 30px; font-size: 15px; }

.byd-feature-list { display: flex; flex-direction: column; gap: 20px; }
.byd-feature-item { display: flex; align-items: flex-start; gap: 15px; }

.byd-icon-sq {
    width: 50px; height: 50px; background-color: #c7f2f2;
    border-radius: 12px; flex-shrink: 0; display: flex; justify-content: center; align-items: center;
}
.byd-icon-sq svg { width: 24px; height: 24px; }

.byd-feature-text h4 { color: #243b5e; font-size: 17px; margin-bottom: 3px; }
.byd-feature-text p { color: #777; font-size: 13px; line-height: 1.5; }

.byd-btn-center { text-align: center; margin-top: 50px; }
.byd-btn-navy {
    background-color: #243b5e; color: white; padding: 14px 40px;
    border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block;
}
.byd-btn-navy:hover { background-color: #49bce3; }

/* 7. CONSULTATION SECTION */
.consultation-section {
    padding: 80px 0;
    background-color: #f6fcfe;
}

.consultation-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.consultation-content { flex: 1; }
.badge { color: #00bcd4; font-weight: 700; font-size: 14px; letter-spacing: 2px; display: block; margin-bottom: 15px; }
.main-title { color: #0c3d5d; font-size: 36px; font-weight: 800; line-height: 1.3; margin-bottom: 25px; }
.description { color: #6a828f; font-size: 16px; line-height: 1.6; margin-bottom: 35px; }

.action-row { display: flex; align-items: center; gap: 25px; }
.btn-apply {
    background-color: #1a2f4a; color: #ffffff; text-decoration: none;
    padding: 14px 40px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: background-color 0.3s ease;
}
.btn-apply:hover { background-color: #0c1c31; }

.contact-number { display: flex; align-items: center; gap: 10px; color: #0c3d5d; font-weight: 600; font-size: 17px; }
.whatsapp-icon { color: #00bcd4; width: 24px; height: 24px; }

.consultation-image { flex: 1; }
.consultation-image img { width: 100%; max-width: 500px; border-radius: 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); display: block; }

/* 8. GALLERY SECTION & LIGHTBOX */
.byd-gallery-section {
    padding: 90px 0;
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    aspect-ratio: 4/3;
}

.gallery-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease; display: block;
}

.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(73, 188, 227, 0.2); }
.gallery-card:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(36, 59, 94, 0.7); display: flex; flex-direction: column;
    justify-content: center; align-items: center; opacity: 0;
    transition: opacity 0.4s ease; backdrop-filter: blur(3px);
}

.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    font-size: 32px; color: #49bce3; margin-bottom: 10px;
    transform: translateY(20px); transition: transform 0.4s ease;
}
.gallery-overlay span {
    color: white; font-weight: 500; font-size: 16px; letter-spacing: 1px;
    transform: translateY(20px); transition: transform 0.4s ease 0.1s;
}
.gallery-card:hover .gallery-overlay i,
.gallery-card:hover .gallery-overlay span { transform: translateY(0); }

/* Lightbox Styles */
.byd-lightbox {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(10, 20, 30, 0.95);
    justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease;
}
.byd-lightbox.active { display: flex; opacity: 1; }
.lightbox-content-wrapper { position: relative; max-width: 90%; max-height: 85vh; }
.lightbox-img { max-width: 100%; max-height: 80vh; border-radius: 5px; box-shadow: 0 0 50px rgba(0,0,0,0.5); display: block; }
.lightbox-close {
    position: absolute; top: 20px; right: 30px; color: white;
    font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 10001;
}
.lightbox-close:hover { color: #49bce3; }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: white; font-size: 30px; padding: 15px; cursor: pointer;
    user-select: none; transition: 0.3s; background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: #49bce3; color: white; }
.prev { left: -80px; } .next { right: -80px; }

/* 9. FOOTER (SABİTLENMİŞ) */
.byd-footer {
    background-color: #b7ecea !important;
    padding: 80px 0 25px 0;
    width: 100%;
}

.byd-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Kaymayı önler */
    gap: 40px;
    flex-wrap: wrap;
}

.byd-footer-col { flex: 1; min-width: 250px; }
.byd-footer-logo img { height: 75px; margin-bottom: 20px; }
.byd-footer-about { color: #243b5e; font-size: 15px; line-height: 1.6; margin-bottom: 25px; max-width: 350px; }

.byd-social-links { display: flex; gap: 12px; }
.byd-social-item {
    width: 45px; height: 45px; background: #ffffff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.byd-social-item svg { width: 22px; height: 22px; fill: #49bce3; transition: fill 0.3s; }
.byd-social-item:hover { background: #49bce3; }
.byd-social-item:hover svg { fill: #ffffff; }

.byd-footer-title { color: #243b5e; font-size: 22px; font-weight: 700; margin-bottom: 25px; }
.byd-footer-links { list-style: none; padding: 0; }
.byd-footer-links li { margin-bottom: 12px; }
.byd-footer-links a { text-decoration: none; color: #243b5e; font-weight: 600; font-size: 17px; transition: 0.3s; }
.byd-footer-links a:hover { color: #49bce3; }

.byd-contact-list { display: flex; flex-direction: column; gap: 15px; }
.byd-contact-item { display: flex; align-items: center; gap: 15px; }
.c-icon {
    width: 36px; height: 36px; background: #c7f2f2; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.c-icon svg { width: 18px; height: 18px; fill: #49bce3; }
.byd-contact-item a, .byd-contact-item span { text-decoration: none; color: #49bce3; font-weight: 600; font-size: 16px; }

.byd-footer-bottom { margin-top: 60px; padding-top: 20px; text-align: right; border-top: 1px solid rgba(0, 0, 0, 0.05); }
.byd-footer-bottom a { color: #243b5e; font-size: 14px; text-decoration: underline; font-weight: 500; }

/* 10. STICKY WHATSAPP */
.sticky-whatsapp {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background-color: #25d366; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 35px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none;
}
.sticky-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.4); background-color: #20b957; }

/* ========================================= */
/* MOBILE RESPONSIVE AYARLARI                */
/* ========================================= */

@media (max-width: 1024px) {
    /* Header */
    .site-header { padding: 0 15px; }
    .desktop-only { display: none !important; }
    .mobile-btn { display: flex; }

    /* Navigasyon */
    .main-nav {
        display: block; position: absolute; top: 100px; left: 0; width: 100%;
        background-color: #ffffff; padding: 0; max-height: 0; overflow: hidden;
        transition: max-height 0.5s ease-in-out, box-shadow 0.3s ease;
        border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: none; z-index: 999;
    }
    .main-nav.nav-open { max-height: 400px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .main-nav ul { flex-direction: column; align-items: center; gap: 0; padding: 20px 0; }
    .main-nav ul li { width: 100%; text-align: center; }
    .main-nav ul li a { display: block; padding: 15px; border-bottom: 1px solid #f1f1f1; width: 100%; }
    .main-nav ul li a::after { display: none; }

    /* Hizmetler Bölümü */
    .byd-content-grid { flex-direction: column; text-align: center; }
    .byd-feature-item { flex-direction: column; align-items: center; }

    /* Consultation */
    .consultation-flex { flex-direction: column; text-align: center; }
    .main-title, .description { max-width: 100%; margin-left: auto; margin-right: auto; }
    .action-row { flex-direction: column; gap: 20px; }
    .btn-apply { width: 100%; max-width: 250px; }
    .consultation-image { order: -1; }

    /* Footer */
    .byd-footer-grid { flex-direction: column; align-items: center; text-align: center; }
    .byd-footer-col { width: 100%; margin-bottom: 40px; }
    .byd-footer-about, .byd-social-links, .byd-contact-item { justify-content: center; margin: 0 auto 15px auto; }
    .byd-footer-bottom { text-align: center; }
    
    /* Lightbox Nav */
    .prev { left: 10px; background: rgba(0,0,0,0.5); }
    .next { right: 10px; background: rgba(0,0,0,0.5); }
    .lightbox-nav { width: 40px; height: 40px; font-size: 20px; }
}

@media (max-width: 576px) {
    .site-header { height: 80px; }
    .main-nav { top: 80px; }
    .logo img { height: 50px; }
    .hero-title { font-size: 28px; }
    .hero-section { height: 400px; }
    .sticky-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 28px; }
}