@charset "UTF-8";

/* --- CONTACTS PAGE --- */
.contacts {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.contacts h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.contacts p {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-gray);
    font-size: 1.1rem;
    text-align: center;
}

/* UPDATED GRID (like in Reviews section in About) */
.contact-methods {
    display: grid;
    /* Was 280px, now 300px — for better symmetry with other pages */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    margin-bottom: 50px;
}

/* UPDATED CARD STYLE */
.contact-card {
    background: #fff;       /* White background */
    padding: 40px 30px;     /* Inner padding */
    border-radius: 12px;    /* Rounded corners */
    border-top: 4px solid var(--primary-color); /* Your branded green accent */
    
    /* Shadow for "card" effect, like in modern designs */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    
    text-align: center;     /* Text centering */
    height: 100%;           /* Equal card height */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-card p {
    margin-bottom: 15px; /* Fixing padding for text inside the card */
}

/* Links inside cards */
.contact-card a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* --- MAP STYLES (Google Maps) --- */
.map-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px; /* Centering and bottom margin */
    padding: 0 20px;     /* Side margins on mobile */
    height: 450px;       /* Fixed height */
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px; /* Rounding map to match card style */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 0;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .contacts {
        margin: 60px auto;
    }

    .contact-methods {
        grid-template-columns: 1fr; /* One column on mobile */
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
}
