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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #ffffff;
}

/* Minimal Navigation */
.minimal-nav {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(calc(-50% + 16rem - 100px));
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}

.nav-item {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-shadow: none;
}

.nav-item:hover {
    opacity: 0.7;
}

/* Full-Screen Background */
.fullscreen-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* White menu bar overlay */
.fullscreen-background::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 315px;
    height: 100%;
    background: white;
    z-index: 5;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    padding-right: 100px;
}

/* Title Overlay */
.title-overlay {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(calc(-50% - 100px));
    text-align: right;
    color: white;
    z-index: 10;
    pointer-events: none;
    padding-left: 25px;
}

.main-title {
    font-family: 'Anton', sans-serif;
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #E08A3E;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #000000;
    text-shadow: none;
    opacity: 1;
}

/* Content Panels */
.content-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    overflow-y: auto;
}

.content-panel.active {
    display: block;
}

.content-panel.slide-in {
    animation: slideIn 0.8s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Close Button */
.close-panel {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: #2c2c2c;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
    z-index: 210;
}

.close-panel:hover {
    opacity: 0.6;
}

/* Panel Navigation */
.panel-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    z-index: 210;
}

.panel-nav-item {
    font-family: 'Anton', sans-serif;
    color: #999;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
}

.panel-nav-item:hover {
    color: #E08A3E;
}

.panel-nav-item.active {
    color: #E08A3E;
}

/* Panel Content */
.panel-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 3rem;
    /* Subtle gradient for paper-like depth */
    background: linear-gradient(
        to right,
        rgba(250, 250, 250, 0.97) 0%,
        rgba(255, 255, 255, 0.98) 10%,
        rgba(255, 255, 255, 0.98) 90%,
        rgba(248, 248, 248, 0.97) 100%
    );
    min-height: 100vh;
    /* Layered shadows for 3D depth */
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.15),
        0 32px 64px rgba(0, 0, 0, 0.15);
    /* Subtle border for definition */
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}


.panel-content h2,
.panel-content h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #E08A3E;
}

.panel-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.panel-text .opening-statement {
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    padding: 1rem 0;
    margin: 2rem 0 3rem 0;
    border-top: 2px solid #2c2c2c;
    border-bottom: 2px solid #2c2c2c;
    color: #2c2c2c;
    font-weight: 600;
}

.panel-text blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #444;
    margin: 3rem 0;
    padding-left: 2rem;
    border-left: 4px solid #f78619;
    line-height: 1.6;
}

.panel-text .echo-hawk-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #E08A3E;
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #E08A3E;
    background: rgba(224, 138, 62, 0.05);
    line-height: 1.7;
}

.panel-text .footnote {
    font-size: 0.9rem;
    color: #888;
    margin-top: 2rem;
    font-style: italic;
}

.panel-text .footnote a {
    color: #888;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.panel-text .footnote a:hover {
    color: #E08A3E;
}

.film-title {
    color: #E08A3E;
}

.panel-text cite {
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
    display: block;
    margin-top: 1rem;
}

/* Production Status */
.production-status {
    text-align: center;
    color: #2c2c2c;
    font-size: 1.2rem;
    margin: 3rem 0;
}

/* Production Sections */
.production-sections {
    text-align: center;
    margin-top: 6rem;
}

.panel-text .production-section-title {
    color: #E08A3E !important;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 5rem 0;
}

/* About Image */
.about-image-container {
    text-align: center;
    margin: 4rem 0;
}

.about-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 9px solid #8B6F47;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Footer */
.about-footer {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: -3rem;
}

/* Production Footer */
.production-footer {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    text-align: center;
}

.production-contact {
    margin-bottom: 3rem;
}

.contact-label {
    font-size: 1.2rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.contact-email-link {
    color: #E08A3E;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.contact-email-link:hover {
    opacity: 0.7;
}

.bad-bison-link {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.bad-bison-link:hover {
    color: #2c2c2c;
    transform: translateY(-2px);
}

.bad-bison-link::after {
    content: ' →';
    opacity: 1;
}

/* Contact Email */
.contact-email {
    margin: 4rem 0;
    text-align: center;
}

.contact-email a {
    color: #E08A3E;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.contact-email a:hover {
    opacity: 0.7;
}

/* Contact Form */
#contact-form {
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c2c2c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f78619;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #f78619;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #d67115;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fullscreen-background {
        width: 100%;
        height: 55vh;
    }
    
    .fullscreen-background::after {
        width: 100%;
        min-width: 100%;
        height: auto;
        top: 55vh;
        bottom: 0;
    }
    
    .background-image {
        object-position: center center;
        padding-right: 0;
    }
    
    .minimal-nav {
        top: auto;
        bottom: 2rem;
        right: 2rem;
        transform: none;
        gap: 0.8rem;
    }
    
    .nav-item {
        font-size: 0.9rem;
    }
    
    .title-overlay {
        top: auto;
        bottom: 8rem;
        right: 2rem;
        left: 2rem;
        transform: none;
        text-align: center;
        padding-left: 0;
    }
    
    .main-title {
        font-size: 3rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    /* Video modal adjustments for mobile */
    .video-info-overlay {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .panel-content {
        padding: 5rem 2rem;
    }
    
    .panel-nav {
        gap: 2rem;
    }
    
    .panel-nav-item {
        font-size: 1.3rem;
    }
    
    .close-panel {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2.5rem;
    }
    
    .info-popup {
        top: 4.5rem;
        right: 1.5rem;
        max-width: 280px;
        padding: 1.25rem;
    }
    
    .info-popup p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .fullscreen-background {
        width: 100%;
        height: 50vh;
    }
    
    .fullscreen-background::after {
        width: 100%;
        min-width: 100%;
        height: auto;
        top: 50vh;
        bottom: 0;
    }
    
    .background-image {
        object-position: center center;
        padding-right: 0;
    }
    
    .minimal-nav {
        flex-direction: column;
        gap: 0.7rem;
        top: auto;
        bottom: 1.5rem;
        right: 1rem;
        left: 1rem;
        transform: none;
        text-align: center;
    }
    
    .nav-item {
        font-size: 0.85rem;
    }
    
    .title-overlay {
        top: auto;
        bottom: 6rem;
        right: 1rem;
        left: 1rem;
        transform: none;
        text-align: center;
        padding-left: 0;
    }
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    /* Video modal - stack content vertically */
    .video-modal-content {
        width: 95%;
        height: auto;
        max-height: 90%;
        display: flex;
        flex-direction: column;
    }
    
    .modal-video {
        height: auto;
        max-height: 50vh;
    }
    
    .video-info-overlay {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        max-width: 100%;
        margin-top: 1rem;
        max-height: 35vh;
        overflow-y: auto;
    }
    
    .panel-content {
        padding: 4rem 1.5rem;
    }
    
    .panel-nav {
        gap: 1.5rem;
    }
    
    .panel-nav-item {
        font-size: 1.1rem;
    }
    
    .video-modal-content {
        width: 95%;
        height: 85%;
    }
    
    .close-video {
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .video-info-overlay {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        padding: 1rem;
    }
    
    .video-info-overlay p {
        font-size: 0.85rem;
    }
}

/* Accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #f78619;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid #f78619;
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: #ffffff;
    color: #2c2c2c;
    padding: 0.5rem 0.75rem;
    border: 2px solid #f78619;
    border-radius: 4px;
    z-index: 1000;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 85vh;
}

.modal-video {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.close-video {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
    z-index: 310;
}

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

/* Video Info Overlay on Modal */
.video-info-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    max-width: 380px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 8px;
    z-index: 305;
}

.video-info-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: white;
    margin: 0 0 1rem 0;
    text-indent: 1.5rem;
}

.cskt-link {
    display: block;
    text-align: center;
    color: white;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.cskt-link:hover {
    color: #E08A3E;
}

.bad-bison-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.bad-bison-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: white;
    margin: 0;
    text-align: center;
    font-style: italic;
}

.nowrap {
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}