/* ─── RESET & 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 {
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ─── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAF6F3;
}
::-webkit-scrollbar-thumb {
    background: #d4406030;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7B2D3B60;
}

/* ─── HERO ANIMATIONS ───────────────────────────────── */
.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-headline {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-sub {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── SCROLL LINE ───────────────────────────────────── */
.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(245, 230, 224, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line-inner {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 230, 224, 0.7);
    animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
    0%   { top: -100%; }
    100% { top: 100%; }
}

/* ─── REVEAL ANIMATIONS (progressive enhancement) ───── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 0;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-up {
        transform: translateY(32px);
    }

    .reveal-left {
        transform: translateX(-32px);
    }

    .reveal-right {
        transform: translateX(32px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Fallback: always visible if JS is disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ─── BUTTONS ───────────────────────────────────────── */
.btn-primary {
    background: #7B2D3B;
    color: #FAF6F3;
    border: 1px solid #7B2D3B;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #b52d48;
    border-color: #b52d48;
    transform: translateY(-1px);
}

.btn-secondary {
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* ─── NAVBAR ────────────────────────────────────────── */
#site-header {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
    background: rgba(250, 246, 243, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(60, 36, 21, 0.06);
}

.nav-link {
    position: relative;
}

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

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

/* ─── MOBILE MENU ───────────────────────────────────── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

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

.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateY(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(-5px) rotate(-45deg);
    width: 1.5rem;
}

.mobile-link {
    font-size: 1.5rem;
}

/* ─── EYEBROW ───────────────────────────────────────── */
.eyebrow {
    letter-spacing: 0.3em;
}

/* ─── MENU LIST ITEMS ───────────────────────────────── */
#menu ul li {
    border-bottom: 1px solid rgba(60, 36, 21, 0.06);
    padding-bottom: 1.25rem;
}

#menu ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ─── GALLERY ───────────────────────────────────────── */
#gallery .aspect-square {
    position: relative;
    overflow: hidden;
}

#gallery .aspect-square::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(123, 45, 59, 0);
    transition: background 0.4s ease;
    pointer-events: none;
}

#gallery .aspect-square:hover::after {
    background: rgba(123, 45, 59, 0.06);
}

/* ─── FORM ──────────────────────────────────────────── */
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #7B2D3B !important;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(60, 36, 21, 0.25);
}

/* ─── SELECTION ─────────────────────────────────────── */
::selection {
    background: rgba(123, 45, 59, 0.15);
    color: #3C2415;
}
