/* ==========================================================================
   WOMEN PHOTOGRAPHY AWARDS - CONTACT PAGE STYLES
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

.wpa-page {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #083243;
    color: #ffffff;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

/* ===== HERO ===== */
.wpa-hero {
    min-height: 420px;
    height: 55vh;
    background-image: url('https://womenphotographyawards.com/wp-content/uploads/2026/05/artifact-copy.jpg');
    background-size: cover;
    background-position: center 30%;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===== REASON SELECTOR ===== */
.wpa-reason-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
}
.wpa-reason-bar::-webkit-scrollbar { display: none; }

.wpa-reason-btn {
    flex: 1;
    min-width: 0;
    padding: 28px 20px;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
}

/* Per-tab colors — inactive (muted dark version of brand color) */
.wpa-reason-btn[data-reason="general"]  { background: #0e5f6e; }
.wpa-reason-btn[data-reason="collab"]   { background: #c4851a; }
.wpa-reason-btn[data-reason="sponsor"]  { background: #6a9434; }
.wpa-reason-btn[data-reason="press"]    { background: #2c3e6b; }
.wpa-reason-btn[data-reason="support"]  { background: #5a2e6b; }

/* Per-tab colors — active (full bright brand color) */
.wpa-reason-btn[data-reason="general"].active  { background: #177e8f; }
.wpa-reason-btn[data-reason="collab"].active   { background: #f8a722; }
.wpa-reason-btn[data-reason="sponsor"].active  { background: #8bbc45; }
.wpa-reason-btn[data-reason="press"].active    { background: #4a5fa8; }
.wpa-reason-btn[data-reason="support"].active  { background: #9c27b0; }

/* Hover */
.wpa-reason-btn[data-reason="general"]:not(.active):hover  { background: #126e7f; }
.wpa-reason-btn[data-reason="collab"]:not(.active):hover   { background: #d9951e; }
.wpa-reason-btn[data-reason="sponsor"]:not(.active):hover  { background: #7aaa3d; }
.wpa-reason-btn[data-reason="press"]:not(.active):hover    { background: #374d85; }
.wpa-reason-btn[data-reason="support"]:not(.active):hover  { background: #7b1fa2; }

.wpa-reason-btn-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s;
    filter: grayscale(0.3) opacity(0.5);
}
.wpa-reason-btn.active .wpa-reason-btn-icon {
    filter: none;
    transform: scale(1.1);
}

.wpa-reason-btn-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
    white-space: nowrap;
    line-height: 1;
}
.wpa-reason-btn.active .wpa-reason-btn-label {
    color: #ffffff;
}
.wpa-reason-btn:not(.active):hover .wpa-reason-btn-label {
    color: rgba(255, 255, 255, 0.85);
}

/* Active indicator bar at bottom */
.wpa-reason-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: rgba(255,255,255,0.5);
    transform: scaleX(0);
    transition: transform 0.22s ease;
}
.wpa-reason-btn.active::after {
    transform: scaleX(1);
}

/* ===== MAIN CONTENT ===== */
.wpa-contact-main {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    min-height: 700px;
    align-items: stretch;
}

/* LEFT INFO PANEL */
.wpa-info-panel {
    background: #0c1a20;
    padding: 80px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255,255,255,0.06);
    min-height: 700px;
    transition: background 0.4s ease;
}

.wpa-reason-context {
    display: none;
}
.wpa-reason-context.active {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wpa-info-eyebrow {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.wpa-info-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 4vw, 58px);
    line-height: 0.92;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 28px;
}
.wpa-info-heading span { color: #f8a722; }
.wpa-info-body {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    margin-bottom: 40px;
    max-width: 340px;
}

.wpa-info-detail-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.wpa-info-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.wpa-info-detail-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}
.wpa-info-detail-label {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 4px;
}
.wpa-info-detail-value {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: rgba(255,255,255,0.8);
}

.wpa-info-response-time {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.wpa-info-response-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8bbc45;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.wpa-info-response-text {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
}
.wpa-info-response-text strong {
    color: rgba(255,255,255,0.75);
    font-weight: 700;
}

/* RIGHT FORM PANEL */
.wpa-form-panel {
    background: #083243;
    padding: 80px 56px;
    display: flex;
    flex-direction: column;
    transition: background 0.4s ease;
}

.wpa-info-heading span {
    color: #f8a722;
    transition: color 0.4s ease;
}

.wpa-form-reason-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 44px;
}
.wpa-form-reason-badge {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 16px;
    background: rgba(139,188,69,0.12);
    color: #8bbc45;
    border: 1px solid rgba(139,188,69,0.2);
    transition: all 0.3s ease;
}
.wpa-form-reason-label {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

/* Form fields */
.wpa-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.wpa-field-row.single { grid-template-columns: 1fr; }

.wpa-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wpa-field label {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}
.wpa-field label .req {
    color: #f8a722;
    margin-left: 3px;
}
.wpa-field input,
.wpa-field textarea,
.wpa-field select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}
.wpa-field input::placeholder,
.wpa-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.wpa-field input:focus,
.wpa-field textarea:focus,
.wpa-field select:focus {
    border-color: rgba(139,188,69,0.5);
    background: rgba(139,188,69,0.04);
}
.wpa-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.wpa-field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.55)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.wpa-field select option { background: #0c1a20; color: #ffffff; }

/* Dynamic extra fields */
.wpa-dynamic-fields {
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.wpa-extra-field-group {
    display: none;
}
.wpa-extra-field-group.active {
    display: block;
}

/* Submit button */
.wpa-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.07);
    gap: 20px;
    flex-wrap: wrap;
}
.wpa-privacy-note {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 280px;
}
.wpa-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 44px;
    background: #8bbc45;
    color: #083243;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease, transform 0.1s;
    flex-shrink: 0;
}
.wpa-submit-btn:active { transform: scale(0.98); }

/* Success state */
.wpa-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    min-height: 400px;
    gap: 20px;
}
.wpa-success-state.visible { display: flex; }
.wpa-success-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(139,188,69,0.12);
    border: 1px solid rgba(139,188,69,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
}
.wpa-success-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 48px;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
}
.wpa-success-heading span { color: #8bbc45; }
.wpa-success-body {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 360px;
}

/* ===== BOTTOM INFO STRIP ===== */
.wpa-contact-strip {
    background: #222222;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.wpa-strip-item {
    padding: 52px 48px;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wpa-strip-item:last-child { border-right: none; }
.wpa-strip-icon {
    font-size: 22px;
    margin-bottom: 6px;
    opacity: 0.5;
}
.wpa-strip-label {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.wpa-strip-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.1;
}
.wpa-strip-sub {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .wpa-contact-main { grid-template-columns: 1fr; }
    .wpa-info-panel { padding: 56px 32px; min-height: auto; }
    .wpa-form-panel { padding: 56px 32px; }
    .wpa-contact-strip { grid-template-columns: 1fr; }
    .wpa-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 36px 32px; }
    .wpa-reason-bar { 
        padding: 0; 
        flex-wrap: wrap;
    }
    .wpa-reason-btn { 
        padding: 16px 10px; 
        flex: 1 0 30%;
        min-width: 120px;
    }
}
@media (max-width: 600px) {
    .wpa-field-row { grid-template-columns: 1fr; }
    .wpa-submit-row { flex-direction: column; align-items: flex-start; }
    .wpa-submit-btn { width: 100%; justify-content: center; }
    .wpa-reason-btn {
        flex: 1 0 45%;
    }
}
