/* assets/css/custom.css */
:root {
    --sahara-orange: #e67e22;
    --sahara-gold: #f39c12;
    --sahara-dark: #111111;
    --sahara-light: #fdfdfd;
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #fcfcfc; 
    color: var(--sahara-dark); 
    overflow-x: hidden; 
}

h1, h2, h3, .navbar-brand { 
    font-family: 'Playfair Display', serif; 
}

/* STATUS TICKER */
.status-ticker { 
    background: #fff3e0; 
    padding: 6px 0; 
    font-size: 0.75rem; 
    font-weight: 700; 
    color: var(--sahara-orange); 
    border-bottom: 1px solid #ffe0b2; 
}

/* TOPBAR */
.topbar { 
    background: var(--sahara-dark); 
    color: white; 
    font-size: 0.75rem; 
    padding: 10px 0; 
    letter-spacing: 1px; 
}
.topbar a { 
    color: var(--sahara-gold); 
    text-decoration: none; 
    font-weight: 700; 
}

/* NAVBAR */
.navbar { 
    border-bottom: 3px solid var(--sahara-orange); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    z-index: 1030 !important; /* Standard Bootstrap sticky header index */
}
.nav-link { 
    font-weight: 700; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    color: var(--sahara-dark) !important; 
    margin: 0 10px; 
}
.nav-link:hover { 
    color: var(--sahara-orange) !important; 
}

/* HERO & CTA */
.cta-section { 
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?q=80&w=2070');
    background-size: cover; 
    background-position: center; 
    color: white; 
    padding: 100px 0; 
    border-bottom: 5px solid var(--sahara-gold);
}

/* FILTER SIDEBAR */
.filter-card { 
    background: white; 
    border: 1px solid #eee; 
    border-radius: 12px; 
    padding: 20px; 
    position: sticky; 
    top: 100px; 
}
.filter-label { 
    font-weight: 700; 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    color: var(--sahara-orange); 
    display: block; 
    margin-bottom: 12px; 
}
.filter-group { 
    margin-bottom: 25px; 
    border-bottom: 1px solid #f5f5f5; 
    padding-bottom: 15px; 
}

/* PRODUCT CARDS */
.product-card { 
    background: white; 
    border: 1px solid #f0f0f0; 
    border-radius: 12px; 
    overflow: hidden; 
    transition: 0.4s; 
    position: relative; 
    height: 100%; 
    display: flex; 
    flex-direction: column;
}
.product-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    border-color: var(--sahara-orange); 
}
.img-container { 
    height: 200px; 
    background: #fdf2e9; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
}
.img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.img-container i { 
    font-size: 4rem; 
    color: rgba(230, 126, 34, 0.2); 
}
.badge-status { 
    position: absolute; 
    top: 12px; 
    right: 12px; 
    font-size: 0.65rem; 
    font-weight: 700; 
    padding: 4px 10px; 
    border-radius: 4px; 
    z-index: 2; 
}

.profit-estimator { 
    background: #f0fff4; 
    border: 1px dashed #c6f6d5; 
    border-radius: 6px; 
    padding: 8px; 
    font-size: 0.75rem; 
    margin-bottom: 15px; 
}

/* WHY CHOOSE US */
.feature-item { 
    text-align: center; 
    padding: 30px; 
    transition: 0.3s; 
    border-radius: 12px; 
}
.feature-item:hover { 
    background: white; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.feature-item i { 
    font-size: 2.5rem; 
    color: var(--sahara-orange); 
    margin-bottom: 15px; 
}

/* BUTTONS */
.btn-sahara { 
    background: var(--sahara-dark); 
    color: white; 
    border-radius: 6px; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    border: none; 
    padding: 12px; 
    transition: 0.3s; 
}
.btn-sahara:hover { 
    background: var(--sahara-orange); 
    color: white; 
}

/* PAGINATION */
.pagination .page-link { 
    color: var(--sahara-dark); 
    border: none; 
    margin: 0 5px; 
    border-radius: 5px; 
    font-weight: 600; 
}
.pagination .page-item.active .page-link { 
    background-color: var(--sahara-orange); 
    color: white; 
}

/* WHATSAPP FAB */
#cart-fab { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    z-index: 1020 !important; /* Slightly lower so it hides clean behind topbars during scroll transitions */
    white-space: nowrap; /* Keeps button text on one line */
}

footer { 
    background: #111; 
    color: #888; 
    padding: 80px 0 30px; 
}
footer h5 { 
    color: white; 
    font-weight: 700; 
    margin-bottom: 25px; 
}
.footer-link { 
    color: #888; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 12px; 
    font-size: 0.9rem; 
}
.footer-link:hover { 
    color: var(--sahara-orange); 
}