/* ============================================
   American Stallion - Post Call Landing Page
   ============================================ */

:root {
    --color-bg: #181a1c;
    --color-gold: #D1AE53;
    --color-gold-light: #e5c97a;
    --color-text: #e0e0e0;
}

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

html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--color-bg);
    font-family: gravesend-sans, sans-serif;
    position: relative;
}

/* Background Watermark */
body::before {
    content: 'AMERICAN STALLION';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    z-index: 0;
    letter-spacing: 0.1em;
}

/* Main Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Headline Section
   ============================================ */
.headline-section {
    text-align: center;
    padding: 20px 20px 30px;
    max-width: 800px;
}

.headline {
    color: var(--color-gold);
    font-size: clamp(0.95rem, 2.5vw, 1.4rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}

.headline-author {
    color: var(--color-gold);
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-style: italic;
    display: block;
    margin-bottom: 20px;
}

.subheadline {
    color: var(--color-text);
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    line-height: 1.6;
    opacity: 0.9;
}

/* ============================================
   Microcopy Section
   ============================================ */
.microcopy-section {
    text-align: center;
    padding: 15px 20px;
    max-width: 600px;
}

.microcopy {
    color: var(--color-text);
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    line-height: 1.5;
    opacity: 0.7;
    font-style: italic;
}

/* ============================================
   Button Section
   ============================================ */
.button-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
}

.rebook-btn {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-bg);
    text-decoration: none;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(209, 174, 83, 0.3);
}

.rebook-btn:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 174, 83, 0.4);
}

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


/* ============================================
   Video Section
   ============================================ */
.video-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    width: 100%;
}

.video-wrapper {
    height: calc(100vh - 220px);
    max-height: 600px;
    aspect-ratio: 9 / 16;
    width: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(209, 174, 83, 0.2);
    border: 2px solid var(--color-gold);
}

.video-wrapper wistia-player {
    width: 100%;
    height: 100%;
}

/* Override Wistia default padding for our container */
.video-wrapper style + wistia-player[media-id='ug7x36izs6']:not(:defined) {
    padding-top: 0 !important;
    height: 100% !important;
}

/* ============================================
   Responsive - Large Tablet
   ============================================ */
@media (max-width: 1024px) {
    .video-wrapper {
        height: calc(100vh - 210px);
        max-height: 550px;
    }
}

/* ============================================
   Responsive - Tablet / Mobile
   ============================================ */
@media (max-width: 768px) {
    body::before {
        content: 'AMERICAN\ASTALLION';
        white-space: pre-wrap;
        line-height: 1.1;
        font-size: clamp(3.5rem, 16vw, 6rem);
    }
    
    .container {
        padding: 15px;
    }
    
    .headline-section {
        padding: 15px 15px 25px;
    }
    
    .video-wrapper {
        height: auto;
        max-height: none;
        width: 65%;
        max-width: 300px;
    }
}

/* ============================================
   Responsive - Small Mobile
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .headline-section {
        padding: 10px 10px 20px;
    }
    
    .headline {
        font-size: 0.9rem;
    }
    
    .headline-author {
        font-size: 0.65rem;
    }
    
    .subheadline {
        font-size: 0.8rem;
    }
    
    .video-section {
        padding: 5px 10px;
    }
    
    .video-wrapper {
        width: 70%;
        max-width: 280px;
        border-radius: 8px;
        border-width: 1px;
    }
    
    .microcopy-section {
        padding: 10px 15px;
    }
    
    .microcopy {
        font-size: 0.6rem;
    }
    
    .button-section {
        padding: 15px;
    }
    
    .rebook-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* ============================================
   Landscape Mobile
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .video-wrapper {
        width: 50%;
        max-width: 280px;
    }
}

