/* ===================================
   CONTACT PAGE STYLES
   =================================== */

.contact-page-wrapper {
    padding-bottom: var(--spacing-xxl);
    background-color: var(--bg-color);
}

/* Hero Section */
.contact-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
}

.contact-hero .section-title {
    color: #fff !important;
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Main Content Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

/* Contact Form */
.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(23, 95, 83, 0.1);
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-top: 10px;
}

.contact-form .btn:hover {
    background-color: var(--active-link);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-right: 4px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.info-card li:last-child {
    margin-bottom: 0;
}

.info-card li img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.info-card a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.info-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.info-card a:hover {
    color: var(--primary-color);
}

.info-card a:hover::after {
    width: 100%;
}

/* Socials */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0); /* Make icons black initially */
    transition: filter 0.2s;
}

.social-link:hover img {
    filter: brightness(100); /* Make icons white on hover */
}

/* Map Section */
.map-section {
    margin-top: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-card {
        order: 2;
    }
    
    .contact-info-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero .section-title {
        font-size: 2.2rem;
    }
    
    .contact-form-card {
        padding: 25px;
    }
}
