/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: #1a0a2e; color: #fff; overflow-x: hidden; }
.font-cormorant { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-outfit { font-family: 'Outfit', sans-serif; }
img { display: block; max-width: 100%; }

/* ─── Navigation ─── */
#nav { background: transparent; }
#nav.scrolled {
    background: rgba(26, 10, 46, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fbbf24;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #fbbf24 !important; }

/* ─── Mobile Menu ─── */
#mobileMenu.open { opacity: 1 !important; pointer-events: all !important; }
#mobileMenu.closed { opacity: 0 !important; pointer-events: none !important; }
.mobile-link { opacity: 0; transform: translateY(20px); transition: all 0.4s ease; }
#mobileMenu.open .mobile-link { opacity: 1; transform: translateY(0); }
#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(6) { transition-delay: 0.3s; }

.menu-line { transition: all 0.3s ease; }
#menuBtn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; }
#menuBtn.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); width: 20px; }

/* ─── Hero ─── */
#hero { position: relative; }
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(107, 33, 168, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #1a0a2e 0%, #231040 50%, #1a0a2e 100%);
}
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(26,10,46,0.6) 100%);
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    top: 20%;
    right: 35%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251,191,36,0.04) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 6s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero-left { opacity: 0; transform: translateY(40px); animation: fadeUp 1s ease forwards 0.3s; }
.hero-right { opacity: 0; transform: translateY(40px); animation: fadeUp 1s ease forwards 0.6s; }
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #1a0a2e;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(251,191,36,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(251,191,36,0.35);
    color: #1a0a2e;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { flex-shrink: 0; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 60px;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    border-color: rgba(251,191,36,0.5);
    color: #fbbf24;
    background: rgba(251,191,36,0.05);
}

/* ─── Sections ─── */
section { position: relative; }

.about-dots {
    background-image: radial-gradient(rgba(251,191,36,0.5) 1px, transparent 1px);
    background-size: 24px 24px;
}
.visit-dots {
    background-image: radial-gradient(rgba(251,191,36,0.5) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ─── Collection Cards ─── */
.collection-line { background: linear-gradient(to bottom, transparent, rgba(251,191,36,0.1), transparent); }
.collection-card {
    border-radius: 16px;
    padding: 6px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}
.collection-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(251,191,36,0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ─── Experience Strip ─── */
.experience-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(107,33,168,0.25) 0%, transparent 70%),
        linear-gradient(180deg, #1a0a2e 0%, #1e0d35 50%, #1a0a2e 100%);
}
.experience-item {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.experience-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(251,191,36,0.15);
    transform: translateY(-2px);
}

/* ─── Form ─── */
.form-group { position: relative; }
.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus {
    border-color: rgba(251,191,36,0.4);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(251,191,36,0.08);
}
.form-input.error {
    border-color: rgba(239,68,68,0.5);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}
.form-group .error-msg {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 6px;
    font-family: 'Outfit', sans-serif;
}
.form-group.has-error .error-msg { display: block; }

/* ─── Footer ─── */
.footer-line { background: linear-gradient(90deg, transparent, rgba(251,191,36,0.15), transparent); }

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .hero-left h1 { font-size: 2.5rem; }
    .hero-right { margin-top: 3rem; }
    .about-left { order: 2 !important; }
    .about-right { order: 1 !important; }
    .visit-left { order: 1 !important; }
    .visit-right { order: 2 !important; margin-top: 2rem; }
    .collection-card { padding: 4px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-left h1 { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
    .hero-left h1 { font-size: 4rem; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
