/* PAGE BODY */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0d0d0d;
    background-image: url("images/hero.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #eee;
    padding-top: 80px;
}

/* ── HERO ── */
.sv-hero {
    background-color: #902102;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(0,0,0,0.08) 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(0,0,0,0.08) 80px
        ),
        url("images/hero.jpg");
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-repeat: repeat, repeat, no-repeat;
    min-height: 36vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.sv-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff9800, transparent);
}

.sv-eyebrow {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}

.sv-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: white;
    margin: 0 0 0.5rem;
    letter-spacing: 0.05em;
}

.sv-subhead {
    font-weight: 300;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* ── INTRO ── */
.sv-intro-section {
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #111;
}

.sv-intro-box {
    max-width: 760px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,152,0,0.2);
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    padding: 2.5rem 3rem;
}

.sv-intro-box h2 {
    font-family: 'Playfair Display', serif;
    color: #ff9800;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.sv-intro-box p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-style: italic;
}

/*  VIEWER SECTION  */
.sv-viewer-section {
    background-color: #0d0d0d;
    padding: 4rem 2rem 5rem;
    display: flex;
    justify-content: center;
}

.sv-viewer-wrapper {
    width: 100%;
    max-width: 820px;
}

/* Slide counter */
.sv-slide-counter {
    text-align: right;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

#slideNumber {
    color: #ff9800;
    font-weight: 400;
}

/* Image frame */
.sv-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,152,0,0.15);
    margin-bottom: 0;
}

#sv-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

#sv-image.fading {
    opacity: 0;
}

.sv-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        rgba(0,0,0,0.7) 100%
    );
    pointer-events: none;
}

/* Slide info */
.sv-slide-info {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,152,0,0.15);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 1.8rem 2rem;
    margin-bottom: 2rem;
    min-height: 160px;
    transition: opacity 0.4s ease;
}

.sv-slide-info.fading {
    opacity: 0;
}

#sv-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    color: white;
    margin: 0 0 0.75rem;
}

#sv-description {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.72);
    margin: 0 0 1.25rem;
}

.sv-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

#sv-author {
    color: #ff9800;
    font-weight: 400;
}

#sv-theme {
    color: rgba(255,152,0,0.6);
    font-style: italic;
}

.sv-meta-dot {
    color: rgba(255,255,255,0.2);
}

/* Button */
.sv-btn-row {
    display: flex;
    justify-content: center;
}

.sv-btn {
    background: #902102;
    color: white;
    border: 2px solid #ff9800;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.sv-btn:hover {
    background: #ff9800;
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,152,0,0.3);
}

.sv-btn:active {
    transform: translateY(0);
}

/* WRITTEN VIEWS */
.sv-views-section {
    background-color: #111;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255,152,0,0.15);
}

.sv-views-container {
    max-width: 820px;
    margin: 0 auto;
}

.sv-views-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #ff9800;
    margin: 0 0 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,152,0,0.2);
}

.sv-view-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,152,0,0.12);
    border-left: 3px solid #902102;
    border-radius: 8px;
    padding: 2rem 2.25rem;
    margin-bottom: 1.5rem;
    transition: border-left-color 0.3s ease, transform 0.3s ease;
}

.sv-view-card:hover {
    border-left-color: #ff9800;
    transform: translateX(4px);
}

.sv-view-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: white;
    margin: 0 0 0.75rem;
}

.sv-view-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
    margin: 0;
}

/*  FOOTER  */
.footer-section {
    background-color: #1a1a1a;
    color: white;
    padding: 3em 2em;
    text-align: center;
}

.footer-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
}

.footer-section p {
    font-size: 1.1em;
    margin: 0.5em 0;
}

.footer-section a {
    color: #ff9800;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

/*  MEDIA QUERIES / RESPONSIVE  */
@media (max-width: 768px) {
    .sv-intro-box {
        padding: 2rem 1.75rem;
    }

    .sv-slide-info {
        padding: 1.5rem 1.5rem;
    }

    #sv-title {
        font-size: 1.3rem;
    }

    .sv-views-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .sv-hero h1 {
        font-size: 2.4rem;
    }

    .sv-btn {
        width: 100%;
        padding: 1rem;
    }

    .sv-view-card {
        padding: 1.5rem;
    }
}

/* ========================
   PHOTO SOURCES APPENDIX
   ======================== */
.sv-sources-section {
    background-color: #0d0d0d;
    border-top: 2px solid #902102;
    padding: 4rem 2rem;
}

.sv-sources-inner {
    max-width: 860px;
    margin: 0 auto;
}

.sv-sources-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #ff9800;
    margin-bottom: 0.75rem;
}

.sv-sources-note {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.sv-sources-list {
    list-style: decimal;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sv-sources-list li {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
}

.sv-sources-list li strong {
    color: #fff;
    display: block;
    margin-bottom: 0.2rem;
}

.sv-sources-list li a {
    color: #ff9800;
    text-decoration: none;
    word-break: break-all;
}

.sv-sources-list li a:hover {
    text-decoration: underline;
}
