/* Contact Page - Modern Redesign */

/* Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #06b6d4 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-pattern-overlay {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.contact-hero-section .container {
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Contact Info & Map Section */
.contact-info-map-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-details-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-detail-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.contact-detail-item-modern:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.2rem;
}

.contact-text-modern h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text-modern p {
    font-size: 1rem;
    color: #212529;
    margin-bottom: 4px;
    line-height: 1.5;
}

.contact-text-modern a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text-modern a:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

.contact-social-icons {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.social-icon-link {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Map Section */
.map-wrapper-modern {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    min-height: 500px;
}

.interactive-map-modern {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

.map-info-card {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    max-width: 280px;
    z-index: 10;
}

.map-info-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
}

.map-rating-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.stars-modern {
    display: flex;
    gap: 2px;
}

.stars-modern i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text-modern {
    font-size: 0.85rem;
    color: #6c757d;
}

.map-address-modern {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* Contact Form Section */
.contact-form-section-modern {
    background: white;
    padding: 80px 0;
}

.form-card-modern {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

.form-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin-bottom: 40px;
}

.alert-modern {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.alert-success-modern {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger-modern {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-label-modern {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-input-modern {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-family: inherit;
}

.form-input-modern:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-input-modern::placeholder {
    color: #9ca3af;
}

.form-textarea-modern {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 8px;
}

.char-counter span {
    font-weight: 600;
    color: #6366f1;
}

.form-actions-modern {
    text-align: center;
    margin-top: 10px;
}

.btn-submit-modern {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

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

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

.accordion {
    --bs-accordion-border-color: #e5e7eb;
    --bs-accordion-border-radius: 12px;
    --bs-accordion-btn-padding-x: 24px;
    --bs-accordion-btn-padding-y: 20px;
    --bs-accordion-body-padding-x: 24px;
    --bs-accordion-body-padding-y: 20px;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    color: #212529;
    background: white;
}

.accordion-button:not(.collapsed) {
    background: #f9fafb;
    color: #6366f1;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
    border-color: #6366f1;
}

.accordion-body {
    color: #6c757d;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-hero-title {
        font-size: 3rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper-modern {
        min-height: 400px;
    }
    
    .map-info-card {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        padding: 100px 0 60px;
    }
    
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-details-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .form-card-modern {
        padding: 30px 20px;
    }
    
    .form-title-modern {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-submit-modern {
        width: 100%;
        justify-content: center;
    }
}

/* Loading State */
.contact-form-modern.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Character Counter Animation */
#charCount {
    transition: color 0.3s ease;
}

#message:focus + .char-counter #charCount {
    color: #6366f1;
}
