/* Contact Header - Specific overrides */
.contact-intro-text {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Messages */
.form-message {
    max-width: 600px;
    margin: 20px auto 0;
    padding: 15px 20px;
    border-radius: 4px;
    font-family: 'DIN Regular';
    font-size: 1rem;
    text-align: center;
}

.form-success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4CAF50;
}

.form-error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

/* Contact Form Section */
.contact-form-section {
    padding: 0 20px 120px;
    box-sizing: border-box;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Form Grid - Two Columns */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    margin-bottom: 20px;
}

/* Form Fields */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-family: 'DIN Regular';
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.field-info {
    font-family: 'DIN Light';
    text-transform: none;
    opacity: 0.6;
}

.optional-label,
.separator,
.field-info .field-help {
    font-family: 'DIN Light';
    text-transform: none;
    font-size: 0.85rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    background-color: transparent;
    border: 1px solid var(--white);
    border-radius: 4px;
    color: var(--white);
    font-family: 'DIN Light';
    font-size: 1rem;
    transition: border-color 0.3s ease;
    height: 50px;
    max-height: 50px;
    box-sizing: border-box;
    padding: 0px 12px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
}

.form-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Date picker calendar icon */
.form-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.form-field select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.form-field select option {
    background-color: var(--bg);
    color: var(--white);
}

.form-field select option:hover,
.form-field select option:checked {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Textarea Field - Full Width */
.form-field-full {
    grid-column: 1 / -1;
    position: relative;
}

.form-field-full textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 12px;
    padding-bottom: 30px;
}

.character-count {
    position: relative;
    font-family: 'DIN Light';
    font-size: 0.85rem;
    opacity: 0.6;
    pointer-events: none;
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 0px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1px solid var(--white);
    border-radius: 3px;
    background-color: transparent;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--white);
    border-radius: 1px;
}

.checkbox-text {
    font-family: 'DIN Light';
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* Submit Button */
.form-submit {
    text-align: center;
}

/* reCAPTCHA */
.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-notice {
    text-align: center;
    margin: 20px 0;
    opacity: 0.6;
}

.recaptcha-notice small {
    font-family: 'DIN Light';
    font-size: 0.75rem;
}

.recaptcha-notice a {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .form-field label {
        font-size: 0.85rem;
    }
}

@media (max-width: 720px) {
    .form-grid {
        gap: 16px 20px;
    }

    .optional-label,
    .separator,
    .field-info .field-help {
        font-size: 0.7rem;
    }
}

@media (max-width: 560px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}