/* Ensure these variables are defined in your base.css */
/* :root {
    --black: #0a0a0a;
    --gray-light: #f4f4f4;
    --white: #ffffff;
} */


/* --- 1. HERO/INTRO SECTION --- */

/* Specific image for the contact page hero */
.contact-hero .hero-image-placeholder {
    /* Replace this path with your actual image */
    background-image: url('../images/product.png'); 
    background-size: cover;
    background-position: center; 
    border: none;
}


/* --- 2. CONTACT FORM SECTION --- */

.contact-form-container {
    max-width: 800px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background-color: var(--gray-light);
    box-sizing: border-box; /* Important for width calculation */
    font-family: var(--font-body);
}

.contact-form textarea {
    resize: vertical;
}

.form-submit-btn {
    align-self: flex-start; /* Keeps the button aligned to the left */
}


/* --- 3. DIRECT CONTACT INFO SECTION --- */

.contact-details-section {
    background-color: var(--gray-light);
}

.contact-usp-grid {
    /* Overrides the default usp-grid to center items for contact details */
    justify-content: center; 
    gap: 40px;
}

.contact-detail-item {
    /* Makes items flow better than the flex: 1 default of usp-item */
    flex: 0 0 auto; 
    max-width: 500px; 
    padding: 20px;
}

.contact-detail-item .detail-value {
    font-weight: 600;
    margin-top: 5px;
    font-size: 1.1rem;
}


/* --- CONTACT PAGE RESPONSIVENESS --- */

@media (max-width: 768px) {
    
    /* Center the submit button on mobile */
    .form-submit-btn {
        align-self: center;
        width: 100%; /* Make button full width */
    }

    /* Adjust the layout of contact details on small screens */
    .contact-usp-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-detail-item {
        max-width: 100%;
        text-align: center;
        padding: 10px;
    }
}