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

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

body {
    min-height: 100vh;
}

::selection {
    background: rgba(245, 197, 24, 0.3);
    color: #fff;
}

/* ===== HERO BACKGROUND PATTERN ===== */
.hero-bg-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(245, 197, 24, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(184, 52, 104, 0.1) 0%, transparent 50%);
}

/* ===== VISIT SECTION PATTERN ===== */
.visit-bg-pattern {
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.02) 40px,
            rgba(255, 255, 255, 0.02) 80px
        );
}

/* ===== CTA PATTERN ===== */
.cta-pattern {
    background-image:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 30px,
            rgba(74, 25, 66, 0.3) 30px,
            rgba(74, 25, 66, 0.3) 31px
        );
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(26, 9, 22, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link, .mobile-link {
    position: relative;
}

/* ===== HERO ANIMATIONS ===== */
.hero-element {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.8s ease forwards;
}

.hero-element:nth-child(1) { animation-delay: 0.1s; }
.hero-element:nth-child(2) { animation-delay: 0.25s; }
.hero-element:nth-child(3) { animation-delay: 0.4s; }
.hero-element:nth-child(4) { animation-delay: 0.55s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-shape {
    opacity: 0;
    animation: shapeFloat 1.2s ease forwards;
}

.shape-circle-1 { animation-delay: 0.6s; }
.shape-circle-2 { animation-delay: 0.8s; }
.shape-square-1 { animation-delay: 1s; }
.shape-square-2 { animation-delay: 1.1s; }
.shape-triangle { animation-delay: 1.2s; }

@keyframes shapeFloat {
    to { opacity: 1; }
}

/* ===== SECTION HEADERS ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title,
.section-title-about,
.section-title-visit,
.section-title-contact {
    line-height: 1.1;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    will-change: transform;
}

/* ===== SCROLL REVEAL (below-fold only) ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion: ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-element, .hero-shape {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ===== MOBILE MENU ===== */
#mobileMenu.open {
    display: block;
    animation: slideDown 0.3s ease;
}

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

/* Active menu line animation */
#menuToggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
#menuToggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}
#menuToggle[aria-expanded="true"] .menu-line:nth-child(3) {
    width: 1.25rem;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .hero-element {
        animation-duration: 0.6s;
    }
}
