/* Zugzwang Page - Dark Brown, Orange & Gold Theme */

/* Color Variables */
:root {
    --zug-brown-dark: #1A0F08;
    --zug-brown: #2D1A10;
    --zug-brown-light: #3D2817;
    --zug-orange: #D9773F;
    --zug-orange-light: #E89A6B;
    --zug-gold: #D4A574;
    --zug-gold-light: #E8C9A0;
    --zug-text-light: #F5E6D3;
    --zug-text: #E8D5C4;
}

/* Body Styling */
.zug-body {
    background-color: var(--zug-brown-dark);
    color: var(--zug-text);
    margin: 0;
    padding: 0;
}

/* Transparent Navigation Bar */
.zug-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 15, 8, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    transition: all 0.3s ease;
}

.zug-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.zug-navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.zug-navbar-menu li {
    margin: 0;
    padding: 0;
}

.zug-navbar-menu a {
    color: var(--zug-gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.zug-navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--zug-orange);
    transition: width 0.3s ease;
}

.zug-navbar-menu a:hover {
    color: var(--zug-gold-light);
}

.zug-navbar-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.zug-navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.zug-navbar-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--zug-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.zug-navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.zug-navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.zug-navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Info Sections (Credits, Support, Pledge) */
.zug-info-section {
    background: linear-gradient(180deg, var(--zug-brown-dark) 0%, var(--zug-brown-dark) 50%, var(--zug-brown) 100%);
    padding: 80px 0;
}

.zug-info-section .credits-support-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.zug-info-section .pledge-support-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .zug-info-section {
        padding: 60px 0;
    }
    
    .zug-info-section .credits-support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .zug-info-section {
        padding: 40px 0;
    }
}

/* Hero Section */
.zug-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px; /* Space for navbar */
}

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

.zug-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.zug-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 60%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zug-hero-overlay-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .zug-navbar-container {
        padding: 1rem;
    }
    
    .zug-navbar-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(26, 15, 8, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 2px solid rgba(212, 165, 116, 0.3);
    }
    
    .zug-navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .zug-navbar-menu li {
        width: 100%;
        text-align: center;
    }
    
    .zug-navbar-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .zug-navbar-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .zug-hero {
        height: 70vh;
        padding-top: 60px;
    }
    
    .zug-hero-overlay {
        max-width: 80%;
        max-height: 70%;
    }
}

@media (max-width: 480px) {
    .zug-navbar-container {
        padding: 0.8rem 1rem;
    }
    
    .zug-navbar-menu {
        top: 50px;
    }
    
    .zug-hero {
        height: 60vh;
        padding-top: 50px;
    }
    
    .zug-hero-overlay {
        max-width: 90%;
        max-height: 60%;
    }
    
    .zug-info-section {
        padding: 60px 0;
    }
}

/* Section Styling */
.zug-section {
    background: linear-gradient(180deg, var(--zug-brown-dark) 0%, var(--zug-brown-dark) 50%, var(--zug-brown) 100%);
    padding: 80px 0;
}

.zug-title {
    color: var(--zug-gold);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.zug-title::after {
    background-color: var(--zug-orange);
}

/* Text Styling */
.zugzwang-text {
    color: var(--zug-text-light);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* PDF Section */
.zug-pdf-section {
    background: linear-gradient(135deg, var(--zug-brown-dark) 0%, var(--zug-brown) 100%);
    border: 2px solid var(--zug-gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.zug-pdf-section h3 {
    color: var(--zug-gold);
}

.zug-input {
    background: rgba(245, 230, 211, 0.1);
    border: 2px solid var(--zug-gold);
    color: var(--zug-text-light);
}

.zug-input::placeholder {
    color: var(--zug-text);
    opacity: 0.7;
}

.zug-input:focus {
    outline: none;
    border-color: var(--zug-orange);
    background: rgba(245, 230, 211, 0.15);
    box-shadow: 0 0 15px rgba(217, 119, 63, 0.4);
}

.zug-btn {
    background: linear-gradient(135deg, var(--zug-orange) 0%, var(--zug-gold) 100%);
    color: var(--zug-brown-dark);
    border: 2px solid var(--zug-gold);
    font-weight: 400;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.zug-btn:hover {
    background: linear-gradient(135deg, var(--zug-orange-light) 0%, var(--zug-gold-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

.zug-link {
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid var(--zug-gold);
    color: var(--zug-gold-light);
}

.zug-link:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: var(--zug-orange);
    color: var(--zug-gold-light);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.zug-link i {
    color: var(--zug-orange);
}

/* Crew Credits */
.zug-crew {
    background: linear-gradient(135deg, var(--zug-brown-dark) 0%, var(--zug-brown) 100%);
    border: 2px solid var(--zug-gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.zug-crew h3 {
    color: var(--zug-gold);
}

.zug-crew li {
    color: var(--zug-text-light);
}

.zug-crew strong {
    color: var(--zug-gold);
}

/* Support Section */
.zug-support {
    background: linear-gradient(135deg, var(--zug-brown-dark) 0%, var(--zug-brown) 100%);
    border: 2px solid var(--zug-gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.zug-support h3 {
    color: var(--zug-gold);
}

.zug-support-link {
    background: linear-gradient(135deg, var(--zug-orange) 0%, var(--zug-gold) 100%);
    color: var(--zug-brown-dark);
    border: 2px solid var(--zug-gold);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.zug-support-link:hover {
    background: linear-gradient(135deg, var(--zug-orange-light) 0%, var(--zug-gold-light) 100%);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
    color: var(--zug-brown-dark);
}

/* Pledge Section */
.zug-pledge {
    background: linear-gradient(135deg, var(--zug-brown-dark) 0%, var(--zug-brown) 100%);
    border: 2px solid var(--zug-gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.zug-pledge h3 {
    color: var(--zug-gold);
}

/* Video Section */
.zug-video-section {
    margin-top: 5rem;
}

.zug-video-section:first-of-type {
    margin-top: 4rem;
}

.zug-video-section h3 {
    color: var(--zug-gold);
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    font-weight: 300;
}

.zug-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.zug-video-item {
    background: linear-gradient(135deg, rgba(26, 15, 8, 0.95) 0%, rgba(45, 26, 16, 0.95) 100%);
    border: 3px solid var(--zug-gold);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    transition: all 0.4s ease;
    position: relative;
    width: 100%;
}

.zug-video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217, 119, 63, 0.1) 0%, rgba(212, 165, 116, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.zug-video-item:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.5);
    border-color: var(--zug-orange);
    border-width: 4px;
}

.zug-video-item:hover::before {
    opacity: 1;
}

.zug-video-item h4 {
    color: var(--zug-gold);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.zug-video-item .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    z-index: 2;
    background: #000;
}

.zug-video-item .video-wrapper iframe,
.zug-video-item .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.zug-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    display: block;
}

/* Ensure video shows first frame on mobile */
.zug-video::-webkit-media-controls-panel {
    display: flex !important;
    opacity: 1 !important;
}

/* Force video to load metadata and show first frame */
.zug-video[preload="metadata"] {
    background: #000;
}

/* Contact Section */
.zug-contact {
    background: linear-gradient(180deg, var(--zug-brown-dark) 0%, var(--zug-brown-dark) 100%);
    padding: 80px 0;
}

.zug-contact-text {
    color: var(--zug-text-light);
}

.zug-social-link {
    background: linear-gradient(135deg, var(--zug-brown-light) 0%, var(--zug-brown) 100%);
    border: 2px solid var(--zug-gold);
    color: var(--zug-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.zug-social-link:hover {
    background: linear-gradient(135deg, var(--zug-orange) 0%, var(--zug-gold) 100%);
    color: var(--zug-brown-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
    border-color: var(--zug-orange);
}

.zug-contact .subscribe-panel {
    background: linear-gradient(135deg, rgba(26, 15, 8, 0.9) 0%, rgba(45, 26, 16, 0.9) 100%);
    border: 2px solid var(--zug-gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

/* Footer */
.zug-footer {
    background-color: var(--zug-brown-dark);
    border-top: 2px solid var(--zug-gold);
}

.zug-footer .copyright {
    color: var(--zug-gold);
}

/* Back to Top */
.zug-back-to-top {
    background: linear-gradient(135deg, var(--zug-orange) 0%, var(--zug-gold) 100%);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.zug-back-to-top:hover {
    background: linear-gradient(135deg, var(--zug-orange-light) 0%, var(--zug-gold-light) 100%);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.6);
}

.zug-back-to-top svg {
    fill: var(--zug-brown-dark);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .zug-section {
        padding: 60px 0;
    }
    
    .zug-video-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .zug-hero-overlay {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .zug-section {
        padding: 40px 0;
    }
    
    .zug-video-grid {
        gap: 2.5rem;
        padding: 0 0.5rem;
    }
    
    .zug-video-section h3 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .zug-video-item h4 {
        font-size: 1rem;
        margin: 1rem 0 0.8rem;
    }
}

/* Password Form Error Message */
.zug-pdf-section .password-form p {
    color: var(--zug-gold);
}

/* Form Message Styling */
.zug-section .form-message {
    color: var(--zug-gold);
}

/* ============================================
   Constant Contact Form Styling for Zug Theme
   ============================================ */

/* Pledge Form - Gold/Brown Theme */
.zug-pledge .ctct-inline-form {
    width: 100%;
}

.zug-pledge .ctct-inline-form label {
    color: var(--zug-gold) !important;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    display: block;
}

.zug-pledge .ctct-inline-form input,
.zug-pledge .ctct-inline-form select {
    width: 100% !important;
    padding: 0.8rem !important;
    border: 1px solid rgba(212, 165, 116, 0.3) !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--zug-brown-dark) !important;
    box-sizing: border-box !important;
    height: 44px !important;
}

.zug-pledge .ctct-inline-form input:focus,
.zug-pledge .ctct-inline-form select:focus {
    outline: none !important;
    border-color: var(--zug-orange) !important;
    box-shadow: 0 0 10px rgba(217, 119, 63, 0.3) !important;
}

.zug-pledge .ctct-inline-form button[type="submit"],
.zug-pledge .ctct-inline-form input[type="submit"],
.zug-pledge .ctct-inline-form .ctct-form-button {
    width: 100% !important;
    background: linear-gradient(135deg, var(--zug-orange) 0%, var(--zug-gold) 100%) !important;
    color: var(--zug-brown-dark) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.8rem 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    font-weight: 400 !important;
    height: 44px !important;
    margin-top: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.zug-pledge .ctct-inline-form button[type="submit"]:hover,
.zug-pledge .ctct-inline-form input[type="submit"]:hover,
.zug-pledge .ctct-inline-form .ctct-form-button:hover {
    background: linear-gradient(135deg, var(--zug-orange-light) 0%, var(--zug-gold-light) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5) !important;
}

/* Subscribe Form in Contact Section - Gold accents */
.zug-contact .subscribe-panel .ctct-inline-form label {
    color: var(--zug-gold) !important;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    display: block;
}

.zug-contact .subscribe-panel .ctct-inline-form input,
.zug-contact .subscribe-panel .ctct-inline-form select {
    width: 100% !important;
    padding: 0.8rem !important;
    border: 1px solid rgba(212, 165, 116, 0.3) !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--zug-brown-dark) !important;
    box-sizing: border-box !important;
    height: 44px !important;
}

.zug-contact .subscribe-panel .ctct-inline-form input:focus,
.zug-contact .subscribe-panel .ctct-inline-form select:focus {
    outline: none !important;
    border-color: var(--zug-orange) !important;
    box-shadow: 0 0 10px rgba(217, 119, 63, 0.3) !important;
}

.zug-contact .subscribe-panel .ctct-inline-form button[type="submit"],
.zug-contact .subscribe-panel .ctct-inline-form input[type="submit"],
.zug-contact .subscribe-panel .ctct-inline-form .ctct-form-button {
    width: 100% !important;
    background: linear-gradient(135deg, var(--zug-orange) 0%, var(--zug-gold) 100%) !important;
    color: var(--zug-brown-dark) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.8rem 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    font-weight: 400 !important;
    height: 44px !important;
    margin-top: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.zug-contact .subscribe-panel .ctct-inline-form button[type="submit"]:hover,
.zug-contact .subscribe-panel .ctct-inline-form input[type="submit"]:hover,
.zug-contact .subscribe-panel .ctct-inline-form .ctct-form-button:hover {
    background: linear-gradient(135deg, var(--zug-orange-light) 0%, var(--zug-gold-light) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5) !important;
}
