*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Hero Gradient ─── */
.hero-gradient {
    background: linear-gradient(160deg, #3d1f33 0%, #6B3A5D 35%, #8e4588 60%, #c48a2e 85%, #D4A054 100%);
}

/* ─── Hero Subtle Pattern ─── */
.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 160, 84, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 58, 93, 0.1) 0%, transparent 50%);
}

/* ─── Hero Dots ─── */
.hero-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ─── Visit Section Pattern ─── */
.visit-pattern {
    background-image:
        radial-gradient(circle at 30% 20%, rgba(212, 160, 84, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* ─── Mobile Menu ─── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

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

.mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 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; }

/* ─── Menu Toggle Animation ─── */
.menu-line {
    display: block;
    width: 16px;
    height: 1.5px;
    background-color: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* ─── Focus Styles ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #D4A054;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Selection ─── */
::selection {
    background: rgba(107, 58, 93, 0.15);
    color: #3d1f33;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f5f0f7;
}

::-webkit-scrollbar-thumb {
    background: #d9bdd9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c08fbf;
}

/* ─── Form Focus Transitions ─── */
input:focus,
textarea:focus {
    border-color: #6B3A5D !important;
}

/* ─── Image Loading ─── */
img {
    display: block;
    max-width: 100%;
}
