/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

img {
    display: block;
}

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

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(145deg, #3d0715 0%, #701731 30%, #a11538 55%, #c2234b 75%, #db4068 100%);
}

/* ── Hero Decorative Lines ── */
.hero-line {
    position: absolute;
    background: rgba(253, 242, 244, 0.04);
}

.hero-line-1 {
    width: 1px;
    height: 100%;
    left: 20%;
    top: 0;
}

.hero-line-2 {
    width: 1px;
    height: 100%;
    right: 25%;
    top: 0;
}

.hero-line-3 {
    width: 100%;
    height: 1px;
    top: 60%;
    left: 0;
}

/* ── Hero Animations ── */
.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

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

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

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

.hero-scroll {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 1.2s;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Navigation ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(161, 21, 56, 0.08);
}

.nav-logo {
    transition: color 0.3s ease;
}

.nav-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-menu-btn .line {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-menu-btn.active .line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 4px);
}

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

.nav-menu-btn.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -4px);
}

/* ── Mobile Menu ── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 252, 251, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    color: #3d0715;
    text-align: center;
    padding: 12px 0;
    transition: color 0.3s ease;
    opacity: 0;
    transform: translateY(12px);
}

.mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

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

.mobile-link:hover {
    color: #a11538;
}

/* ── Section Eyebrow ── */
.section-eyebrow {
    letter-spacing: 0.3em;
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(161, 21, 56, 0.15), transparent);
}

/* ── Scroll Reveal ── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    will-change: opacity, transform;
}

/* Progressive enhancement: animated only when JS runs and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: translate(0);
    }
    
    .reveal-img {
        transition: transform 0.6s ease;
    }
    
    .overflow-hidden:hover .reveal-img {
        transform: scale(1.02);
    }
    
    .gallery-img {
        transition: transform 0.6s ease;
    }
    
    .overflow-hidden:hover .gallery-img {
        transform: scale(1.03);
    }
}

/* ── Contact Button ── */
.contact-btn {
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

/* ── Focus Styles ── */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

input:focus,
textarea:focus {
    border-bottom-color: #a11538;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-line {
        display: none;
    }
    
    #about,
    #menu,
    #gallery,
    #visit,
    #contact {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .font-serif.text-4xl,
    .font-serif.text-5xl {
        font-size: 2.25rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-headline {
        font-size: 3rem;
    }
}
