/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* ----- HERO ----- */
.hero-contact {
    min-height: 60vh;
    background: var(--color-deep-blue);
}

.hero-contact .hero-subtitle {
    max-width: 640px;
}

/* ----- FORM SECTION ----- */
.contact-form-section {
    padding: 4rem 0 5rem;
    background: var(--color-off-white);
}

.contact-form {
    max-width: 720px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
    border-top: 5px solid var(--color-gold);
}

/* Shared form styles (matches sponsors/ambassadors) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-deep-blue);
    margin-bottom: 0.5rem;
}

.required {
    color: #c0392b;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d8d2c9;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-deep-blue);
    background: var(--color-off-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230a1628' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
    background: var(--color-white);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.field-hint {
    font-size: 0.8rem;
    color: var(--color-silver-dark);
    margin-top: 0.4rem;
    font-style: italic;
}

/* Conditional fields animation */
.reason-fields {
    animation: slideDown 0.35s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1.1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-silver-dark);
    margin-top: 1rem;
}

/* Error / success states */
.form-errors {
    max-width: 720px;
    margin: 0 auto 2rem;
    background: #fdf2f0;
    border-left: 4px solid #c0392b;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    color: #8a2a1e;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.form-errors i {
    color: #c0392b;
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.form-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.form-errors li {
    padding: 0.15rem 0;
}

.form-success {
    max-width: 600px;
    margin: 2rem auto 0;
    background: var(--color-white);
    border-top: 5px solid var(--color-gold);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

.form-success i {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-deep-blue);
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 1rem;
    color: var(--color-silver-dark);
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-contact {
        min-height: 50vh;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form {
        padding: 2rem 1.5rem;
    }
    .form-field textarea {
        min-height: 120px;
    }
}