/* ===== 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 {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0a1425;
    color: #ffffff;
    overflow-x: hidden;
}

::selection {
    background: #f2c53f;
    color: #0a1425;
}

/* ===== Navigation ===== */
.nav-scrolled {
    background: rgba(10, 20, 37, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.5);
}

#navbar {
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Mobile menu */
.nav-mobile {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* ===== Hero Geometric Shapes ===== */
.hero-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border: 2px solid rgba(242, 197, 63, 0.08);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    animation: floatSlow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(242, 197, 63, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: floatSlow 15s ease-in-out infinite reverse;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(242, 197, 63, 0.1);
    border-radius: 20px;
    top: 25%;
    left: 45%;
    transform: rotate(45deg);
    animation: floatSlow 12s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(242, 197, 63, 0.05);
    bottom: 20%;
    right: 10%;
    animation: floatSlow 18s ease-in-out infinite reverse;
}

.shape-dot-group {
    display: flex;
    gap: 12px;
    top: 40%;
    left: 8%;
}

.shape-dot-group span {
    width: 8px;
    height: 8px;
    background: rgba(242, 197, 63, 0.3);
    border-radius: 50%;
    animation: dotPulse 3s ease-in-out infinite;
}

.shape-dot-group span:nth-child(2) { animation-delay: 0.5s; }
.shape-dot-group span:nth-child(3) { animation-delay: 1s; }

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ===== Menu Cards ===== */
.menu-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        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);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== Mobile hamburger animation ===== */
#menuBtn.active .menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line-2 {
    opacity: 0;
}

#menuBtn.active .menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Utility ===== */
@media (prefers-reduced-motion: no-preference) {
    .menu-card {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .menu-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
