/* Unstamped Pages — Book Landing Page */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: url('unstampedpagesbw.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ── Accent color ── */
:root {
    --gold: #c9a84c;
    --gold-hover: #dbbe6a;
    --dark-overlay: rgba(0, 0, 0, 0.65);
    --card-bg: rgba(0, 0, 0, 0.55);
}

/* ── Video Intro Overlay ── */
.video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: #000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-overlay.active {
    display: flex;
    opacity: 1;
    transition: opacity 1.5s ease;
}

.video-overlay.dissolving {
    opacity: 0;
}

.video-overlay__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile: fit video to screen width, maintain aspect ratio */
@media (max-width: 767px) {
    .video-overlay__video {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.video-overlay__video::-webkit-media-controls {
    display: none !important;
}

.video-overlay__video::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-overlay__actions {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 2001;
}

.video-overlay__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
}

.video-overlay__link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.7);
}

/* ── Sticky Navigation ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 0.75rem 1rem;
    transition: background-color 0.3s ease;
}

.site-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.4rem;
}

.nav-brand {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.45rem;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-cta {
    color: var(--gold);
    border: 1px solid var(--gold);
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--gold);
    color: #000;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--gold);
    color: #000;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: #000;
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 3rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.7) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-style: italic;
}

/* ── Content Sections ── */
.content-section {
    position: relative;
    padding: 5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.content-section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    background-color: var(--dark-overlay);
    padding: 3rem 2rem;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.section-container--wide {
    max-width: 1000px;
}

.section-container h2 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.section-container p {
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 400;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.section-container p:last-child {
    margin-bottom: 0;
}

.section-container .btn {
    margin-top: 1rem;
}

/* ── Reviews Grid ── */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.review-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.review-text {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.review-author {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.7;
    font-style: normal;
}

/* ── Footer ── */
.site-footer {
    padding: 4rem 1.5rem 2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-heading {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-copy {
    margin-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
    letter-spacing: 0.05em;
}

/* ── Modal Styles (preserved) ── */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 1rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: rgba(30, 30, 30, 0.95);
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-content > p {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.close-btn {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #ffffff;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    opacity: 0.7;
}

/* ── Form Styles (preserved) ── */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--gold);
    border: none;
    border-radius: 5px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

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

/* Form Message */
.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.6);
}

.form-message.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.3);
    border: 1px solid rgba(244, 67, 54, 0.6);
}

/* ── Tablet (768px+) ── */
@media (min-width: 768px) {
    .nav-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-link {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
        padding: 0.5rem 0.9rem;
    }

    .nav-links {
        gap: 0.4rem;
    }

    .hero-title {
        font-size: 3.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .content-section {
        padding: 6rem 2rem;
    }

    .section-container {
        padding: 3.5rem 3rem;
    }

    .section-container h2 {
        font-size: 1.8rem;
    }

    .section-container p {
        font-size: 1.05rem;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-content {
        padding: 2.5rem;
    }
}

/* ── Desktop (1024px+) ── */
@media (min-width: 1024px) {
    .nav-brand {
        font-size: 1.1rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: 4.5rem;
        letter-spacing: 0.2em;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-container {
        padding: 4rem 3.5rem;
    }

    .section-container h2 {
        font-size: 2rem;
    }

    .section-container p {
        font-size: 1.1rem;
    }
}

/* ── Large Desktop (1440px+) ── */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 5rem;
    }

    .section-container {
        max-width: 800px;
    }

    .section-container--wide {
        max-width: 1100px;
    }
}

/* ── Accessibility — Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    .content-section {
        opacity: 1;
        transform: none;
    }
}
