/* Contact Page Styles - Enhanced with FAQ */
/* Mobile-First, Multi-Step Form Design */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(2px);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: var(--space-8) var(--space-4);
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-6);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-description {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-10);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
}

@media (max-width: 768px) {
    .hero-contact-options {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

.contact-option {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.contact-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    color: inherit;
}

.option-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

.option-icon i {
    font-size: var(--text-2xl);
    color: var(--black);
}

.option-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-1);
}

.option-content p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Main Contact Section */
.main-contact-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-16);
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
}

/* Contact Form Container */
.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    border: 2px solid var(--gray-100);
    overflow: hidden;
}

.form-header {
    padding: var(--space-8);
    background: var(--gradient-primary);
    text-align: center;
    color: var(--black);
}

.form-header h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--black);
}

.form-header p {
    font-size: var(--text-base);
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
}

/* Multi-Step Form */
.contact-form {
    padding: var(--space-8);
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.form-step h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    text-align: center;
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--primary-gold);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-900);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

/* Radio and Checkbox Groups */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-3);
}

@media (max-width: 640px) {
    .radio-group {
        grid-template-columns: 1fr;
    }
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    font-size: var(--text-sm);
    font-weight: 500;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.05);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    display: none;
}

.radio-custom,
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-400);
    border-radius: var(--radius-full);
    position: relative;
    flex-shrink: 0;
}

.checkbox-custom {
    border-radius: var(--radius-sm);
}

.radio-option input[type="radio"]:checked + .radio-custom,
.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--primary-gold);
    background: var(--gradient-primary);
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition);
}

.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--black);
    font-weight: bold;
    font-size: var(--text-sm);
    transition: var(--transition);
}

.radio-option input[type="radio"]:checked + .radio-custom::after,
.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

.form-navigation .btn {
    padding: var(--space-4) var(--space-6);
    font-weight: 600;
}

@media (max-width: 640px) {
    .form-navigation {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .form-navigation .btn {
        width: 100%;
    }
}

/* Form Progress Indicator */
.form-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-6) var(--space-4);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    gap: var(--space-4);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-size: var(--text-xs);
}

.progress-step.active {
    background: var(--gradient-primary);
    color: var(--black);
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-xs);
    color: var(--white);
}

.progress-step.active .step-number {
    background: var(--black);
    color: var(--primary-gold);
}

.step-label {
    font-weight: 600;
}

@media (max-width: 640px) {
    .step-label {
        display: none;
    }
    
    .form-progress {
        gap: var(--space-2);
    }
}

/* Contact Information Container */
.contact-info-container {
    background: var(--gradient-dark);
    color: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-2xl);
    position: sticky;
    top: var(--space-8);
}

@media (max-width: 1024px) {
    .contact-info-container {
        position: static;
        margin-top: var(--space-8);
    }
}

.contact-info h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.info-items {
    display: grid;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--primary-gold);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: var(--text-lg);
    color: var(--primary-gold);
}

.info-content h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--white);
}

.info-content a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-lg);
}

.info-content a:hover {
    color: var(--secondary-gold);
}

.info-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.contact-features {
    display: grid;
    gap: var(--space-3);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.feature-badge i {
    color: var(--primary-gold);
    font-size: var(--text-base);
}

.feature-badge span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--white);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: var(--space-16) auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: var(--space-6);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-gold);
}

.faq-question i {
    font-size: var(--text-base);
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-6);
    margin: 0;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: var(--text-base);
}

/* Quick Contact CTA */
.quick-contact-cta {
    padding: var(--space-20) 0;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

.quick-contact-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.quick-contact-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-6);
    color: var(--white);
}

.quick-contact-cta p {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

.btn-large {
    padding: var(--space-5) var(--space-8);
    font-size: var(--text-lg);
    min-width: 200px;
}

/* Footer Email Addition */
.footer-email {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-400);
    text-decoration: none;
    margin-top: var(--space-2);
    transition: var(--transition);
}

.footer-email:hover {
    color: var(--primary-gold);
}

.footer-email i {
    color: var(--primary-gold);
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: var(--text-sm);
    margin-top: var(--space-1);
    display: none;
}

.error-message.show {
    display: block;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Loading and Success States */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    background: #10b981;
    color: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: var(--space-6);
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .contact-hero {
        min-height: 60vh;
    }
    
    .hero-contact-options {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .contact-option {
        padding: var(--space-4);
    }
    
    .option-icon {
        width: 50px;
        height: 50px;
    }
    
    .option-icon i {
        font-size: var(--text-xl);
    }
    
    .contact-form {
        padding: var(--space-6);
    }
    
    .contact-info-container {
        padding: var(--space-6);
    }
    
    .faq-question {
        padding: var(--space-4);
        font-size: var(--text-base);
    }
    
    .faq-answer p {
        padding: 0 var(--space-4) var(--space-4);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .form-step,
    .faq-answer,
    .contact-option,
    .faq-question i {
        animation: none;
        transition: none;
    }
}

/* Focus States */
.faq-question:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.radio-option:focus-within,
.checkbox-option:focus-within {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .contact-hero,
    .quick-contact-cta,
    .form-navigation,
    .form-progress {
        display: none;
    }
    
    .contact-form-container {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
    
    .faq-answer {
        max-height: none;
    }
}