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

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #030910;
    color: #ffffff;
    overflow-x: hidden;
}

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

/* ========== NAVBAR ========== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2DD4BF;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #2DD4BF;
}

/* Navbar scrolled state */
.navbar-scrolled {
    background: rgba(3, 9, 16, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    position: relative;
}

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

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%);
    color: #0A1F3F;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 212, 191, 0.45);
    background: linear-gradient(135deg, #5EEAD4 0%, #2DD4BF 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: #2DD4BF;
    color: #2DD4BF;
    transform: translateY(-2px);
}

/* ========== SECTION LABELS ========== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2DD4BF;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
}

/* ========== HERO GEOMETRIC SHAPES ========== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: #2DD4BF;
    top: -200px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: #F59E0B;
    bottom: -50px;
    left: -80px;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-diamond {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #2DD4BF;
    opacity: 0.06;
    transform: rotate(45deg);
}

.geo-diamond-1 {
    top: 25%;
    left: 8%;
    animation: spin 12s linear infinite;
}

.geo-diamond-2 {
    width: 50px;
    height: 50px;
    background: #F59E0B;
    top: 60%;
    right: 10%;
    animation: spin 8s linear infinite reverse;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(45, 212, 191, 0.06);
}

.geo-triangle-1 {
    top: 30%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
}

.geo-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(45, 212, 191, 0.08);
}

.geo-ring-1 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation: float 10s ease-in-out infinite;
}

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

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

/* ========== MENU CARDS ========== */
.menu-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.menu-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(45, 212, 191, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ========== GALLERY ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .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; }
}

/* ========== FOCUS STYLES ========== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2DD4BF;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========== MOBILE MENU ANIMATION ========== */
.menu-line {
    transition: all 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

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

    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }

    .geo-diamond {
        display: none;
    }

    .geo-triangle {
        display: none;
    }

    .geo-ring {
        display: none;
    }
}
