/* ── 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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #722F37 0%, #9b3a4a 25%, #b5475a 50%, #c9606e 75%, #d4808a 100%);
}

/* ── Hero Subtle Pattern ── */
.hero-pattern {
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

/* ── CTA Pattern ── */
.cta-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

/* ── Navbar ── */
.nav-link {
    position: relative;
    color: rgba(114, 47, 55, 0.7);
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #722F37;
    transition: width 0.3s ease;
}
.nav-link:hover { color: #722F37; }
.nav-link:hover::after { width: 100%; }

.nav-logo-text {
    color: #722F37;
}

/* ── Navbar scroll state ── */
.navbar-scrolled .nav-link { color: rgba(114, 47, 55, 0.85); }
.navbar-scrolled .nav-logo-text { color: #722F37; }

/* ── Hero animations ── */
.hero-eyebrow {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-headline {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.7s;
}
.hero-ctas {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.9s;
}
.hero-scroll {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards 1.2s;
}
.hero-decoration {
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

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

/* ── Scroll line animation ── */
.hero-scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Collection Cards ── */
.collection-card {
    transition: transform 0.4s ease;
}
.collection-card:hover {
    transform: translateY(-4px);
}

/* ── Gallery Items ── */
.gallery-item {
    cursor: pointer;
}
.gallery-item img {
    will-change: transform;
}

/* ── Reveal animations (progressive enhancement) ── */
[data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile Menu ── */
.mobile-menu {
    opacity: 0;
    pointer-events: none;
}
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-link {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

/* ── Menu lines animation ── */
.menu-line {
    transition: all 0.3s ease;
}
#mobile-menu-btn.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
#mobile-menu-btn.open .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu-btn.open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Button hover glow ── */
.btn-hero-primary {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.btn-hero-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ── Form focus states ── */
input:focus, textarea:focus {
    border-bottom-color: #722F37 !important;
}

/* ── Selection color ── */
::selection {
    background: rgba(114, 47, 55, 0.15);
    color: #722F37;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f9f5f5; }
::-webkit-scrollbar-thumb { background: #d4a0a0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #722F37; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-headline { font-size: 2.5rem !important; }
    .hero-decoration { display: none; }
}
