/* ===== Base & Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #d4a017;
    color: #0d1f3c;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

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

.geo-circle-2 {
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.04);
    animation: float 6s ease-in-out infinite reverse;
}

.geo-square-1 {
    top: 30%;
    left: 45%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(212, 160, 23, 0.1);
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.geo-square-2 {
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(212, 160, 23, 0.06);
    transform: rotate(30deg);
    animation: spin-slow 15s linear infinite reverse;
}

.geo-triangle-1 {
    bottom: 20%;
    right: 40%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(212, 160, 23, 0.05);
    animation: float 7s ease-in-out infinite;
}

.geo-circle-3 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 23, 0.06);
}

.geo-dots {
    top: 60%;
    right: 10%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(212, 160, 23, 0.3) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    opacity: 0.5;
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

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

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* ===== Menu Card Hover ===== */
.menu-card {
    will-change: transform;
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* ===== Navbar Scroll State ===== */
.navbar-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    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 Menu Transition ===== */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobileMenu.open {
    max-height: 500px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a4f7f;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }

    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
}
