/* ===== Press Kit Page Styles ===== */

/* Enable scroll-snap ONLY on press kit page */
.press-kit-page {
    scroll-snap-type: y mandatory;
}

/* Header Overrides for Press Kit Page - WHITE icons */
.press-kit-page .site-header .header-logo a {
    color: var(--color-bg) !important;
}

/* Header social icons - make PNG icons appear white */
.press-kit-page .site-header .header-social a .social-icon {
    filter: brightness(0) invert(1);
}

.highlight-word {
    position: relative;
    transition: box-shadow 0.2s ease, color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.contact-section .highlight-word:hover {
    box-shadow: inset 0 -1.2em 0 var(--color-accent);
    color: var(--color-bg);
}

/* Hero Section */
.press-hero {
    position: relative;
    height: 120vh;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
    scroll-snap-align: start;
    min-height: 100vh;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    opacity: 0;
    animation: heroFadeIn 1.5s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    position: absolute;
    top: 25%;
    left: var(--spacing-lg);
    right: auto;
    transform: none;
    text-align: left;
    z-index: 2;
    color: var(--color-bg);
    opacity: 0;
    animation: heroTextFadeIn 1s ease-out forwards;
    animation-delay: 0.8s;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 600px;
}

@keyframes heroTextFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
}

.rotating-text {
    display: inline;
    position: relative;
}

/* Section Base Styles - minimal margins for tight spacing */
.press-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    scroll-snap-align: start;
    position: relative;
    background: var(--color-bg);
    margin: 0;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ACTUAL grain texture for voice section */
.voice-section {
    background: 
        linear-gradient(180deg, #000000 0%, #0a0a0a 100%),
        url('data:image/svg+xml;utf8,<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    color: var(--color-bg);
    margin: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Artist Marquee Section - OFFWHITE background, BLACK text */
.artist-marquee-section {
    background: #fbf3fa;
    padding: var(--spacing-md) 0;
    overflow: hidden;
    border: none;
    margin: 0;
}

.marquee-container {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    padding-right: 2rem;
}

.marquee-content span {
    font-family: 'Reenie Beanie', cursive;
    font-size: 2rem;
    color: #000000;
    padding: 0 1rem;
}

.marquee-content span::after {
    content: '•';
    margin-left: 1rem;
    opacity: 0.5;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.section-heading.centered {
    text-align: center;
    padding: 0 var(--spacing-sm);
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    border: 3px solid var(--color-bg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.playlist-link {
    display: inline-block;
    color: var(--color-bg);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--color-bg);
    padding-bottom: 4px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Video Gallery Section */
.video-gallery-section {
    background: var(--color-bg);
    padding: var(--spacing-lg) 0;
    margin: 0;
}

.frame-content {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.video-gallery-wrapper {
    overflow: hidden;
    position: relative;
}

.video-gallery {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    width: fit-content;
    /* MARQUEE ANIMATION REMOVED - now controlled carousel */
}

.video-item {
    position: relative;
    width: 400px;
    min-width: 400px;
    height: 225px;
    flex-shrink: 0;
    overflow: hidden;
    background: #000;
    border: 2px solid var(--color-text);
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video titles list - hidden on desktop */
.video-titles-list {
    display: none;
}

/* Carousel Navigation Controls */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.carousel-btn {
    background: var(--color-accent);
    color: var(--color-bg);
    border: 2px solid var(--color-accent);
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    opacity: 0.8;
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Impressions section: off-white buttons with blue arrows */
.testimonials-section .carousel-btn {
    background: var(--color-bg);
    color: var(--color-accent);
    border: 2px solid var(--color-bg);
}

.testimonials-section .carousel-btn:hover {
    opacity: 0.9;
}

/* Hide carousel nav on mobile, use swipe instead */
@media (max-width: 768px) {
    .carousel-nav {
        display: none;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, var(--color-accent) 0%, #1a3470 100%);
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.testimonials-heading {
    color: var(--color-bg);
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
}

.testimonials-container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-md);
    width: fit-content;
    /* MARQUEE ANIMATION REMOVED - now controlled carousel */
}

.testimonial-card {
    min-width: 420px;
    max-width: 420px;
    max-height: 280px;
    flex-shrink: 0;
    padding: var(--spacing-md);
    background: var(--color-bg);
    border: 2px solid var(--color-text);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    font-family: 'Arial Black', sans-serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--color-text);
    opacity: 0.15;
    font-weight: 900;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xs);
    padding-left: 35px;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
    overflow-y: auto;
    flex: 1;
    padding-right: var(--spacing-xs);
}

.testimonial-text::-webkit-scrollbar {
    width: 4px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.testimonial-text::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.testimonial-role {
    font-size: 0.8rem;
    opacity: 0.6;
    font-style: italic;
    flex-shrink: 0;
}

/* Section Divider Image */
.section-divider-image {
    width: 100%;
    height: 120px;
    background-color: #1a1a1a;
    background-image: url('/images/016c.jpg');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: center;
    margin: 0;
    /* Scroll RIGHT - opposite direction of artist marquee */
    animation: cdMarqueeRight 20s linear infinite;
}

@keyframes cdMarqueeRight {
    0% {
        background-position: 0 center;
    }
    100% {
        background-position: 1000px center;
    }
}

/* Contact Section with split layout */
.contact-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    padding: calc(var(--spacing-xl) * 2) var(--spacing-lg);
    margin: 0;
}

/* Contact section with background image */
.contact-section-bg {
    background: url('/images/primo_press1.png') center/cover no-repeat;
    position: relative;
}

/* Contact section text color */
.contact-section .contact-heading,
.contact-section .contact-text {
    color: var(--color-bg);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

/* Right-align contact text block on desktop */
.contact-section-bg .contact-split {
    grid-template-columns: 1fr;
    justify-items: end;
}

.contact-section-bg .contact-text-block {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xl);
    border: 2px solid var(--color-bg);
    max-width: 510px;
}

.contact-image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--color-bg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
}

.highlight-word {
    position: relative;
    transition: box-shadow 0.2s ease, color 0.2s ease;
}

.contact-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.email-copy-btn {
    background: none;
    border: none;
    color: var(--color-bg);
    font-family: var(--font-body);
    font-size: inherit;
    cursor: pointer;
    position: relative;
    padding: 0;
    border-bottom: 1px solid var(--color-bg);
    perspective: 1000px;
    display: inline-block;
    transition: box-shadow 0.2s ease, color 0.2s ease;
}

.email-copy-btn:hover {
    box-shadow: inset 0 -1.2em 0 var(--color-accent);
    color: var(--color-bg);
}

.email-text,
.email-feedback {
    display: block;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.email-feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(90deg);
    opacity: 0;
    white-space: nowrap;
}

.email-copy-btn.copied .email-text {
    transform: rotateX(-90deg);
    opacity: 0;
}

.email-copy-btn.copied .email-feedback {
    transform: translate(-50%, -50%) rotateX(0deg);
    opacity: 1;
}

/* Badge Section */
.badge-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.badge-link {
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.badge-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.badge-link img {
    display: block;
    height: auto;
}

.gigsalad-badge img {
    height: 96px;
    width: auto;
}

.theknot-badge img {
    width: 96px;
    height: auto;
}

/* Form Modals */
.form-modal-content {
    width: 95vw;
    max-width: 750px;
    max-height: 90vh;
    background: var(--color-accent);
    border: 2px solid var(--color-bg);
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.form-modal-inner {
    padding: var(--spacing-lg);
    color: var(--color-bg);
    overflow-x: hidden;
}

.form-modal .modal-close {
    color: var(--color-bg);
    z-index: 100;
    position: sticky;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    float: right;
}

.form-modal h2 {
    font-family: var(--font-heading);
    text-transform: lowercase;
    font-size: 1.8rem;
    color: var(--color-bg);
    margin-bottom: 0.5rem;
}

.form-modal .back-link {
    display: none;
}

.form-modal label {
    font-weight: 500;
    margin-top: 1.5rem;
    color: var(--color-bg);
}

.form-modal input,
.form-modal textarea,
.form-modal select {
    border: 1px solid var(--color-bg);
    border-radius: 0;
    font-size: 1rem;
    padding: 0.6rem;
    background: transparent;
    color: var(--color-bg);
    font-family: var(--font-body);
    width: 100%;
    display: block;
    margin-bottom: 0;
    box-sizing: border-box;
}

.form-modal input[type="date"] {
    width: 100%;
    max-width: 100%;
}

.form-modal input::placeholder,
.form-modal textarea::placeholder {
    color: rgba(251, 243, 250, 0.5);
}

.form-modal .form-check-input {
    border: 1px solid var(--color-bg);
    border-radius: 0;
    margin-top: 0;
    vertical-align: middle;
    background: transparent;
    margin-right: 0.5rem;
}

.form-modal .form-check-input:checked {
    background-color: var(--color-bg);
    border-color: var(--color-bg);
}

.form-modal .form-check-label {
    vertical-align: middle;
    color: var(--color-bg);
    margin-right: 1.5rem;
}

/* Radio buttons: stacked vertically, left-aligned, tight spacing */
.form-modal .form-check {
    display: flex;
    align-items: center;
    margin: 0;
    margin-bottom: 0.5rem;
    padding: 0;
}

.form-modal label.mt-3 {
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

.form-modal .form-check-input {
    border: 1px solid var(--color-bg);
    border-radius: 0;
    margin: 0;
    margin-right: 0.5rem;
    background: transparent;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.form-modal .form-check-label {
    color: var(--color-bg);
    margin: 0;
    padding: 0;
}

/* Ensure next input field appears on new line with proper spacing */
.form-modal .form-check:last-of-type {
    margin-bottom: 1.5rem;
}

.form-modal button[type="submit"] {
    margin-top: 2.5rem;
    padding: 0.7rem 2rem;
    background: var(--color-bg);
    border: 2px solid var(--color-bg);
    color: var(--color-accent);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    transition: all 0.25s;
    cursor: pointer;
}

.form-modal button[type="submit"]:hover {
    opacity: 0.9;
}

.form-modal .badge-desktop,
.form-modal .badge-mobile {
    display: none;
}

/* Email copy button in modal */
.form-modal .email-copy-trigger {
    background: none;
    border: none;
    color: var(--color-bg);
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    transition: opacity 0.2s ease;
}

.form-modal .email-copy-trigger:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .video-item {
        width: 350px;
        min-width: 350px;
        height: 197px;
    }
    
    .testimonial-card {
        min-width: 380px;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .press-hero {
        height: 80vh;
        height: 80dvh;
    }

    .hero-image {
        object-position: center 95%;
    }

    .hero-content {
        top: auto;
        bottom: 30%;
        left: var(--spacing-sm);
        max-width: calc(100% - var(--spacing-lg));
    }
    
    /* FASTER marquee on mobile */
    .marquee-container {
        animation: marqueeScroll 10s linear infinite;
    }

    .press-section {
        padding: var(--spacing-lg) var(--spacing-sm);
        margin: 0;
    }

    .section-heading {
        margin-bottom: var(--spacing-sm);
    }

    .video-item {
        width: 280px;
        min-width: 280px;
        height: 158px;
    }

    .video-gallery {
        gap: var(--spacing-sm);
    }
    
    /* Mobile: Full-width video with title navigation */
    .video-gallery-wrapper {
        position: relative;
        margin-left: 0;
        margin-right: 0;
    }
    
    .video-gallery {
        gap: var(--spacing-md);
        margin-left: 0;
    }
    
    .video-item {
        width: 95vw;
        min-width: 95vw;
        height: 53.4375vw; /* Maintains 16:9 aspect ratio */
    }
    
    /* Video title list for mobile */
    .video-titles-list {
        display: block;
        list-style: none;
        padding: 0;
        margin: var(--spacing-md) 0 0 0;
        text-align: center;
    }
    
    .video-title-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        cursor: pointer;
        font-size: 0.9rem;
        color: var(--color-text);
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .video-title-item:last-child {
        border-bottom: none;
    }
    
    .video-title-item.active {
        font-weight: 700;
        color: var(--color-accent);
    }
    
    .video-title-item:active {
        background: rgba(30, 58, 138, 0.1);
    }

    .testimonials-section {
        padding: var(--spacing-sm) 0;
    }
    
    /* Mobile: Full-width testimonials with peek animation */
    .testimonials-container {
        position: relative;
        margin: 0;
        padding: 0;
        overflow: hidden;
        width: 100vw;
    }
    
    .testimonials-slider {
        /* Slider positioning handled by JS */
    }
    
    .testimonial-card {
        min-width: 90vw;
        max-width: 90vw;
        max-height: 300px;
        padding: var(--spacing-sm);
        margin: 0 auto;
    }
    
    /* Peek animation: more dramatic slide to hint at next testimonial */
    .testimonials-slider {
        animation: peekNextDramatic 4s ease-in-out infinite;
    }
    
    @keyframes peekNextDramatic {
        0%, 100% {
            transform: translateX(0);
        }
        3% {
            transform: translateX(-60px);
        }
        6% {
            transform: translateX(0);
        }
    }
    
    /* Stop peek animation after first interaction */
    .testimonials-container.interacted .testimonials-slider {
        animation: none;
    }

    .testimonial-quote {
        font-size: 2.5rem;
        top: 4px;
        left: 4px;
    }

    .testimonial-header {
        padding-left: 30px;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .testimonial-name {
        font-size: 1rem;
    }
    
    .testimonial-stars {
        font-size: 0.9rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .section-divider-image {
        height: 80px;
    }

    .contact-section {
        padding: var(--spacing-xl) var(--spacing-sm);
        /* Mobile: increased height */
        min-height: 600px;
        display: flex;
        align-items: center;
    }
    
    .contact-section-bg {
        /* Mobile: allow image to zoom/crop with increased height */
        background-size: cover;
        background-position: center;
    }
    
    .contact-content {
        width: 100%;
    }

    .contact-split {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Center content block on mobile */
    .contact-section-bg .contact-split {
        justify-items: center;
    }
    
    .contact-section-bg .contact-text-block {
        max-width: 100%;
        width: 100%;
    }

    .contact-text-block {
        text-align: center;
    }

    .contact-image-block {
        order: -1;
    }

    /* Remove ALL borders on contact image mobile */
    .contact-image {
        border: 3px solid var(--color-bg);
        margin-top: 0;
        padding-top: 0;
    }
    
    .badge-section {
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
        justify-content: center;
    }
    
    .gigsalad-badge img {
        height: 72px;
    }
    
    .theknot-badge img {
        width: 72px;
    }
}

/* Parallax Effect for Hero */
@media (min-width: 769px) {
    .press-hero.scrolled .hero-content {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-image,
    .hero-content,
    .testimonials-slider,
    .video-gallery,
    .marquee-container,
    .email-copy-btn,
    .highlight-word {
        animation: none !important;
        transition: none !important;
    }
}
