/* === CONTACT HERO SECTION === */
.contact-hero {
    background: linear-gradient(180deg, #f0ede6 0%, var(--bg-color) 100%);
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    text-align: center;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-dark);
}

.contact-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 1rem auto 0 auto;
}

/* === CONTACT DETAILS SECTION === */
.contact-details {
    /* No card style on the section itself */
    padding-top: 1rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--card-bg-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(58, 74, 93, 0.07);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Added hover transition */
}

.contact-card:hover {
    transform: translateY(-5px);
    /* Lift card on hover */
    box-shadow: 0 8px 30px rgba(58, 74, 93, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    background-color: var(--light-bg-inner);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.contact-card p {
    color: #555;
    margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card span {
    font-weight: 500;
    color: var(--primary-dark);
    display: block;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* === CONTACT FORM SECTION === */
/* Uses .section--card style */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: var(--light-bg-inner);
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(58, 74, 93, 0.1);
    background-color: var(--card-bg-color);
}

.contact-form button[type="submit"] {
    display: block;
    margin: 1.5rem auto 0 auto;
    width: auto;
    min-width: 180px;
    /* Inherits .btn styles */
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Add transform transition */
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    /* Lift button on hover */
}

.contact-form button[type="submit"]:disabled {
    background-color: var(--secondary-muted);
    cursor: not-allowed;
    transform: none;
}

/* Success/Error Messages */
.message-card {
    text-align: center;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.message-card.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-card.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-card i {
    margin-right: 0.5rem;
}

/* === MAP SECTION === */
/* Uses .section--card style */
.map-section {
    padding-bottom: 0;
}

/* Remove bottom padding to align map edge */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    line-height: 0;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* === CONTACT PAGE SPECIFIC MEDIA QUERIES === */
@media screen and (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}