/* Contact Page Specific Styles */

.contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    position: relative;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, #fff, transparent);
}

.contact-info {
    padding: 5rem 10%;
    background: #fff;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.contact-form-section {
    padding: 5rem 10%;
    background: #f9f9f9;
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #f9f9f9);
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contact-form-text {
    padding-right: 2rem;
}

.contact-form-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.contact-form-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

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

.submit-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.map-section {
    height: 500px;
    position: relative;
    overflow: hidden;
}

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

@media (max-width: 992px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-text {
        padding-right: 0;
        text-align: center;
    }

    .contact-form-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 40vh;
    }

    .contact-info,
    .contact-form-section {
        padding: 3rem 5%;
    }

    .contact-form {
        padding: 2rem;
    }

    .map-section {
        height: 400px;
    }

    .whatsapp-link textarea {
        font-size: 0.9rem;
    }

    .whatsapp-link .submit-btn {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 1.5rem;
    }

    .contact-form-text h2 {
        font-size: 2rem;
    }
}

.whatsapp-link {
    text-align: center;
    margin-top: 2rem;
}

.whatsapp-link textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.3s ease;
}

.whatsapp-link textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(var(--primary-rgb), 0.2);
}

.whatsapp-link .submit-btn {
    background: #25D366;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.whatsapp-link .submit-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}