/* ===================================================================
   Design tokens — single source of truth
   =================================================================== */
:root {
    /* Brand palette (gold) */
    --primary: #b08d57;
    --primary-hover: #9a7846;
    --primary-light: #d9b382;
    --primary-dark: #2b2b2b;
    --accent: #b08d57;
    --accent-hover: #9a7846;
    /* Neutrals */
    --heading-color: #2b2b2b;
    --bg-light: #fafafa;
    --bg-white: #fff;
    --text-main: #222;
    --text-secondary: #444;
    --text-muted: #666;
    /* Effects */
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
    --shadow-hover: 0 6px 24px rgba(0,0,0,0.13);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.2s;
    /* Fonts */
    /* Fonts (system stacks — no external requests) */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-script: 'Segoe Script', 'Brush Script MT', cursive;
}

/* ===================================================================
   Base
   =================================================================== */
html, body {
    font-family: var(--font-main);
    background: var(--bg-light);
    color: var(--text-main);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-family: var(--font-main);
    font-weight: 700;
    margin-bottom: 1rem;
}

a, .about-link {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 600;
}

    a:hover, .about-link:hover {
        color: var(--accent-hover);
        text-decoration: underline;
    }

h1:focus {
    outline: none;
}

.content {
    padding-top: 1.1rem;
}

img {
    max-width: 100%;
}

/* ===================================================================
   Framework defaults (used by Blazor / EditForm validation — keep)
   =================================================================== */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2IDY2LjAxODMsIDI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA4MSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* ===================================================================
   Buttons — unified, identical style for ALL buttons/CTAs
   =================================================================== */

/* Shared base: shape, sizing, weight, transitions */
.btn,
.btn-primary,
.btn-brand-lg,
.cta-btn,
.cta-btn-primary,
.cta-btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition),
                border-color var(--transition), box-shadow var(--transition),
                transform 0.15s ease;
}

/* Shared hover lift */
.btn:hover,
.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

/* PRIMARY (filled brand gold) */
.btn-primary,
.btn-brand-lg,
.cta-btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
    .btn-brand-lg:hover,
    .cta-btn-primary:hover {
        background: var(--primary-hover);
        border-color: var(--primary-hover);
        color: #fff;
    }

/* SECONDARY (neutral) */
.btn-secondary,
.btn-outline-secondary,
.cta-btn-secondary {
    background: #f1f3f5;
    color: var(--text-secondary);
    border-color: #ced4da;
    backdrop-filter: none;
}

    .btn-secondary:hover,
    .btn-outline-secondary:hover,
    .cta-btn-secondary:hover {
        background: #e9ecef;
        border-color: var(--primary);
        color: var(--primary);
    }

/* Disabled state */
.btn:disabled, .btn.disabled,
.cta-btn:disabled, .cta-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===================================================================
   Forms
   =================================================================== */
.form-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control,
input:not([type=checkbox]):not([type=radio]),
textarea {
    margin-bottom: 0.7rem;
    padding: 0.6rem 1rem;
    box-sizing: border-box;
}

    input:not([type=checkbox]):not([type=radio]):focus,
    textarea:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.15);
    }

.alert {
    font-size: 1.1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* ===================================================================
   Cards / shared containers
   =================================================================== */
.card, .about-section, .contact-container, .gallery-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    margin: 0 auto 2.5rem auto;
    max-width: 1200px;
}

/* Minimal padding for admin cards only */
.admin-uploads .card {
    padding: 0.75rem 1rem;
}

.admin-uploads .card-header,
.admin-uploads .card-body {
    padding: 0.5rem 0.75rem;
}

/* ===================================================================
   Checkboxes (global, brand-styled)
   =================================================================== */
input[type="checkbox"],
.form-check-input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0 0.15rem 0 0;
    padding: 0;
    vertical-align: middle;
    border: 2px solid #adb5bd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    flex: 0 0 auto;
    position: relative;
    transition: background-color var(--transition), border-color var(--transition);
}

    input[type="checkbox"]:hover,
    .form-check-input[type="checkbox"]:hover {
        border-color: var(--primary);
    }

    input[type="checkbox"]:focus-visible,
    .form-check-input[type="checkbox"]:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.25);
    }

    /* Checked: brand fill + white tick */
    input[type="checkbox"]:checked,
    .form-check-input[type="checkbox"]:checked {
        background: var(--primary);
        border-color: var(--primary);
    }

        input[type="checkbox"]:checked::after,
        .form-check-input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            left: 4px;
            top: 1px;
            width: 4px;
            height: 8px;
            border: solid #fff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

    /* Disabled */
    input[type="checkbox"]:disabled,
    .form-check-input[type="checkbox"]:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ===================================================================
   Horizontal NavMenu (public) — desktop-first, mobile overrides
   =================================================================== */

/* Container */
.nav-horizontal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Links row — VISIBLE by default (desktop) */
.nav-horizontal .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
}

.nav-horizontal .nav-link {
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}
.nav-horizontal .nav-link:hover,
.nav-horizontal .nav-link.active {
    color: var(--primary);
}

/* Hamburger — hidden on desktop */
.navbar-toggle-horizontal {
    display: none;
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 0;
}


@media (max-width: 805px) {
    .nav-horizontal {
        position: relative;
    }

    /* Show the hamburger */
    .navbar-toggle-horizontal {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Collapse the links into a full-width dropdown */
    .nav-horizontal .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        padding: 0.5rem 0;
        z-index: 1040;
    }

    /* Reveal when toggled */
    .nav-horizontal.open .nav {
        display: flex;
    }

    .nav-horizontal .nav-item {
        width: 100%;
    }

    .nav-horizontal .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 1.5rem;
        color: #333 !important;   /* beat any Bootstrap navbar text color */
    }
    .nav-horizontal .nav-link:hover,
    .nav-horizontal .nav-link.active {
        background: #f6f1e7;
        color: var(--primary) !important;
    }

    /* Remove inner container padding so the panel reaches the edges */
    .nav-horizontal .container-fluid {
        padding: 0;
        position: static;
    }
}

/* ===================================================================
   Hero (Home)
   =================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;       /* content sits at the bottom */
    justify-content: flex-start; /* ...left */
    text-align: left;
    padding: 3rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    pointer-events: none; /* slides are decorative; never intercept clicks */
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.02); /* very light darkening */
    pointer-events: none; /* overlay is decorative too */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: left;
}

.hero-title {
    color: #fff;
    font-size: 1.75rem;   /* matches the pre-carousel size in your screenshot */
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* ===================================================================
   Features (Home)
   =================================================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-family: var(--font-serif);
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--heading-color);
}

.feature-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* ===================================================================
   Gallery Preview (Home)
   =================================================================== */
.gallery-preview {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
    text-align: center;
}

.gallery-preview-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 2rem;
    position: relative;
}

    .gallery-preview-title::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: var(--primary);
        margin: 0.75rem auto 0;
        border-radius: 2px;
    }

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.25rem;
}

.gallery-preview-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.gallery-preview-img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
    user-select: none;
}

    .gallery-preview-img:hover {
        transform: scale(1.05);
    }

.gallery-status {
    color: #777;
    font-size: 1.1rem;
    padding: 2rem 0;
}

.gallery-preview-cta {
    margin-top: 2.5rem;
}

/* ===================================================================
   About
   =================================================================== */
.about-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin-bottom: 2.5rem;
    gap: 2.5rem;
}

.about-photo {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-lg);   /* soft square, not a circle */
    object-fit: contain;               /* show the whole logo, no cropping */
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    border: 1px solid #eee;
    transition: box-shadow var(--transition);
}

    .about-photo:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    }

.about-intro {
    max-width: 500px;
}

.about-name {
    font-family: var(--font-script);
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
    letter-spacing: 1px;
}

.about-tagline {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--heading-color);
    letter-spacing: 0.5px;
}

.about-text {
    font-size: 1.13rem;
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
    line-height: 1.7;
}

.about-section hr {
    margin: 2rem 0;
    border: none;
    border-top: 1.5px solid #eee;
}

.about-links {
    margin-top: 1.5rem;
}

.about-list {
    padding-left: 1.2rem;
    margin-bottom: 1.1rem;
}

    .about-list li {
        margin-bottom: 0.7rem;
        font-size: 1.13rem;
        color: var(--text-secondary);
    }

    /* Smaller screens: stack photo on top */
    @media (max-width: 768px) {
        .about-hero {
            flex-direction: column;
        }

        .about-photo {
            width: 180px;
            height: 180px;
        }

        .about-name {
            font-size: 1.8rem;
        }
    }

    /* Mobile: full-width sections */
    @media (max-width: 480px) {
        .about-hero,
        .about-section {
            padding-left: 1rem;
            padding-right: 1rem;
        }

        .about-title {
            font-size: 1.4rem;
        }

        .about-text {
            font-size: 1rem;
        }
    }

/* ===================================================================
   Contact
   =================================================================== */
.contact-header, .about-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .contact-header h2 {
        font-family: var(--font-serif);
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--heading-color);
    }

.contact-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===================================================================
   Gallery (full gallery page)
   =================================================================== */
.gallery-container {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.gallery-title {
    font-family: var(--font-serif);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--heading-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: var(--bg-white);
    transition: transform var(--transition), box-shadow var(--transition);
}

    .gallery-item:hover {
        transform: scale(1.03);
        box-shadow: var(--shadow-hover);
    }

.gallery-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: filter var(--transition);
    user-select: none;
    pointer-events: auto;
}

.gallery-item:hover .gallery-img {
    filter: brightness(0.92) contrast(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(34,34,34,0.65);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* ===================================================================
   Hero / Gallery pill CTAs (anchors styled as buttons)
   =================================================================== */
.cta-btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        text-decoration: none;
    }

.cta-btn-primary {
    background-color: var(--primary);
    color: #fff;
}

    .cta-btn-primary:hover {
        background-color: var(--primary-hover);
        color: #fff;
    }

.cta-btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

    .cta-btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.22);
        color: #fff;
    }
/* ===================================================================
   Responsive adjustments (About / Gallery)
   =================================================================== */
@media (max-width: 900px) {
    .about-hero, .card, .about-section, .contact-container, .gallery-container {
        padding: 1.5rem 0.5rem;
    }

    .about-name {
        font-size: 1.5rem;
    }

    .gallery-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .about-hero {
        flex-direction: column;
        gap: 1.2rem;
    }

    .about-photo {
        width: 140px;
        height: 140px;
    }

    .gallery-img {
        height: 180px;
    }
}

.protected-img { position: relative; display: inline-block; }
.protected-img .img-shield {
    position: absolute;
    inset: 0;
    /* transparent layer intercepts right-click / drag / long-press */
}
.protected-img img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.hero-section:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: -3px;
}

/* CTA row */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;   /* was 3.25rem */
}

/* Prev/next arrows on the sides (out of the content flow) */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition);
}

    .hero-nav:hover {
        background: rgba(0, 0, 0, 0.6);
    }

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

/* Play + dots pinned to the bottom center, above content */
.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.85rem;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
}

.hero-play {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.15rem 0.35rem;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-dot {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background-color var(--transition);
}

    .hero-dot.is-active {
        background: #fff;
    }

@media (max-width: 640.98px) {
    /* Small screens: keep everything clear of the CTAs */
    .hero-section {
        padding: 1.5rem 1rem 2.5rem; /* was 2rem 1.25rem 3.5rem */
    }

    .hero-nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.4rem;
    }
}
