/* ============================================
   Hanna & Ragnar Duo — Stylesheet
   Warm, elegant, immersive
   ============================================ */

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

:root {
    --bg-deep: #0c0a0e;
    --bg-dark: #120f16;
    --bg-card: #1a1520;
    --bg-card-hover: #221c2a;
    --accent: #c4364a;
    --accent-light: #e04860;
    --accent-dim: #8a2535;
    --gold: #d4a853;
    --gold-light: #e8c878;
    --text: #ede8f0;
    --text-dim: #a098a8;
    --text-muted: #605870;
    --white: #fff;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg-deep); color: var(--text); overflow-x: hidden; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Cursor */
.cursor-glow {
    position: fixed; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 54, 74, 0.05) 0%, transparent 70%);
    pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); will-change: transform;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: all 0.4s var(--ease-out); }
.nav.scrolled { background: rgba(12, 10, 14, 0.92); backdrop-filter: blur(20px); padding: 12px 0; border-bottom: 1px solid rgba(196, 54, 74, 0.1); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }
.nav-logo-amp { color: var(--accent); font-style: italic; margin: 0 4px; }
.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links a { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--accent-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s var(--ease-out); transform-origin: center; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: brightness(0.55) saturate(0.85); transform: scale(1.05); }
.hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    background: radial-gradient(ellipse at center, rgba(12,10,14,0.15) 0%, rgba(12,10,14,0.75) 80%), linear-gradient(to bottom, transparent 50%, var(--bg-deep) 100%);
}
.hero-content { position: relative; z-index: 3; text-align: center; padding: 0 24px; }
.hero-badge {
    display: inline-block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-light);
    border: 1px solid rgba(196, 54, 74, 0.3); padding: 8px 24px; border-radius: 50px; margin-bottom: 32px;
    opacity: 0;
}
.hero-title { font-family: var(--font-display); line-height: 0.95; margin-bottom: 24px; }
.hero-title-line {
    display: block; font-size: clamp(3.5rem, 10vw, 8rem); font-weight: 700; color: var(--white);
    letter-spacing: 0.02em; opacity: 0; transform: translateY(60px);
}
.hero-title-amp { color: var(--accent); font-style: italic; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; }
.hero-tagline {
    font-family: var(--font-body); font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 300;
    color: var(--text-dim); letter-spacing: 0.15em; margin-bottom: 48px; opacity: 0;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; opacity: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 0.85rem;
    font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px 36px;
    border-radius: 50px; border: none; cursor: pointer; transition: all 0.4s var(--ease-out); position: relative; overflow: hidden;
}
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(196, 54, 74, 0.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-light); transform: translateY(-2px); }
.btn-submit { width: 100%; justify-content: center; font-size: 0.9rem; padding: 18px 36px; }
.btn-submit svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn-submit:hover svg { transform: translateX(4px); }

/* Sections */
.section { padding: 120px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
    display: inline-block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 16px;
}
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--white); line-height: 1.2; }
.section-title em { color: var(--accent-light); font-style: italic; }

/* About */
.section-about { background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%); }
.about-intro { max-width: 700px; margin: 0 auto 64px; text-align: center; }
.about-lead { font-size: 1.15rem; line-height: 1.8; color: var(--text-dim); }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.about-card {
    background: var(--bg-card); border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transition: all 0.5s var(--ease-out);
}
.about-card:hover { border-color: rgba(196, 54, 74, 0.2); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.about-card-image { aspect-ratio: 4/3; overflow: hidden; }
.about-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 0.7s var(--ease-out); filter: saturate(0.85); }
.about-card:hover .about-card-image img { transform: scale(1.05); filter: saturate(1); }
.about-card-content { padding: 32px; }
.about-card-content h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.about-card-role { display: inline-block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 16px; }
.about-card-content p { font-size: 0.95rem; line-height: 1.7; color: var(--text-dim); }

/* Music & Video */
.section-music { background: var(--bg-deep); }
.video-featured { max-width: 900px; margin: 0 auto 48px; background: var(--bg-card); border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: all 0.5s var(--ease-out); }
.video-featured:hover { border-color: rgba(196, 54, 74, 0.2); box-shadow: 0 20px 80px rgba(196, 54, 74, 0.06); transform: translateY(-4px); }
.video-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; background: var(--bg-dark); cursor: pointer; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), filter 0.6s; }
.video-wrapper:hover .video-thumb { transform: scale(1.05); filter: brightness(0.7); }
.video-play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.25); z-index: 2; transition: background 0.4s; }
.video-wrapper:hover .video-play-overlay { background: rgba(0,0,0,0.1); }
.video-play-circle { width: 72px; height: 72px; border-radius: 50%; background: rgba(196, 54, 74, 0.85); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--ease-out); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.video-play-circle svg { width: 26px; height: 26px; color: var(--white); margin-left: 3px; }
.video-wrapper:hover .video-play-circle { transform: scale(1.12); background: var(--accent); box-shadow: 0 12px 48px rgba(196, 54, 74, 0.4); }
.video-wrapper.playing .video-thumb, .video-wrapper.playing .video-play-overlay { display: none; }
.video-featured-info { padding: 28px 32px; }
.video-label { display: inline-block; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 8px; }
.video-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.video-desc { font-size: 0.95rem; line-height: 1.6; color: var(--text-dim); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.video-card { background: var(--bg-card); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: all 0.5s var(--ease-out); }
.video-card:hover { border-color: rgba(196, 54, 74, 0.2); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.video-card-info { padding: 20px 24px; }
.video-card-info h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--white); }

/* Repertoire */
.section-repertoire { background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%); position: relative; overflow: hidden; }
.repertoire-bg { position: absolute; top: 0; left: -80px; width: 400px; height: 100%; opacity: 0.04; pointer-events: none; mask-image: linear-gradient(to right, black 30%, transparent 100%); -webkit-mask-image: linear-gradient(to right, black 30%, transparent 100%); }
.repertoire-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(60%); }
.repertoire-info { max-width: 500px; margin: 0 auto 48px; }
.repertoire-format { display: flex; align-items: center; gap: 20px; background: var(--bg-card); border-radius: 16px; padding: 24px 32px; border: 1px solid rgba(196, 54, 74, 0.15); }
.repertoire-format-icon svg { width: 40px; height: 40px; color: var(--accent-light); }
.repertoire-format h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); margin-bottom: 4px; }
.repertoire-format p { font-size: 0.9rem; color: var(--text-dim); }
.repertoire-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.repertoire-card { background: var(--bg-card); border-radius: 20px; padding: 32px 24px; text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: all 0.5s var(--ease-out); }
.repertoire-card:hover { border-color: rgba(196, 54, 74, 0.2); transform: translateY(-4px); background: var(--bg-card-hover); }
.repertoire-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.repertoire-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.repertoire-card p { font-size: 0.85rem; line-height: 1.6; color: var(--text-dim); }

/* Gallery */
.section-gallery { background: var(--bg-deep); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 1; border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform 0.5s var(--ease-out); }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item-wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 16px; transition: transform 0.6s var(--ease-out), filter 0.4s; filter: saturate(0.8) brightness(0.9); }
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }

/* Booking */
.section-booking { background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%); position: relative; overflow: hidden; }
.booking-bg { position: absolute; top: 0; right: -100px; width: 450px; height: 100%; opacity: 0.04; pointer-events: none; mask-image: linear-gradient(to left, black 20%, transparent 100%); -webkit-mask-image: linear-gradient(to left, black 20%, transparent 100%); }
.booking-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(50%); }
.booking-centered { max-width: 700px; margin: 0 auto; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.booking-types { display: flex; flex-direction: column; gap: 24px; }
.booking-type { display: flex; align-items: flex-start; gap: 20px; background: var(--bg-card); border-radius: 16px; padding: 24px; border: 1px solid rgba(255,255,255,0.05); transition: all 0.4s var(--ease-out); }
.booking-type:hover { border-color: rgba(196, 54, 74, 0.15); transform: translateX(4px); }
.booking-type-icon { font-size: 2rem; flex-shrink: 0; }
.booking-type h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.booking-type p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }

/* Form */
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { position: relative; }
.form-group-full { grid-column: span 2; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
    padding: 18px 16px 8px; font-family: var(--font-body); font-size: 0.95rem; color: var(--text); transition: all 0.3s; outline: none;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; appearance: none; padding: 14px 16px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196, 54, 74, 0.1); }
.form-group label { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); font-size: 0.9rem; color: var(--text-muted); pointer-events: none; transition: all 0.3s; }
.form-group textarea ~ label { top: 18px; transform: none; }
.form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label { top: 8px; transform: none; font-size: 0.7rem; color: var(--accent-light); letter-spacing: 0.05em; }

/* Footer */
.footer { position: relative; padding: 80px 0 32px; background: var(--bg-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer-logo span { color: var(--accent); font-style: italic; }
.footer-tagline { font-size: 0.95rem; color: var(--text-dim); }
.footer-contact h3, .footer-social h3 { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-link { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.9rem; transition: color 0.3s; }
.footer-link:hover { color: var(--accent-light); }
.footer-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.social-link:hover { border-color: var(--accent); background: rgba(196, 54, 74, 0.1); transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; color: var(--text-dim); transition: color 0.3s; }
.social-link:hover svg { color: var(--accent-light); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; font-size: 0.8rem; color: var(--text-muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.95); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; }
.lightbox-close:hover { color: var(--accent); }
.lightbox-img { max-width: 90%; max-height: 90vh; border-radius: 8px; }

/* Responsive */
@media (max-width: 1024px) {
    .repertoire-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(12,10,14,0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 100px 40px; gap: 24px; transition: right 0.4s var(--ease-out); }
    .nav-links.active { right: 0; }
    .nav-toggle { display: flex; }
    .section { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item-wide { grid-column: span 2; }
    .repertoire-grid, .video-grid { grid-template-columns: 1fr; }
    .booking-form { grid-template-columns: 1fr; }
    .form-group-full { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .cursor-glow { display: none; }
    .hero-cta { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item-wide { grid-column: span 1; aspect-ratio: 16/9; }
}
