/* LES DEUX ANCRES - COMPONENTS
   Reusable UI elements for consistent design across pages
*/

/* --- 1. SECTION TITLES --- */
.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto 0;
}

/* --- 2. BUTTONS --- */
.btn {
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

/* Hero & Transparent Buttons */
.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

/* Action & Solid Buttons */
.btn-solid {
    background: var(--navy);
    color: var(--white);
}

.btn-solid:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* --- 3. PRODUCT CARDS --- */
.card {
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--sand);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 25px;
    text-align: center;
}

.card h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.card p {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- 4. CONTACT FORM --- */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #eee;
    background-color: var(--sand);
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--gold);
}

/* --- 5. MOBILE RESPONSIVE FIXES --- */
@media (max-width: 600px) {
    /* Form Fix: Stack Name and Email fields vertically */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Adjust Section Titles for smaller screens */
    .section-title {
        font-size: 1.8rem;
    }

    /* Reduce Product Image height to minimize scrolling */
    .card img {
        height: 300px;
    }

    /* Force Product Grid into a single column */
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Make buttons full-width for easier thumb interaction */
    .btn {
        width: 100%;
        padding: 14px 20px;
        box-sizing: border-box; 
    }
}