/* ================= SHARED COMPONENTS - MODERN DESIGN ================= */

:root {
    --gold: #F0C66D;
    --gold-dark: #C9973B;
    --white: #FFFFFF;
    --dark: #1a1a1a;
    --gray: #666;
    --light-bg: #fafafa;
    --dark-accent: #1e1e1e;
    --gray-light: #a0a0a0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= NAVIGATION (ORİJİNAL STİLLER) ================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}


nav .logo {
    position: relative;
    z-index: 10002;
}

nav .menu-toggle {
    position: relative;
    z-index: 10002;
}

nav.scrolled {
    background-color: var(--dark) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

nav.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}



/* ================= NAVBAR – MANAGE (SUBTLE) ================= */

.manage-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 12px;
    border-radius: 999px;

    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: .2px;

    color: var(--gold) !important;
    background: rgba(240, 198, 109, 0.08);
    border: 1px solid rgba(240, 198, 109, 0.25);

    text-decoration: none;
    line-height: 1;

    transition: all 0.2s ease;
}

.manage-btn::after {
    display: none !important;
    content: none !important;
}

.manage-btn i {
    font-size: 0.85rem;
    opacity: .85;
}

/* Hover – çok hafif */
.manage-btn:hover {
    background: rgba(240, 198, 109, 0.14);
    border-color: rgba(240, 198, 109, 0.45);
    transform: translateY(-1px);
}

/* Active */
.manage-btn:active {
    transform: translateY(0);
}




/* ================= NAVBAR – SCHEDULE (FOCUSED CTA) ================= */

.schedule-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 18px;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: .3px;

    color: var(--dark) !important;
    background: linear-gradient(135deg,
            rgba(240, 198, 109, 0.95),
            rgba(201, 151, 59, 0.95));

    border: 1px solid rgba(240, 198, 109, 0.9);

    text-decoration: none;
    line-height: 1;

    box-shadow:
        0 4px 12px rgba(240, 198, 109, 0.45),
        0 0 0 0 rgba(240, 198, 109, 0.6);

    transition: all 0.25s ease;
}

.schedule-btn::after {
    display: none !important;
    content: none !important;
}

/* Icon */
.schedule-btn i {
    font-size: 0.9rem;
}

/* Hover */
.schedule-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(240, 198, 109, 0.6),
        0 0 0 6px rgba(240, 198, 109, 0.15);
}

/* Active */
.schedule-btn:active {
    transform: translateY(-1px);
    box-shadow:
        0 4px 14px rgba(240, 198, 109, 0.45);
}




/* ================= MENU TOGGLE ================= */
.menu-toggle {
    display: none;
    width: 46px;
    flex-direction: column;
    z-index: 10001;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
}

/* Hamburger lines */
.menu-toggle span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #f0c66d);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Line positions */
.menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
}

.menu-toggle span:nth-child(2) {
    opacity: 1;
}

.menu-toggle span:nth-child(3) {
    transform: translateY(7px);
}

/* Active → X icon */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Soft glow when active */
.menu-toggle.active {
    background: rgba(240, 198, 109, 0.25);
    box-shadow: 0 0 25px rgba(240, 198, 109, 0.6);
}


/* ================= MODERN FOOTER STYLES ================= */
.modern-footer {
    background-color: var(--dark);
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 65px;
}

.footer-wave .shape-fill {
    fill: #F5F5F5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.brand-description {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-wrapper {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--dark-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(240, 198, 109, 0.2);
}

.footer-grid h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-links ul,
.hours-list {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--gray-light);
}

.contact-item i {
    color: var(--gold);
    margin-top: 5px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.service-badge {
    margin-top: 20px;
    background: rgba(240, 198, 109, 0.1);
    border: 1px dashed var(--gold);
    color: var(--gold);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.bottom-links a:hover {
    color: var(--gold);
}

/* ================= ANIMATIONS ================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   MOBILE NAV (<= 968px) — FIXED CTA POSITION + COLOR
   Eski 968px nav responsive bloklarını bununla değiştir.
   ========================================================= */

@media (max-width: 968px) {

    :root {
        --nav-h: 64px;
        --drawer-w: 320px;
        --drawer-pad-x: 18px;
        --drawer-top-pad: 86px;
        --cta-gap: 12px;
    }

    /* Top nav bar */
    nav {
        padding: 0.6rem 4.5%;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    /* Burger */
    .menu-toggle {
        display: flex;
    }

    /* ================= DRAWER ================= */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--drawer-w);
        max-width: 88%;
        height: 100vh;

        background: rgba(18, 18, 18, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        display: flex;
        flex-direction: column;
        align-items: stretch;

        /* IMPORTANT: scroll aç */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        padding: calc(var(--drawer-top-pad) + env(safe-area-inset-top, 0px)) 0 calc(18px + env(safe-area-inset-bottom, 0px));
        gap: 0;

        transform: translateX(-105%);
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* Menü item’ları */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Normal linkler */
    .nav-links a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 18px var(--drawer-pad-x);
        font-size: 1.05rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.92);
        text-decoration: none;
        background: transparent;
    }

    /* underline kapat */
    .nav-links a::after {
        display: none !important;
        content: none !important;
    }

    .nav-links a:hover {
        color: var(--gold);
        background: rgba(255, 255, 255, 0.04);
    }

    /* ================= CTA WRAPPER =================
     PROBLEM FIX:
     - margin-top:auto KALDIRILDI (CTA altta yapışmayacak)
     - CTA’lar listeden ayrışacak ama aşırı aşağı gitmeyecek
  */
    .nav-links .manage-btn,
    .nav-links .schedule-btn {
        /* normal link stilini ez */
        padding: 16px 16px !important;
        margin: 0 !important;
        width: 100%;
        justify-content: center;
        border-radius: 16px;
        line-height: 1;
    }

    /* CTA’ların bulunduğu li’leri ayrı bir blok gibi göster */
    .nav-links li:has(.manage-btn),
    .nav-links li:has(.schedule-btn) {
        border-bottom: none;
        padding: 0 var(--drawer-pad-x);
        background: transparent;
    }

    /* IMPORTANT: CTA başlangıcı — menüden ayrıştır */
    .nav-links li:has(.manage-btn) {
        margin-top: 14px;
        /* sadece küçük boşluk */
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    /* CTA arası boşluk */
    .nav-links li:has(.schedule-btn) {
        margin-top: var(--cta-gap);
    }

    /* Manage = secondary */
    .manage-btn {
        background: rgba(240, 198, 109, 0.10) !important;
        border: 1px solid rgba(240, 198, 109, 0.28) !important;
        color: rgba(240, 198, 109, 0.96) !important;
        box-shadow: none !important;
    }

    .manage-btn:hover {
        transform: none !important;
        background: rgba(240, 198, 109, 0.14) !important;
        border-color: rgba(240, 198, 109, 0.45) !important;
    }

    /* Schedule = primary (YAZI RENGİ FIX) */
    .schedule-btn {
        background: linear-gradient(135deg,
                rgba(240, 198, 109, 0.95),
                rgba(201, 151, 59, 0.95)) !important;

        border: 1px solid rgba(240, 198, 109, 0.85) !important;

        /* Yazı rengi: eski gibi koyu */
        color: var(--dark) !important;

        box-shadow: 0 10px 26px rgba(240, 198, 109, 0.35) !important;
    }

    .schedule-btn:hover {
        transform: none !important;
        box-shadow: 0 14px 34px rgba(240, 198, 109, 0.42) !important;
    }

    .manage-btn i,
    .schedule-btn i {
        font-size: 1rem;
    }

    /* ================= FALLBACK (no :has support) =================
     Eğer Safari :has desteklemezse, CTA li’lerine class ekle:
       <li class="nav-cta nav-cta-manage">...</li>
       <li class="nav-cta nav-cta-schedule">...</li>
  */
    .nav-links li.nav-cta {
        border-bottom: none;
        padding: 0 var(--drawer-pad-x);
    }

    .nav-links li.nav-cta-manage {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    .nav-links li.nav-cta-schedule {
        margin-top: var(--cta-gap);
    }
}



























/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        padding: 80px 0 2rem;
        transition: left 0.4s ease;
        z-index: 9999;
        align-items: flex-start;
        gap: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        padding: 18px 30px;
        width: 100%;
        display: block;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .footer-wave svg {

        height: 35px;
    }

    .footer-grid h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-wrapper {
        justify-content: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .hours-list li {
        justify-content: center;
        gap: 15px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}