/* ============================================
   STARRY ROOFTOP WEDDING — Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Night sky palette */
    --bg-deep: #151e32;
    --bg-mid: #1e293b;
    --bg-surface: #26334d;

    /* Gold accents */
    --gold: #d4af37;
    --gold-light: #e8d5a3;
    --gold-dark: #b8941f;
    --gold-glow: rgba(212, 175, 55, 0.15);

    /* Text */
    --text-primary: #f0ece2;
    --text-secondary: #f0ece2;
    --text-muted: #c5bfb0;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(212, 175, 55, 0.15);
    --glass-hover: rgba(255, 255, 255, 0.07);

    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.1);

    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease-out);
}

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

a,
button,
input,
select,
textarea {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* --- Starfield Canvas (behind everything) --- */
#starfield-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}



/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

/* --- Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

/* --- Header --- */
.site-header {
    background: rgba(21, 30, 50, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(21, 30, 50, 0.95);
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--gold) !important;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold);
}

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

/* --- Hero Section (for non-envelope pages) --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Shimmer effect on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-deep);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.2);
    color: var(--bg-deep);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    color: var(--gold-light);
}

/* --- Sections --- */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '✦';
    display: block;
    font-family: sans-serif;
    font-size: 1rem;
    color: var(--gold);
    margin-top: 1rem;
    opacity: 0.6;
}

/* --- Glass Cards --- */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    pointer-events: none;
    z-index: 0;
}

.card:hover {
    background: var(--glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.25);
}

.card h3 {
    font-family: 'Great Vibes', cursive;
    color: var(--gold-light);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-label.required::after {
    content: ' *';
    color: var(--gold);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(255, 255, 255, 0.07);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    appearance: none;
    cursor: pointer;
    color: var(--text-primary);
}

.form-select option {
    background-color: var(--bg-deep);
    color: var(--text-primary);
}

.form-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.radio-option {
    flex: 1;
    min-width: 140px;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.radio-option input[type="radio"]:checked+label {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-light);
    box-shadow: var(--shadow-gold);
}

.radio-option label:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* --- Messages / Alerts --- */
.messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: rgba(39, 174, 96, 0.15);
    color: #6ee7a0;
    border-left: 3px solid #27ae60;
}

.alert-error {
    background: rgba(231, 76, 60, 0.15);
    color: #f5a0a0;
    border-left: 3px solid #e74c3c;
}

/* --- Footer --- */
.site-footer {
    background: rgba(21, 30, 50, 0.9);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* --- Utility Animations --- */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Star twinkle animation for decorative elements */
@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* --- Countdown Timer --- */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.countdown-unit {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 12px;
    padding: 1.5rem 1.2rem;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.countdown-number {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--gold-light);
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.countdown-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

@media (max-width: 500px) {
    .countdown {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .countdown-unit {
        min-width: unset;
        padding: 1rem 0.8rem;
    }
}

/* --- Section Subtitle --- */
.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* --- Section Dividers --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.divider-line {
    width: clamp(40px, 8vw, 80px);
    height: 1px;
    background: rgba(212, 175, 55, 0.25);
}

.divider-star {
    color: rgba(212, 175, 55, 0.4);
    font-size: 0.75rem;
}

/* --- Scroll Hint --- */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    z-index: 5;
    transition: color 0.3s;
}

.scroll-hint:hover {
    color: rgba(255, 255, 255, 0.9);
}

.scroll-hint span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-hint svg {
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* --- Desktop Timeline --- */
.timeline-desktop {
    display: none;
    position: relative;
    margin-top: 2.5rem;
}

.timeline-track {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
}

.timeline-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-time {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    background: var(--midnight);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    letter-spacing: 0.5px;
}

.timeline-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
    z-index: 2;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.timeline-item:hover .timeline-dot,
.timeline-mobile-item:hover .timeline-dot {
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.timeline-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.timeline-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding: 0 0.3rem;
}

@media (min-width: 769px) {
    .timeline-desktop {
        display: block;
    }

    .timeline-mobile {
        display: none;
    }
}

/* --- Mobile Timeline --- */
.timeline-mobile {
    position: relative;
    margin-top: 2rem;
}

.timeline-mobile-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(212, 175, 55, 0.2);
}

.timeline-mobile-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.timeline-mobile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.timeline-mobile-item .timeline-dot {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-bottom: 0.3rem;
}

.timeline-mobile-content {
    text-align: center;
}

.timeline-mobile-content .timeline-time {
    display: inline-block;
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
}

.timeline-mobile-content .timeline-title {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.timeline-mobile-content .timeline-desc {
    font-size: 0.8rem;
}

@media (min-width: 769px) {
    .timeline-mobile {
        display: none;
    }
}

/* --- Venue Links --- */
.venue-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.venue-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

.venue-link svg {
    opacity: 0.6;
    transition: opacity 0.3s;
}

.venue-link:hover svg {
    opacity: 1;
}

/* --- Scroll Reveal Animation --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the timeline items */
.scroll-reveal:nth-child(1) {
    transition-delay: 0s;
}

.scroll-reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.scroll-reveal:nth-child(3) {
    transition-delay: 0.24s;
}

.scroll-reveal:nth-child(4) {
    transition-delay: 0.36s;
}

.scroll-reveal:nth-child(5) {
    transition-delay: 0.48s;
}

/* ============================================
   CINEMATIC HERO SECTION
   ============================================ */

.hero-cinematic {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-deep);
    /* Fallback */
    z-index: 10;
}

/* Background image & overlay */
.hero-bg-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-media img,
.hero-bg-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    /* Focus on the upper half normally */
}

.hero-mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(21, 30, 50, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.hero-mute-btn:hover {
    background: rgba(21, 30, 50, 0.8);
    transform: scale(1.05);
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.4);
}

.hero-mute-btn svg {
    width: 20px;
    height: 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* Dark overlay */
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 6rem 1.5rem 2rem 1.5rem;
}

/* Typography Layer */
.hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10vh;
    /* Push upper section a bit down */
}

.hero-pre-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.hero-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    line-height: 0.9;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

.hero-name-large {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: clamp(5rem, 15vw, 12rem);
    color: var(--gold-light);
    display: block;
}

.hero-ampersand {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-primary);
    display: block;
    font-style: italic;
    margin: 1.5rem 0;
}

/* Pushes the date container to the bottom */
.hero-spacer {
    flex: 1;
}

/* Date Layer */
.hero-date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
}

.hero-date-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    width: clamp(3rem, 10vw, 6rem);
}

.hero-star {
    font-size: 1.25rem;
    color: var(--text-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-date-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--text-primary);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

/* Action Button */
.hero-scroll-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    cursor: pointer;
    padding-bottom: 2.5rem;
    transition: var(--transition);
}

.hero-scroll-btn:hover {
    color: var(--gold-light);
}

.hero-scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Let the chevron gently float up and down */
@keyframes bounce-chevron {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.hero-scroll-icon-wrapper {
    animation: bounce-chevron 2.5s infinite ease-in-out;
}

.hero-scroll-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* ============================================
   FADING SLIDESHOW
   ============================================ */

.fading-slideshow {
    position: relative;
    max-width: 400px;
    /* Looks good centrally on desktop and scales down on mobile */
    margin: 2rem auto;
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    background-color: var(--glass-bg);
}

.fade-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: crossFade 15s infinite ease-in-out;
}

.fade-slide:nth-child(1) {
    animation-delay: 0s;
}

.fade-slide:nth-child(2) {
    animation-delay: 5s;
}

.fade-slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes crossFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    15% {
        opacity: 1;
        transform: scale(1.02);
    }

    33% {
        opacity: 1;
        transform: scale(1.04);
    }

    48% {
        opacity: 0;
        transform: scale(1.06);
    }

    100% {
        opacity: 0;
        transform: scale(1.06);
    }
}