/**
 * ========================================
 * CONTACT PAGE STYLES - SLIDE PANEL
 * ========================================
 */

:root {
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-form: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent any scrolling */
body {
    overflow: hidden;
}

/* ========================================
   CONTACT HERO SECTION
   ======================================== */

.contact-hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 120px 80px 80px;
    background: #0D0D0D;
    overflow: hidden;
}

.contact-hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/cinema4.jpg') center/cover no-repeat;
    z-index: 1;
}

.contact-hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.9) 0%, rgba(26, 26, 26, 0.85) 100%);
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    transform: translateX(0);
    transition: transform var(--transition-smooth), max-width var(--transition-smooth);
}

.contact-hero.shifted .contact-hero-content {
    max-width: 700px;
    transform: translateX(-45%);
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.c-eyebrow {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 24px;
    transition: all var(--transition-smooth);
}

.c-hero-title {
    font-family: 'Bounded', sans-serif;
    font-size: 60px;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 32px;
    transition: all var(--transition-smooth);
}

.c-hero-subtitle {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    transition: all var(--transition-smooth);
}

/* ========================================
   CONTACT INFO LIST
   ======================================== */

.contact-info-list {
    max-width: 600px;
    margin: 60px auto;
    transition: all var(--transition-smooth);
}

.contact-info-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    min-width: 150px;
}

.info-value {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
    color: white;
    text-align: right;
    flex: 1;
}

/* ========================================
   OPEN FORM BUTTON
   ======================================== */

.btn-open-form {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 50px;
    background: white;
    color: #0D0D0D;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    font-weight: 600;
    margin: 0 auto;
    display: block;
    opacity: 1;
    visibility: visible;
}

.contact-hero.shifted .btn-open-form {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.btn-open-form:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* ========================================
   CONTACT FORM PANEL
   ======================================== */

.contact-form-panel {
    position: fixed;
    top: 90px;
    right: 15px;
    width: auto;
    height: calc(100vh - 105px);
    background: #1a1a1a;
    z-index: 9000;
    padding: 80px 60px 60px;
    overflow-y: auto;
    transform: translateX(calc(100% + 30px));
    opacity: 0;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.contact-form-panel.active {
    transform: translateX(0);
    opacity: 1;
}

.btn-close-panel {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.btn-close-panel:hover {
    color: #999;
    transform: rotate(90deg);
}

.panel-header {
    margin-bottom: 40px;
}

.panel-title {
    font-family: 'Bounded', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-form), transform var(--transition-form);
}

.contact-form-panel.active .panel-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-form), transform var(--transition-form);
}

.contact-form-panel.active .form-group {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for each form group */
.contact-form-panel.active .form-group:nth-child(1) {
    transition-delay: 0.3s;
}

.contact-form-panel.active .form-group:nth-child(2) {
    transition-delay: 0.3s;
}

.contact-form-panel.active .form-group:nth-child(3) {
    transition-delay: 0.6s;
}

.contact-form-panel.active .form-group:nth-child(4) {
    transition-delay: 0.6s;
}

.contact-form-panel.active .form-group:nth-child(5) {
    transition-delay: 0.6s;
}

.form-group label {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: white;
    padding: 10px;
}

.btn-submit {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 18px 40px;
    background: white;
    color: #0D0D0D;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(30px);
}

.contact-form-panel.active .btn-submit {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--transition-form) 0.9s, 
                transform var(--transition-form) 0.9s,
                background 0.3s ease,
                box-shadow 0.3s ease;
}

.btn-submit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .c-hero-title {
        font-size: 70px;
    }
    
    .contact-form-panel {
        width: 60%;
    }
    
    .contact-hero.shifted {
        transform: translateX(-40%);
    }
    
    .panel-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 40px 60px;
    }
    
    .c-hero-title {
        font-size: 50px;
    }
    
    .contact-form-panel {
        width: 100%;
        padding: 100px 40px 40px;
    }
    
    .contact-hero.shifted {
        transform: translateX(-100%);
    }
    
    .panel-title {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .info-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 100px 20px 40px;
    }
    
    .c-hero-title {
        font-size: 36px;
    }
    
    .contact-form-panel {
        padding: 100px 20px 30px;
    }
    
    .panel-title {
        font-size: 28px;
    }
    
    .btn-open-form {
        padding: 16px 40px;
        font-size: 14px;
    }
}
