/* Contact Page Specific Styles */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Contact Content */
.contact-content {
    padding: 5rem 0;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
    color: var(--secondary);
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form */
.contact-form-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-header p {
    color: var(--secondary);
    font-size: 1.125rem;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Contact Info */
.contact-info-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 2rem;
}

.info-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.info-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.info-header p {
    color: var(--secondary);
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray);
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.method-content p,
.method-content a {
    color: var(--secondary);
    text-decoration: none;
    line-height: 1.6;
}

.method-content a:hover {
    color: var(--primary);
}

.email-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-actions {
    border-top: 1px solid var(--gray);
    padding-top: 2rem;
}

.quick-actions h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
    text-align: center;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-buttons .btn {
    justify-content: center;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.map-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--secondary);
    line-height: 1.7;
    margin: 0;
}

/* Active State for Navigation */
.button.active {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.25rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info-section {
        position: static;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-answer.active {
        padding: 0 1.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 2rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }
    
    .form-header h2,
    .info-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .method-icon {
        align-self: center;
    }
}

/* Form Validation Styles */
.form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e53e3e;
}

.form-group input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #38a169;
}

/* Loading State for Form */
.form-submit .btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.form-submit .btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Preloader */
#preloader {
    background: #ffffff url(../images/preloader.gif) no-repeat center center;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 10000;
}