/* ===== 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: 'Outfit', sans-serif;
    background-color: #FFF8F5;
    color: #3f0710;
    overflow-x: hidden;
}

::selection {
    background-color: #a51630;
    color: #fff8f5;
}

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

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

#navbar.scrolled {
    background: rgba(255, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(165, 22, 48, 0.08);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    z-index: 50;
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

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

/* ===== HAMBURGER ===== */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

#menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.25rem;
}

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

.shape-burgundy-circle {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(165, 22, 48, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.shape-blush-rect {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 115, 74, 0.12) 0%, rgba(255, 159, 126, 0.06) 100%);
    border-radius: 30px;
    transform: rotate(15deg);
}

.shape-cream-circle {
    width: 200px;
    height: 200px;
    background: rgba(255, 248, 245, 0.6);
    border-radius: 50%;
}

.shape-burgundy-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 200px 200px;
    border-color: transparent transparent rgba(165, 22, 48, 0.05) transparent;
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* ===== MENU CARDS ===== */
.menu-card {
    will-change: transform;
}

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

/* ===== 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; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .font-playfair {
        line-height: 1.1;
    }
}
