/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: var(--hero-padding);
    text-align: center;
    margin-bottom: var(--section-margin);
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: var(--section-margin);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Styles */
.contact-form-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-wrapper h2 {
    margin-bottom: 25px;
    color: var(--heading-color);
    border-bottom: 1px solid var(--border-color); /* Match theme style */
    padding-bottom: 10px;
    display: block; /* Change from inline-block to block to span full width like other forms */
}

.jbaylet-form .form-group {
    margin-bottom: 20px;
}

.jbaylet-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555; /* Match theme form label color */
    font-size: 0.9rem; /* Match theme form label size */
}

.jbaylet-form input[type="text"],
.jbaylet-form input[type="email"],
.jbaylet-form textarea {
    width: 100%;
    padding: 10px; /* Match theme input padding */
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.jbaylet-form input:focus,
.jbaylet-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.success-message {
    background: var(--success-light-bg);
    color: var(--success-color);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--success-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Contact Info Styles */
.contact-info-wrapper h2 {
    margin-bottom: 25px;
    color: var(--heading-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    display: block;
}

.info-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-item .content h3 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--heading-color);
}

.info-item .content p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.info-item .content a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.info-item .content a:hover {
    color: var(--primary-color);
}

/* Map Section */
.contact-map {
    height: 400px;
    background: var(--light-bg);
    margin-top: var(--section-margin);
    border-radius: var(--border-radius); /* Add border radius to map container */
    overflow: hidden; /* Ensure map respects border radius */
}

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