/* ============================================================
   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);
}


.home-container{
    text-align: center;
    width: 80%;
    margin-left: 10%;
    margin-top: var(--space-10);
    padding-bottom: var(--space-10);
}
@media (max-width: 450px) {
    .home-container{
        width: 100%;
        margin: 0;
    }
    .home-container p{
        width: 90%;
        margin-left: 5%;
        padding: 0;
    }
    .h1-hero{
        margin: 0;
        font-size: 1.7rem;
        width: 100%;
        padding: 0;
    }
    .p-hero{
        width: 100%;
        padding: 10px;

    }


}

/* Full-width hero */
.hero {
    background:
        url('../img/hero-img/close-up-of-treated-wood-used-to-manufacture-storage-shelves-1920.webp') center;

}
@media (min-width: 2400px) {

    .hero {
        background:
            url('../img/hero-img/close-up-of-treated-wood-used-to-manufacture-storage-shelves.webp') center;

    }
}
.intro p{
    width: 50%;
    margin-left: 25%;
}

.services-visuals {
    clear: both;
}

.section-intro{
    width: 50%;
    margin-left: 25%;
    margin-bottom: var(--space-10);
}

@media (max-width: 450px) {
    .intro{
        margin-top: var(--space-10);
    }
    .section-intro,.intro p{
        width: 90%;
        margin-left: 5%;
    }



}
/* ============================================================
   Services Visuals Grid
============================================================ */
.services-visuals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Tablet / Desktop */
@media (min-width: 768px) {

    .services-visuals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-visual {
        text-align: center;
    }

}
.services-visual{
    width: 100%;
}
.service-visual p{
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--color-main);
    border-radius: 15px;
    border-top: 0;
    margin: 20px;
}
.visual-icon{
    width:150px;
    height:150px;
}
/* mobile */
@media (max-width: 450px) {
    .service-visual{
        margin-bottom: var(--space-9);
    }
    .ops-images{
        width: 90%;
    }



}
/* Tablet / Desktop */
@media (min-width: 768px) {

    .services-visuals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-visual {
        text-align: center;
    }

}

/* ============================================================
Services Grid
============================================================ */

.services-grid {
    margin-top: var(--space-10);
    padding-bottom: var(--space-10);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    
}


/* ============================================================
Service Card
============================================================ */

.service-card {
    padding: 1.5rem;
    background: none;
    

}

.service-card h3 {
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}



/* ============================================================
Tablet
============================================================ */

@media (max-width: 1024px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ============================================================
Mobile
============================================================ */

@media (max-width: 600px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

}


