/* ===== CSS Custom Properties ===== */
:root {
    --navy-800: #1a2744;
    --navy-900: #0f1a2e;
    --gold-400: #f0c040;
    --gold-500: #e6a817;
    --gold-600: #d4940f;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--navy-900);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: var(--gold-400);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--gold-500);
    border-radius: 50%;
    bottom: 10%;
    left: -80px;
    animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--gold-400);
    top: 30%;
    right: 5%;
    opacity: 0.04;
    animation: rotateShape 25s linear infinite;
    transform-origin: center;
}

.shape-diamond {
    width: 100px;
    height: 100px;
    background: var(--gold-500);
    top: 60%;
    left: 8%;
    opacity: 0.05;
    transform: rotate(45deg);
    animation: floatShape 18s ease-in-out infinite;
}

.shape-rect {
    width: 200px;
    height: 80px;
    background: var(--gold-400);
    bottom: 20%;
    right: 10%;
    opacity: 0.03;
    transform: rotate(-15deg);
    animation: rotateShape 30s linear infinite;
    transform-origin: center;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

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

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(15, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0;
}

#navbar.scrolled .max-w-7xl {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* ===== Menu Cards ===== */
.menu-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.menu-card:hover {
    box-shadow: 0 20px 60px rgba(230, 168, 23, 0.1);
}

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 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; }

/* ===== Section Dividers ===== */
.section-divider {
    position: relative;
    overflow: hidden;
}

/* ===== Buttons ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* ===== Input Focus ===== */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(230, 168, 23, 0.1);
}

/* ===== Utility ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }
    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }
    .shape-triangle {
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
        border-bottom: 100px solid var(--gold-400);
    }
    .shape-diamond {
        width: 50px;
        height: 50px;
    }
    .shape-rect {
        width: 100px;
        height: 40px;
    }
}
