/* ============================================================
   FILE: /assets/css/universal.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);
}


/* Base reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
/* Main */
.site-main {
    padding-top: var(--space-6);
}
.site-main {
    padding-top: 0 !important;
}
.bg{
    position: absolute;
    z-index: -2;
}

body.site-body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}
.alt-section{
    background-color: var(--color-main-dark);
    padding-top: var(--space-9);
    padding-bottom: var(--space-9);
}
/* alt section content */
.alt-section h2{
    color: var(--color-sub-1);
}
.alt-section p, .alt-section h3{
    color: var(--color-sub-1);
}

/* legal pages */
.legal-container{
    margin-left: 10%;
    width: 80%;
    padding-top: 100px;
}
.legal-container h2{
    font-size: 1.5rem;
}
.legal-container p{
    font-size: 1.2rem;
}


/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
 
}
.logo img {
    max-width: 260px;
    width: 100%;
    height: auto;
}

/* Header & Nav */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    position: fixed;
    z-index: 5;
}
.header-inner {
    width: 80%;
    margin-left: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
}

.main-nav {
    position: relative;
}
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}
.nav-item {
    display: block;
}
.nav-link {
    display: block;
    padding: var(--space-2) var(--space-3);
    text-decoration: none;
    color: var(--color-secondary);
    font-size: 0.95rem;
}
.nav-link:hover,
.nav-link.is-active {
    color: var(--color-main);
}

/* Mobile nav toggle */
.nav-toggle {
    border: none;
    background: none;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}
.nav-toggle-bar {
    width: 25px;
    height: 4px;
    background-color: var(--color-secondary);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* When nav is open on mobile */
.nav-list.nav-open {
    display: block;
}

/* Full-width hero */
.hero {
    width: 100%;
    height: 600px;
    padding: var(--space-7) 0;
    padding-top: 100px;
    background-color: var(--color-main-dark-2);
    border-bottom: 1px solid var(--color-border);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 2400px) {

    .hero {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat
    }

}
.h1-hero{
    color: white;
    font-size: 2.5rem;
    margin-top: 50px;
    text-align: center;
    text-shadow: var(--text-shadow-hard);
}
.p-hero{
    color: var(--color-sub-1);
    font-size: 1.5rem;
    text-align: center;
    padding-left: 150px;
    padding-right: 150px;
    text-shadow: var(--text-shadow-hard)
}
.hero-btn{
    text-align: center;
    width: 250px;
    margin-left: 40%;
    margin-top: var(--space-9);
}

@media (max-width: 450px) {
    .hero{
        height: 800px;
    }
    .hero-btn{
        margin-left: 20%;
    }
}


/* icons */
i.bi {
   font-family: "bootstrap-icons" !important;
}
.bi {
    color: var(--color-main);
    font-size: 5rem;
}
.icon-s{
    font-size: 2rem;
    padding-bottom: 6px;
}
.icon-ss{
    font-size: 1.5rem;
}
.card i.large-icon {
    color: var(--color-white);
}

.icon-large{
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}


/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    background-color: #faf7fc;
}
.footer-inner {
    width: 80%;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    font-size: 0.85rem;
}
.footer-copy {
    margin: 0;
    color: #555555;
}
.footer-links {
    margin: 0;
}
.footer-links a {
    color: var(--color-main);
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-9);
    border-radius: 0;
    border: 1px solid transparent;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;

    clip-path: polygon(
        12px 0,
        100% 0,
        calc(100% - 12px) 100%,
        0 100%
    );
}
.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
    border: none; /* remove transparent border so gradient is smooth edge-to-edge */
}
.btn-primary:hover {
    background: var(--color-sub-0);
    transform: translateY(-1px);
    color: var(--color-main-dark);
    /* box-shadow: 0 18px 45px rgba(63, 0, 100, 0.45); */
    filter: brightness(1.03);
}
.btn-outline {
    background: transparent;
    border-color: var(--color-sub-2);
    color: var(--color-secondary);
    transition: transform 140ms ease-out, box-shadow 140ms ease-out, filter 140ms ease-out;
}
.btn-outline:hover {
    color: var(--color-main);
    transform: translateY(-1px);
    /* box-shadow: 0 18px 45px rgba(63, 0, 100, 0.45); */
}

/* on-dark outline, for hero area */
.btn-outline-ondark {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--color-sub-1);
    transition: transform 140ms ease-out, box-shadow 140ms ease-out, filter 140ms ease-out, border-color 140ms ease-out;
}

.btn-outline-ondark:hover {
    border-color: var(--color-sub-1);
    color: var(--color-white);
    transform: translateY(-1px);
    /* box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55); */
}



/* Headings spacing */
h1, h2, h3 {
    color: var(--color-main);
    margin-top: 0;
    text-transform: uppercase;

}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.5rem;
}


@media (min-width: 768px) {

    .nav-list {
        display: flex;
    }

    .nav-item {
        display: inline-block;
    }

    .nav-toggle {
        display: none;
    }

    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

    }


}

@media (max-width: 450px) {
    .btn-primary{
        margin-top: 20px;
    }
    .footer-inner {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: space-between;

    }

}


.a{
    color: var(--color-main);
}
.a2{
    color: var(--color-sub-1);
}

/*cta- actions div  */
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.nopage-container div{
    padding: 500px;
}