/* Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Contact Info */
.contact-info {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.contact-info > p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Contact Method */
.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f4f8;
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-details a, 
.contact-details p {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    line-height: 1.6;
}

.contact-details a:hover {
    color: var(--primary-color);
}

/* Social Links */
.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f5f7fa;
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-links-contact a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Working Hours */
.working-hours {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f4f8;
}

.working-hours h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.working-hours h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e9ecef;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .day {
    color: var(--dark-color);
    font-weight: 500;
}

.hours-list .hours {
    color: var(--gray-color);
}

.hours-list .closed {
    color: #ef4444;
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.contact-form p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Map Container */
.map-container {
    margin: 60px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Emergency Banner */
.emergency-banner {
    background: #fff8f8;
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.emergency-banner h3 {
    color: #b91c1c;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emergency-banner p {
    margin: 0 0 0.5rem 0;
    color: #7f1d1d;
}

.emergency-banner a {
    color: #b91c1c;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.emergency-banner a:hover {
    color: #7f1d1d;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .map-container {
        height: 300px;
        margin: 40px 0;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 0 50px;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 20px;
    }
    
    .contact-method {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 15px;
    }
    
    .hours-list li {
        flex-direction: column;
        gap: 5px;
        padding: 12px 0;
    }
    
    .map-container {
        height: 250px;
    }
}

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

.contact-info,
.contact-form-container,
.map-container,
.emergency-banner {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.contact-form-container {
    animation-delay: 0.2s;
}

.map-container {
    animation-delay: 0.4s;
}

.emergency-banner {
    animation-delay: 0.6s;
}
