/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #ffffff;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(45, 212, 191, 0.08);
    animation: float 20s ease-in-out infinite;
}

.geo-circle-2 {
    top: 40%;
    right: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.04);
    animation: float 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    bottom: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(45, 212, 191, 0.1);
    animation: float 12s ease-in-out infinite;
}

.geo-square-1 {
    top: 25%;
    left: 55%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(45, 212, 191, 0.12);
    transform: rotate(45deg);
    animation: spin 30s linear infinite;
}

.geo-square-2 {
    bottom: 25%;
    right: 25%;
    width: 50px;
    height: 50px;
    background: rgba(45, 212, 191, 0.06);
    transform: rotate(30deg);
    animation: spin 25s linear infinite reverse;
}

.geo-triangle {
    top: 60%;
    left: 15%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(45, 212, 191, 0.06);
    animation: float 18s ease-in-out infinite;
}

.geo-dots {
    top: 15%;
    left: 45%;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, rgba(45, 212, 191, 0.3) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== NAVBAR ===== */
#navbar {
    backdrop-filter: blur(0px);
    transition: backdrop-filter 0.5s ease, background 0.5s ease, padding 0.3s ease;
}

#navbar.scrolled {
    backdrop-filter: blur(20px);
    background: rgba(10, 17, 40, 0.85);
    padding-top: 0;
    padding-bottom: 0;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Menu button animation */
.menu-line {
    transform-origin: center;
}

body.menu-open .menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

body.menu-open .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.menu-open .menu-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    width: 24px;
}

/* ===== MARQUEE ===== */
.marquee-track {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== MENU CARDS ===== */
.menu-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.menu-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.menu-card:nth-child(1) { transition-delay: 0s; }
.menu-card:nth-child(2) { transition-delay: 0.1s; }
.menu-card:nth-child(3) { transition-delay: 0.2s; }
.menu-card:nth-child(4) { transition-delay: 0.3s; }
.menu-card:nth-child(5) { transition-delay: 0.4s; }
.menu-card:nth-child(6) { transition-delay: 0.5s; }

/* ===== GALLERY ===== */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ===== SECTION REVEALS ===== */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTONS ===== */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 191, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 212, 191, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .geo-square-1 {
        width: 50px;
        height: 50px;
    }
    
    .geo-triangle {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .menu-card,
    .gallery-item,
    .reveal-section {
        /* animations enabled */
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    .menu-card,
    .gallery-item,
    .reveal-section {
        opacity: 1;
        transform: none;
    }
}
