/* ═══════════════════════════════════════════════════════════════════
   SAY Grubu — Custom Stylesheet v2
   ═══════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ─── Preloader ────────────────────────────────────────────────── */
#preloader {
    will-change: opacity;
}

#preloader.loaded {
    opacity: 0 !important;
    pointer-events: none;
}

#preloader-bar {
    will-change: width;
    box-shadow: 0 0 12px rgba(200, 164, 78, 0.4);
}

.preloader-dot {
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ─── About Section ────────────────────────────────────────────── */
.about-bg-grid {
    background-image:
        linear-gradient(rgba(200, 164, 78, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 78, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 78, 0.15), transparent);
    pointer-events: none;
    will-change: transform, opacity;
}

.particle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation: particleFloat 12s ease-in-out infinite;
}

.particle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation: particleFloat 15s ease-in-out infinite reverse;
}

.particle-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 30%;
    animation: particleFloat 10s ease-in-out infinite 2s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-15px, 25px) scale(0.95);
        opacity: 0.4;
    }

    75% {
        transform: translate(20px, 15px) scale(1.05);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .particle {
        display: none !important;
    }
}

/* About Animations (triggered by JS) */
.about-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.about-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stat Card Hover */
.stat-card {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .stat-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(27, 36, 56, 0.7) !important;
    }
}

/* Scroll Down Indicator */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-dot {
    animation: scrollDotMove 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@keyframes scrollDotMove {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* ─── Canvas ───────────────────────────────────────────────────── */
#hero-canvas {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    background-color: #0a0f1c;
    will-change: contents;
}

#scroll-spacer {
    position: relative;
    touch-action: pan-y;
    /* iOS: only vertical scroll, no pinch/zoom interference */
    overscroll-behavior: contain;
    /* Prevent iOS bounce/overscroll from accelerating scroll */
}

/* Prevent iOS body overscroll that causes fast momentum */
@supports (-webkit-touch-callout: none) {

    html,
    body {
        overscroll-behavior: none;
    }
}

/* ─── Navigation ──────────────────────────────────────────────── */
#main-nav {
    will-change: transform, opacity;
}

#main-nav.visible {
    opacity: 1;
    transform: translateY(0);
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(200, 164, 78, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #c8a44e, #d4af37);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #c8a44e !important;
}

/* ─── Section Labels (Animated) ───────────────────────────────── */
.section-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, visibility;
}

.section-label.active {
    opacity: 1 !important;
    visibility: visible;
}

/* Card content animation - Premium zoom & blur style */
.section-label-content {
    transform: scale(0.95) translateY(15px);
    opacity: 0;
    filter: blur(10px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.section-label.active .section-label-content {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
}

/* Child transitions inside card (staggered animation) */
.section-label .label-line {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-label .label-title {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-label .label-desc {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-label.active .label-line {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.section-label.active .label-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.section-label.active .label-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

/* ─── Scroll Progress ─────────────────────────────────────────── */
.progress-dot {
    transition: all 0.4s ease;
}

.progress-dot.active {
    background-color: #c8a44e !important;
    box-shadow: 0 0 8px rgba(200, 164, 78, 0.6);
    transform: scale(1.4);
}

/* ─── Contact Overlay (over canvas) ──────────────────────────── */
#contact-overlay {
    transition: opacity 0.5s ease;
    will-change: opacity;
}

#contact-overlay.active {
    opacity: 1 !important;
    pointer-events: auto;
}

/* Elevator Doors — slide apart */
#elevator-doors {
    pointer-events: none;
    /* Let all mouse events pass through to interactive content below */
}

#door-left,
#door-right {
    transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

#elevator-doors.open #door-left {
    transform: translateX(-100%);
}

#elevator-doors.open #door-right {
    transform: translateX(100%);
}

/* Contact Content (behind the doors) */
#contact-content {
    opacity: 0;
    transition: opacity 0.6s ease 0.3s;
}

#contact-overlay.active #contact-content {
    opacity: 1;
}

/* Staggered inner elements */
.contact-inner {
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#contact-overlay.doors-opened .contact-inner {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#contact-overlay.doors-opened .contact-inner:nth-child(1) {
    transition-delay: 0.2s;
}

#contact-overlay.doors-opened .contact-inner:nth-child(2) {
    transition-delay: 0.4s;
}

#contact-overlay.doors-opened .contact-inner:nth-child(3) {
    transition-delay: 0.6s;
}

.contact-card {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 164, 78, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(200, 164, 78, 0.1);
}

/* ─── Google Maps ─────────────────────────────────────────────── */
#google-map {
    filter: grayscale(0.7) contrast(1.1) brightness(0.8);
    transition: filter 0.5s ease;
}

#google-map:hover {
    filter: grayscale(0.1) contrast(1.05) brightness(0.9) !important;
}

/* ─── Footer ──────────────────────────────────────────────────── */
#site-footer {
    position: relative;
    z-index: 10;
}

#site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 164, 78, 0.2), transparent);
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .section-label h2 {
        font-size: 1.75rem;
    }

    .section-label p {
        font-size: 0.8rem;
    }

    #scroll-progress {
        display: none !important;
    }
}

/* ─── Mobile Menu Drawer ──────────────────────────────────────── */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.active {
    transform: translateX(0);
}

/* ─── Selection ───────────────────────────────────────────────── */
::selection {
    background-color: rgba(200, 164, 78, 0.3);
    color: #fff;
}

::-moz-selection {
    background-color: rgba(200, 164, 78, 0.3);
    color: #fff;
}

/* ─── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0f1c;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #c8a44e, #1b2438);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #d4af37, #c8a44e);
}

/* ─── Focus Accessibility ─────────────────────────────────────── */
:focus-visible {
    outline: 2px solid #c8a44e;
    outline-offset: 3px;
    border-radius: 2px;
}

/* ─── GPU Hints ───────────────────────────────────────────────── */
#hero-canvas,
#preloader,
.section-label,
.contact-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ─── Spinner & Loading animations ────────────────────────────── */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* ─── Text Transition Animations ───────────────────────────────── */
.label-title.text-fade-out,
.label-desc.text-fade-out {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    transition-delay: 0s !important;
}

.label-title.text-fade-in-active,
.label-desc.text-fade-in-active {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    transition-delay: 0s !important;
}

/* ─── Theme Toggle Button ─────────────────────────────────────── */
#theme-toggle {
    position: relative;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(200, 164, 78, 0.2);
    border-radius: 8px;
    background: rgba(200, 164, 78, 0.05);
    color: #c8a44e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#theme-toggle:hover {
    border-color: rgba(200, 164, 78, 0.5);
    background: rgba(200, 164, 78, 0.1);
    color: #fff;
}

#theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

#theme-toggle .icon-sun {
    display: none;
}

#theme-toggle .icon-moon {
    display: block;
}

/* ─── LIGHT THEME ─────────────────────────────────────────────── */
html[data-theme="light"] body {
    background-color: #f0f2f5 !important;
    color: #1a1d26 !important;
}

/* Preloader */
html[data-theme="light"] #preloader {
    background-color: #f0f2f5 !important;
}

html[data-theme="light"] #preloader p {
    color: #6b7280 !important;
}

html[data-theme="light"] #preloader-percent {
    color: #c8a44e !important;
}

/* Navigation */
html[data-theme="light"] #main-nav.visible {
    background: rgba(240, 242, 245, 0.85) !important;
    border-bottom-color: rgba(200, 164, 78, 0.12) !important;
}

html[data-theme="light"] .nav-link {
    color: #4b5563 !important;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
    color: #c8a44e !important;
}

/* About Section */
html[data-theme="light"] #about-section {
    background: linear-gradient(to bottom, #f0f2f5, #e8eaef, #f0f2f5) !important;
}

html[data-theme="light"] #about-section .absolute.inset-0>div:first-child {
    background: linear-gradient(to bottom, #f0f2f5, #e8eaef, #f0f2f5) !important;
}

html[data-theme="light"] #about-section h2 {
    color: #1a1d26 !important;
}

html[data-theme="light"] #about-section p.text-say-silver,
html[data-theme="light"] #about-text p {
    color: #4b5563 !important;
}

html[data-theme="light"] #about-text strong {
    color: #1a1d26 !important;
}

html[data-theme="light"] .stat-card {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(200, 164, 78, 0.15) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .stat-card:hover {
    border-color: rgba(200, 164, 78, 0.3) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .stat-card p {
    color: #6b7280 !important;
}

/* Particles (hide in light mode) */
html[data-theme="light"] .particle {
    opacity: 0.15 !important;
    background: radial-gradient(circle, rgba(200, 164, 78, 0.08), transparent) !important;
}

/* About bg grid */
html[data-theme="light"] .about-bg-grid {
    opacity: 0.02 !important;
}

/* Scroll indicator */
html[data-theme="light"] .scroll-indicator {
    border-color: rgba(200, 164, 78, 0.25) !important;
}

html[data-theme="light"] .scroll-dot {
    background-color: #c8a44e !important;
}

html[data-theme="light"] .text-say-silver\/50 {
    color: #9ca3af !important;
}

/* Canvas background */
html[data-theme="light"] #hero-canvas {
    background-color: #f0f2f5 !important;
}

/* Section Labels */
html[data-theme="light"] .section-label-content {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(200, 164, 78, 0.2) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 40px rgba(200, 164, 78, 0.05) !important;
}

html[data-theme="light"] .section-label h2 {
    color: #1a1d26 !important;
    background: linear-gradient(to bottom, #1a1d26, #374151) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

html[data-theme="light"] .section-label p {
    color: #6b7280 !important;
}

/* Contact Overlay */
html[data-theme="light"] #contact-content {
    background: rgba(240, 242, 245, 0.97) !important;
}

html[data-theme="light"] #contact-content h2,
html[data-theme="light"] #contact-content h3 {
    color: #1a1d26 !important;
}

html[data-theme="light"] #contact-content p {
    color: #6b7280 !important;
}

html[data-theme="light"] #contact-content a {
    color: #6b7280 !important;
}

html[data-theme="light"] #contact-content a:hover {
    color: #c8a44e !important;
}

/* Contact Cards */
html[data-theme="light"] .contact-card {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(200, 164, 78, 0.12) !important;
}

html[data-theme="light"] .contact-card:hover {
    border-color: rgba(200, 164, 78, 0.35) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(200, 164, 78, 0.1) !important;
}

/* Elevator Doors */
html[data-theme="light"] #door-left {
    background: linear-gradient(to right, #d4d6dc, #e0e2e8, #e5e7ed) !important;
}

html[data-theme="light"] #door-right {
    background: linear-gradient(to left, #d4d6dc, #e0e2e8, #e5e7ed) !important;
}

/* Form Inputs */
html[data-theme="light"] input:not([type="hidden"]):not([type="checkbox"]),
html[data-theme="light"] textarea,
html[data-theme="light"] select {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(200, 164, 78, 0.2) !important;
    color: #1a1d26 !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
    color: #9ca3af !important;
}

html[data-theme="light"] label {
    color: #6b7280 !important;
}

/* Popups */
html[data-theme="light"] #contact-popup>div {
    background: rgba(240, 242, 245, 0.98) !important;
}

html[data-theme="light"] #contact-popup {
    background: rgba(240, 242, 245, 0.85) !important;
}

html[data-theme="light"] #quote-popup>div {
    background: rgba(240, 242, 245, 0.98) !important;
}

html[data-theme="light"] #quote-popup {
    background: rgba(240, 242, 245, 0.85) !important;
}

html[data-theme="light"] #contact-popup h3,
html[data-theme="light"] #quote-popup h3 {
    color: #1a1d26 !important;
}

html[data-theme="light"] #contact-popup p,
html[data-theme="light"] #quote-popup p {
    color: #6b7280 !important;
}

/* Mobile Menu */
html[data-theme="light"] #mobile-menu {
    background: rgba(240, 242, 245, 0.98) !important;
}

html[data-theme="light"] .mobile-nav-link {
    color: #4b5563 !important;
}

html[data-theme="light"] .mobile-nav-link:hover {
    color: #c8a44e !important;
}

html[data-theme="light"] #mobile-menu .text-say-silver\/40 {
    color: #9ca3af !important;
}

/* Footer */
html[data-theme="light"] #site-footer {
    background: #e8eaef !important;
    color: #6b7280 !important;
}

html[data-theme="light"] #site-footer::before {
    background: linear-gradient(90deg, transparent, rgba(200, 164, 78, 0.15), transparent) !important;
}

/* Scrollbar */
html[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f0f2f5 !important;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #c8a44e, #ddd) !important;
}

/* Theme Toggle in Light Mode */
html[data-theme="light"] #theme-toggle {
    border-color: rgba(200, 164, 78, 0.25);
    background: rgba(200, 164, 78, 0.08);
    color: #c8a44e;
}

html[data-theme="light"] #theme-toggle:hover {
    border-color: rgba(200, 164, 78, 0.5);
    background: rgba(200, 164, 78, 0.15);
    color: #1a1d26;
}

html[data-theme="light"] #theme-toggle .icon-sun {
    display: block;
}

html[data-theme="light"] #theme-toggle .icon-moon {
    display: none;
}

/* Google Maps lighter filter in light mode */
html[data-theme="light"] #google-map {
    filter: grayscale(0.3) contrast(1) brightness(1) !important;
}

html[data-theme="light"] #google-map:hover {
    filter: grayscale(0) contrast(1) brightness(1) !important;
}

/* Progress dots & fill */
html[data-theme="light"] .progress-dot {
    background-color: rgba(200, 164, 78, 0.2) !important;
}

html[data-theme="light"] .progress-dot.active {
    background-color: #c8a44e !important;
}

/* Selection */
html[data-theme="light"] ::selection {
    background-color: rgba(200, 164, 78, 0.2) !important;
    color: #1a1d26 !important;
}

/* Mobile menu button */
html[data-theme="light"] #mobile-menu-btn {
    color: #4b5563 !important;
}

html[data-theme="light"] #mobile-menu-btn:hover {
    color: #c8a44e !important;
}

/* Language link */
html[data-theme="light"] a[href="/en"],
html[data-theme="light"] a[href="/"] {
    border-color: rgba(200, 164, 78, 0.25) !important;
    background: rgba(200, 164, 78, 0.08) !important;
}

/* ─── Sector & KVKK Detail Modals ─────────────────────────────── */
.sector-detail-modal,
#kvkk-popup {
    transition: opacity 0.5s ease, visibility 0.5s ease;
    visibility: hidden;
}

.sector-detail-modal.active,
#kvkk-popup.active {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
}

.sector-detail-modal .relative,
#kvkk-popup .relative {
    transform: scale(0.95) translateY(15px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-detail-modal.active .relative,
#kvkk-popup.active .relative {
    transform: scale(1) translateY(0);
}

/* Light Theme tweaks for KVKK and Sector Modals */
html[data-theme="light"] .sector-detail-modal>div,
html[data-theme="light"] #kvkk-popup>div {
    background: rgba(240, 242, 245, 0.98) !important;
    border-color: rgba(200, 164, 78, 0.2) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

html[data-theme="light"] .sector-detail-modal h3,
html[data-theme="light"] #kvkk-popup h3 {
    color: #1a1d26 !important;
}

html[data-theme="light"] .sector-detail-modal h4 {
    color: #374151 !important;
}

html[data-theme="light"] .sector-detail-modal p,
html[data-theme="light"] .sector-detail-modal li,
html[data-theme="light"] #kvkk-popup p,
html[data-theme="light"] #kvkk-popup li {
    color: #4b5563 !important;
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
#site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(27, 36, 56, 0.5);
}

/* Light theme footer */
html[data-theme="light"] #site-footer {
    background: #f0f2f5 !important;
    border-top-color: rgba(200, 164, 78, 0.1) !important;
}

html[data-theme="light"] #site-footer p,
html[data-theme="light"] #site-footer li,
html[data-theme="light"] #site-footer a:not([aria-label]) {
    color: #6b7280 !important;
}

html[data-theme="light"] #site-footer a:hover {
    color: #c8a44e !important;
}

html[data-theme="light"] #site-footer h4 {
    color: #1f2937 !important;
}

html[data-theme="light"] #site-footer button {
    color: #6b7280 !important;
}

html[data-theme="light"] #site-footer button:hover {
    color: #c8a44e !important;
}

html[data-theme="light"] #site-footer .flex.gap-3 a {
    background: rgba(200, 164, 78, 0.08) !important;
    border-color: rgba(200, 164, 78, 0.15) !important;
    color: #6b7280 !important;
}

html[data-theme="light"] #site-footer .flex.gap-3 a:hover {
    color: #c8a44e !important;
    border-color: rgba(200, 164, 78, 0.4) !important;
}

/* ─── PRIVACY POPUP ────────────────────────────────────────────── */
#privacy-popup>div {
    transform: scale(0.95) translateY(15px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

#privacy-popup.active>div {
    transform: scale(1) translateY(0);
}

/* Light theme privacy popup */
html[data-theme="light"] #privacy-popup>div {
    background: rgba(240, 242, 245, 0.98) !important;
    border-color: rgba(200, 164, 78, 0.2) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

html[data-theme="light"] #privacy-popup h3 {
    color: #1a1d26 !important;
}

html[data-theme="light"] #privacy-popup h4 {
    color: #374151 !important;
}

html[data-theme="light"] #privacy-popup p,
html[data-theme="light"] #privacy-popup li {
    color: #4b5563 !important;
}

/* ─── COOKIE BANNER ────────────────────────────────────────────── */
html[data-theme="light"] #cookie-banner {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(200, 164, 78, 0.15) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] #cookie-banner h4 {
    color: #1a1d26 !important;
}

html[data-theme="light"] #cookie-banner p {
    color: #4b5563 !important;
}

/* ─── BACK TO TOP ──────────────────────────────────────────────── */
#back-to-top.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

html[data-theme="light"] #back-to-top {
    background: rgba(200, 164, 78, 0.12) !important;
    border-color: rgba(200, 164, 78, 0.25) !important;
}

html[data-theme="light"] #back-to-top:hover {
    background: rgba(200, 164, 78, 0.2) !important;
}

/* ─── MOBILE PROGRESS BAR ─────────────────────────────────────── */
#mobile-progress-bar {
    background: transparent;
}

/* ─── TIMELINE ─────────────────────────────────────────────────── */
.timeline-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Light theme timeline + values */
html[data-theme="light"] .timeline-item>div:last-child {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(200, 164, 78, 0.15) !important;
}

html[data-theme="light"] .timeline-item h4 {
    color: #1f2937 !important;
}

html[data-theme="light"] .timeline-item p {
    color: #6b7280 !important;
}

html[data-theme="light"] #vision-mission>div {
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(200, 164, 78, 0.12) !important;
}

html[data-theme="light"] #vision-mission h3 {
    color: #1f2937 !important;
}

html[data-theme="light"] #vision-mission p {
    color: #6b7280 !important;
}

html[data-theme="light"] .value-card {
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(200, 164, 78, 0.12) !important;
}

html[data-theme="light"] .value-card h4 {
    color: #1f2937 !important;
}

html[data-theme="light"] .value-card p {
    color: #6b7280 !important;
}