/* ============================================
   CONTACT PAGE – Imports shared styles + overrides
   ============================================ */
@import url('style.css?v=10');

/* ---- Hero Background Image ---- */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Minimal redshift overlay for the hero background */
.hero-bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-red);
    opacity: 0.25;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 20;
}

/* ---- Glitch Overlay Container ---- */
.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
}

.glitch-slice {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    will-change: transform, opacity, filter;
    transform: translateZ(0);
}

.glitch-slice-img {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1200%;
    object-fit: cover;
    object-position: center 30%;
    pointer-events: none;
}

/* ============================================
   CONTACT SECTION – Split Layout
   ============================================ */
.contact-section {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100vw;
    height: auto !important; /* Overrides style.css height: 100vh */
    min-height: 100vh;
    margin-top: 0 !important; /* Overrides style.css margin-top: -100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 100px 0 140px 0;
}

/* Background image behind the whole section */
.contact-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.3) saturate(0.6);
}

.contact-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(5, 5, 5, 0.8) 40%,
        rgba(30, 0, 10, 0.85) 100%
    );
}

/* Main layout container */
.contact-layout {
    position: relative;
    z-index: 2;
    display: flex;
    width: 90vw;
    max-width: 1300px;
    gap: 60px;
    align-items: stretch;
}

/* ---- Left: Info Side ---- */
.contact-side-info {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.contact-title {
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 3px;
    line-height: 0.95;
    margin: 0 0 10px 0;
}

.contact-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-red);
    margin-top: 20px;
    box-shadow: 0 0 12px var(--accent-red);
}

.contact-subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 25px 0 40px 0;
    max-width: 280px;
}

.contact-side-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.contact-detail-item svg {
    opacity: 0.5;
    flex-shrink: 0;
}

/* ---- Right: Form Card ---- */
.contact-form-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* ---- Tab Switcher ---- */
.contact-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 35px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-tab {
    flex: 1;
    padding: 15px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.contact-tab + .contact-tab {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-tab .tab-icon {
    display: flex;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.contact-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.contact-tab.active {
    background: var(--accent-red);
    color: white;
}

.contact-tab.active .tab-icon {
    opacity: 1;
}

.contact-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent-red);
}

/* ---- Forms ---- */
.contact-form {
    display: none;
    animation: fadeInUp 0.4s ease forwards;
}

.contact-form.active {
    display: block;
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group.full-width {
    margin-bottom: 16px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 12px 16px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 50, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

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

/* Custom Select */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.custom-select-wrapper select option {
    background: #111;
    color: white;
}

/* ---- Social Inputs (DJ form) ---- */
.social-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-label {
    width: 100px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

.social-input-row input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 14px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
}

.social-input-row input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.social-input-row input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 50, 0.12);
}

/* ---- Work Form Conditional Fields ---- */
.work-conditional-field {
    animation: fadeInField 0.35s ease forwards;
}

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

/* ---- File Upload ---- */
.file-upload-area {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.015);
}

.file-upload-area:hover {
    border-color: var(--accent-red);
    background: rgba(255, 0, 50, 0.03);
}

.file-upload-area.has-file {
    border-style: solid;
    border-color: var(--accent-red);
}

.file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    pointer-events: none;
    color: rgba(255, 255, 255, 0.4);
}

.file-upload-content svg {
    margin-bottom: 8px;
    opacity: 0.35;
}

.file-upload-content p {
    font-size: 14px;
    margin: 0 0 4px 0;
}

.file-upload-content span {
    color: var(--accent-red);
    font-weight: 600;
}

.file-upload-content small {
    font-size: 11px;
    opacity: 0.4;
}

.file-upload-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 5px 0;
}

.file-name {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.file-remove {
    background: rgba(255, 0, 50, 0.2);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.file-remove:hover {
    background: var(--accent-red);
    color: white;
}

/* ---- Submit Button ---- */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 30px;
    margin-top: 24px;
    background: var(--accent-red);
    border: none;
    border-radius: 6px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 0, 50, 0.4);
}

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

/* ---- Success Message ---- */
.form-success {
    text-align: center;
    padding: 50px 20px;
}

.success-icon {
    color: var(--accent-red);
    margin-bottom: 20px;
}

.success-icon svg {
    animation: successPulse 2s ease infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.form-success h3 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-main);
    margin: 0 0 12px 0;
}

.form-success p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* ---- Scroll Down Indicator ---- */
.scroll-down-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.scroll-down-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 800;
}

.scroll-line-container {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line-animated {
    width: 100%;
    height: 50%;
    background: var(--accent-red);
    position: absolute;
    top: 0;
    left: 0;
    animation: scrollLineDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLineDrop {
    0% { transform: translateY(-100%); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(200%); opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }

    .contact-side-info {
        flex: none;
        text-align: center;
        align-items: center;
        padding: 0;
    }

    .contact-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-subtitle {
        max-width: 400px;
    }

    .contact-side-details {
        align-items: center;
    }

    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 50px 0 120px 0;
        min-height: auto;
        height: auto !important;
        overflow: visible !important;
    }

    .contact-layout {
        width: 100%;
        max-width: 100%;
        padding: 0 18px;
        gap: 30px;
    }

    .contact-side-info {
        padding: 0;
    }

    .contact-title {
        font-size: 38px;
    }

    .contact-subtitle {
        margin: 15px 0 25px 0;
        font-size: 14px;
        line-height: 1.6;
    }

    .contact-tabs {
        flex-direction: column;
        margin-bottom: 25px;
    }

    .contact-tab + .contact-tab {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .contact-tab {
        padding: 14px 16px;
        font-size: 12px;
    }

    .contact-tab.active::after {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }

    .form-group.full-width {
        margin-bottom: 14px;
    }

    .social-input-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .social-label {
        width: auto;
        font-size: 12px;
    }

    .social-input-row input {
        width: 100%;
    }

    .contact-form-card {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .submit-btn {
        padding: 16px 20px;
        margin-top: 22px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-layout {
        padding: 0 12px;
    }

    .contact-form-card {
        padding: 20px 14px;
    }

    .file-upload-area {
        padding: 16px 12px;
    }

    .contact-tab {
        padding: 12px 14px;
        font-size: 11px;
    }
}
