/* Contact Page Styles */
.contact-page {
    background: var(--mcbb-bg);
    min-height: 100vh;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    color: var(--mcbb-gold);
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-intro {
    font-family: 'Poppins', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styling */
.contact-form {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h2 {
    color: var(--mcbb-gold);
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--mcbb-gold);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    color: var(--mcbb-gold);
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--mcbb-text);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mcbb-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

/* Fix dropdown option visibility */
.form-group select option {
    background: #2c2c2c;
    color: #ffffff;
    padding: 0.5rem;
}

/* Ensure dropdown text is visible in all states */
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--mcbb-text);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* Ensure dropdown arrow is visible */
    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='%23d4af37' 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 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Specific styling for different browsers */
.form-group select::-webkit-scrollbar {
    width: 8px;
}

.form-group select::-webkit-scrollbar-track {
    background: #2c2c2c;
}

.form-group select::-webkit-scrollbar-thumb {
    background: var(--mcbb-gold);
    border-radius: 4px;
}

/* Firefox specific */
@-moz-document url-prefix() {
    .form-group select option {
        background: #2c2c2c;
        color: #ffffff;
    }
}

/* Field Notes */
.field-note {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0.25rem 0;
}

/* Conditional Section */
.conditional-section {
    background: rgba(212, 175, 55, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 1.5rem;
}

/* reCAPTCHA Container */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

/* Form Disclaimer */
.form-disclaimer {
    text-align: center;
    margin-bottom: 2rem;
}

.form-disclaimer p {
    font-family: 'Poppins', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
}

/* Submit Button */
.submit-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--mcbb-gold), #b8941f);
    color: #000;
    border: none;
    border-radius: 6px;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background: linear-gradient(135deg, #b8941f, var(--mcbb-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

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

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-loading {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-intro {
        font-size: 1.1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group {
        min-width: auto;
    }
    
    .conditional-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .form-section h2 {
        font-size: 1.3rem;
    }
    
    .submit-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Form Validation States */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.form-group.has-success input,
.form-group.has-success select,
.form-group.has-success textarea {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-family: 'Poppins', Arial, sans-serif;
}

/* Form Response Messages */
.form-response {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', Arial, sans-serif;
    text-align: center;
}

.form-response.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-response.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}