/* ============================================================
   FILE: /assets/css/home.css
   PURPOSE: Global styles & variables
   NOTES:
   - Mobile-first
   - WCAG-aware contrasts based on your palette
   ============================================================ */

:root {
    /* Brand colors - update to Namzam brand colors*/
    --color-main: #512d17;
    --color-main-dark: #2b1800;
    --color-main-dark-2: #1a0e00;
    --color-secondary: #9e7c6c;
    --color-sub-0: #badae7;
    --color-sub-1: #ebd6bd;
    --color-sub-2: #c4c4c4;

    /* Neutrals */
    --color-bg: #f7f5f9;
    --color-white: #ffffff;
    --color-text: #222222;
    --color-border: #9c9c9c;

    /* Feedback */
    --color-success: #2f855a;
    --color-warning: #b7791f;
    --color-error: #b54a4a;

    /* Layout */
    --container-width: 100%;
    --radius-md: 8px;
    --radius-lg: 16px;
    --btn-radius: 999px;

    /* Spacing (4/8px scale) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 50px;
    --space-10: 100px;
    --space-11: 200px;

    --text-shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.25);

    --text-shadow-hard: 
        0 2px 4px rgba(0,0,0,0.6),
        0 4px 10px rgba(0,0,0,0.8);
}


.services-container{
    text-align: center;
    width: 80%;
    margin-left: 10%;
    margin-top: var(--space-10);
    padding-bottom: var(--space-10);
}


/* Full-width hero */
.hero {
    background:
        url('../img/hero-img/dark-wood-heat-treated-for-indoor-finishes-1920.webp') center;

}

@media (min-width: 2400px) {

    .hero {
        background:
            url('../img/hero-img/dark-wood-heat-treated-for-indoor-finishes.webp') center;

    }
}

@media (max-width: 450px) {
    .serives-container{
        width: 100%;
        margin: 0;
    }
    .hero .services-container{
        margin:0;
        width: 90%;
        margin-left: 5%;
    }
    .services-container p{
        width: 90%;
        margin-left: 5%;
    }
    .h1-hero{
        margin: 0;
        font-size: 1.7rem;
        width: 100%;
        padding: 0;
    }
    .p-hero{
        width: 100%;
        padding: 10px;

    }
    .services-container{
        text-align: center;
        width: 90%;
        margin-left: 5%;
        margin-top: var(--space-9);
        padding-bottom: var(--space-9);
    }
    .services-container .ops-images{
        width: 100%;
    }

}

/* ============================================================
Services Grid
============================================================ */

.services-grid {
    margin-top: var(--space-10);
    padding-bottom: var(--space-10);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    
}

.wrapper{
    display: flex;
    flex-direction: row;
    border-style: solid;
    border-radius: 15px;
    border-width: 1px;
    border-top: none;
    padding: 20px;
}


@media (max-width: 450px) {
    .service-card .wrapper{
        display: flex;
        flex-direction: column;
    }

    .services-grid {
        margin-top: var(--space-10);
        padding-bottom: var(--space-10);
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 5rem;
        
    }
}

/* ============================================================
Service Card
============================================================ */
.service-card h3 {
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-card {
    padding: 1.5rem;
    background: none;

}
.card-details{
    width: 100%;
    text-align: left;
}
