/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    transition: all var(--transition-base);
}

.header--scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.header__logo img,
.header__logo svg {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav__list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav__link {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
    transition: color var(--transition-fast);
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Regular nav links underline (not dropdown) */
.nav__list > li:not(.nav__dropdown) > .nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--color-accent);
}

.nav__list > li:not(.nav__dropdown) > .nav__link:hover::after {
    width: 100%;
}

.nav__link--active {
    color: var(--color-accent);
}

/* Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    margin-top: 16px;
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-menu li {
    padding: var(--spacing-sm);
}

.nav__dropdown-menu a {
    display: block;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.nav__dropdown-menu a:hover {
    color: var(--color-accent);
}

/* Header CTA - Minimal Icon Buttons */
.header__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.header__icon-btn--phone {
    background: var(--color-accent);
    color: #000;
}

.header__icon-btn--phone:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.header__icon-btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.header__icon-btn--whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.nav__toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Hero glow effects - box-shadow based, no hard edges */
.hero .glow-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero .glow-bg--cyan {
    animation: glowPulse 8s ease-in-out infinite;
}

.hero .glow-bg--green {
    animation: glowPulse 10s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 50px);
    }
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero__title {
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__section h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.footer__section ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__section a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer__section a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* District Items - BÃ¶lge Linkleri */
.district-item:hover {
    background: rgba(6, 182, 212, 0.2) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

/* Responsive - Large Desktop */
@media (max-width: 1400px) and (min-width: 769px) {
    .nav__list {
        gap: var(--spacing-md);
    }

    .nav__link {
        font-size: 14px;
    }

    .mega-menu {
        width: 95vw;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Responsive - Medium Desktop */
@media (max-width: 1200px) and (min-width: 769px) {
    .nav__list {
        gap: var(--spacing-sm);
    }

    .nav__link {
        font-size: 13px;
    }

    .header__logo svg {
        width: 160px;
        height: auto;
    }

    .mega-menu__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Regions grid - 4 columns on medium desktop */
    .mega-menu__grid--regions {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive - Small Desktop / Tablet Landscape */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav__list {
        gap: 12px;
    }

    .nav__link {
        font-size: 12px;
    }

    .header__logo svg {
        width: 140px;
        height: auto;
    }

    .mega-menu {
        width: 98vw;
    }

    .mega-menu__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* Regions grid - 3 columns on small desktop */
    .mega-menu__grid--regions {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-menu__category-title {
        font-size: 12px;
    }

    .mega-menu__list a {
        font-size: 11px;
        padding: 4px 0;
    }
}

@media (max-width: 1024px) {
    .header__cta .btn-phone .text {
        display: none;
    }
}

/* Body scroll lock when menu open */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   MOBILE NAVIGATION - Premium Design
======================================== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: #000000;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        -webkit-overflow-scrolling: touch;
    }

    .nav--active {
        transform: translateX(0);
    }

    .nav__toggle {
        display: flex;
    }

    .nav__list {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .nav__list > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav__list > li:last-child {
        border-bottom: none;
    }

    /* Regular nav links */
    .nav__list > li:not(.nav__dropdown) > .nav__link {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        font-size: 15px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.2s ease;
    }

    .nav__list > li:not(.nav__dropdown) > .nav__link::after {
        display: none;
    }

    .nav__list > li:not(.nav__dropdown) > .nav__link:active {
        background: rgba(255, 255, 255, 0.05);
    }

    /* ==========================================
       PREMIUM DROPDOWN - Glassmorphism Style
    ========================================== */

    /* Dropdown parent links - Premium frame style */
    .nav__dropdown > .nav__link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 40px;
        padding: 16px 24px;
        margin: 8px 12px;
        font-size: 15px;
        font-weight: 600;
        color: #fff;
        transition: all 0.3s ease;
        position: relative;
        /* Premium frame - glassmorphism */
        background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
        border: 1px solid rgba(6, 182, 212, 0.2);
        border-radius: 12px;
        box-shadow:
            0 4px 15px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    /* ==========================================
       PREMIUM DROPDOWN TOGGLE - Pill + Chevron
    ========================================== */

    /* Pill container */
    .nav__dropdown > .nav__link::after {
        content: '' !important;
        position: static !important;
        width: 52px !important;
        height: 28px !important;
        background: linear-gradient(135deg, rgba(6,182,212,0.12) 0%, rgba(6,182,212,0.04) 100%) !important;
        border: 1px solid rgba(6,182,212,0.25) !important;
        border-radius: 8px !important;
        display: block !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        transform: none !important;
        /* Dekoratif yan Ã§izgiler */
        box-shadow:
            inset 8px 0 0 -6px rgba(6,182,212,0.5),
            inset -8px 0 0 -6px rgba(6,182,212,0.5) !important;
    }

    /* Chevron ok - ::before ile */
    .nav__dropdown > .nav__link::before {
        content: '' !important;
        position: absolute !important;
        right: 44px !important;
        top: 50% !important;
        width: 9px !important;
        height: 9px !important;
        border: none !important;
        border-right: 2px solid var(--color-accent) !important;
        border-bottom: 2px solid var(--color-accent) !important;
        transform: translateY(-70%) rotate(45deg) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        background: none !important;
        z-index: 2;
    }

    .nav__dropdown > .nav__link:active::after {
        transform: scale(0.95) !important;
    }

    /* Active state - dropdown open */
    .nav__dropdown.nav__dropdown--active > .nav__link {
        background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%);
        border-color: var(--color-accent);
        color: var(--color-accent);
        box-shadow:
            0 4px 20px rgba(6, 182, 212, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    /* Active pill - solid accent color with glow */
    .nav__dropdown.nav__dropdown--active > .nav__link::after {
        background: linear-gradient(135deg, var(--color-accent) 0%, #0891b2 100%) !important;
        border-color: var(--color-accent) !important;
        box-shadow:
            0 0 20px rgba(6,182,212,0.4),
            inset 8px 0 0 -6px rgba(0,0,0,0.2),
            inset -8px 0 0 -6px rgba(0,0,0,0.2) !important;
    }

    /* Active chevron - rotated up, dark color */
    .nav__dropdown.nav__dropdown--active > .nav__link::before {
        transform: translateY(-30%) rotate(-135deg) !important;
        border-color: #000 !important;
    }

    /* Hide inline SVG */
    .nav__dropdown > .nav__link svg {
        display: none !important;
    }

    /* Dropdown content - BÃ¶lgeler */
    .nav__dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0;
        padding: 0;
        display: none;
        background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
        border: none;
        box-shadow: inset 0 1px 0 rgba(6, 182, 212, 0.1);
        border-radius: 0;
    }

    .nav__dropdown--active > .nav__dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* BÃ¶lgeler - Premium Grid layout */
    .nav__dropdown-menu[style*="column-count"] {
        column-count: unset !important;
        display: none;
        padding: 20px;
    }

    .nav__dropdown--active > .nav__dropdown-menu[style*="column-count"] {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .nav__dropdown-menu li {
        break-inside: avoid;
    }

    .nav__dropdown-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 8px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.3px;
        color: rgba(255, 255, 255, 0.9);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        text-align: center;
        transition: all 0.25s ease;
        min-height: 48px;
        position: relative;
        overflow: hidden;
    }

    .nav__dropdown-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
    }

    .nav__dropdown-menu a:active {
        color: #000;
        background: linear-gradient(135deg, var(--color-accent) 0%, #0891b2 100%);
        border-color: var(--color-accent);
        transform: scale(0.98);
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    }

    .nav__toggle {
        display: flex;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .nav__dropdown--active > .nav__dropdown-menu[style*="column-count"] {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 10px;
    }

    .nav__dropdown-menu a {
        padding: 10px 6px;
        font-size: 12px;
        border-radius: 6px;
    }
}

@media (max-width: 768px) {
    .header__cta {
        gap: 10px;
        margin-right: 16px;
    }

    .header__icon-btn {
        width: 38px;
        height: 38px;
    }

    .header__icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .hero {
        background-attachment: scroll;
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .hero__content {
        padding-top: 20px;
        margin-top: 0 !important;
    }

    .hero__title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero__cta {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero__cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 30px 0;
    }
}
/* Google Bot & No-JS Fallback - Hero içeriði her zaman görünür */
.hero__title,
.hero__subtitle,
.hero__cta {
    opacity: 1 !important;
    transform: none !important;
}

/* Animasyonlarý sadece animasyon destekleyen ve tercih eden tarayýcýlarda çalýþtýr */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation: fadeInUp 1s) {
        .hero__title {
            animation: fadeInUp 0.8s ease-out forwards;
        }
        .hero__subtitle {
            animation: fadeInUp 0.8s ease-out 0.2s forwards;
        }
        .hero__cta {
            animation: fadeInUp 0.8s ease-out 0.4s forwards;
        }
    }
}

/* Glow fallback - TubesCursor çalýþmazsa statik glow göster */
.glow-bg {
    display: block !important;
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.glow-bg--cyan {
    top: -200px;
    left: -200px;
    background: rgba(6, 182, 212, 0.3);
}

.glow-bg--green {
    bottom: -200px;
    right: -200px;
    top: auto;
    left: auto;
    background: rgba(16, 185, 129, 0.3);
}
