/* --- VARIABLES --- */
:root {
    --primary-color: #f97316; /* Orange-500 */
    --primary-hover: #ea580c; /* Orange-600 */
    --amber-color: #f59e0b;
    --dark-bg: #111827;
    --body-font: 'Inter', sans-serif;
}

/* --- GLOBAL FIXES --- */
html, body {
    font-family: var(--body-font);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    /* Removed padding-top so hero starts at the very top */
    padding-top: 0 !important; 
}

/* --- NAVBAR STYLING --- */
.navbar {
    transition: all 0.4s ease-in-out;
    padding: 1.5rem 0;
    /* Initial state: Transparent */
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1030;
}

/* Scrolled State (triggered by your main.js) */
.navbar-scrolled {
    background: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0 !important;
    border-bottom: none;
}

/* Menu Links - Transparent State */
.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: white !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--amber-color) !important;
}

/* Text Colors when Scrolled (Darker for visibility on white) */
.navbar-scrolled .nav-link, 
.navbar-scrolled #logo-text,
.navbar-scrolled #mobile-menu-icon {
    color: #374151 !important; 
}

/* --- LOGO FIX --- */
.navbar-brand img {
    max-width: 140px !important;
    height: auto !important;
    max-height: 50px !important;
    object-fit: contain;
}

/* --- BUTTON STYLES --- */
.btn-custom-outline {
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 8px 24px !important;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-custom-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* Scrolled Button Styles */
.navbar-scrolled .btn-custom-outline {
    border-color: #d1d5db !important;
    color: #374151 !important;
}

.btn-custom-orange {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

/* --- MOBILE MENU FIXES --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--dark-bg);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
}


/* --- HEADER ICONS --- */
.header-icon-link {
    font-size: 1.4rem;
    color: white !important; /* Initial transparent state color */
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-icon-link:hover {
    color: var(--amber-color) !important;
    transform: translateY(-2px);
}

/* Scrolled state for icons */
.navbar-scrolled .header-icon-link {
    color: #374151 !important; /* Dark color for white background */
}

/* Cart Badge Styling */
.bg-orange {
    background-color: var(--primary-color) !important;
    font-size: 0.65rem;
    padding: 0.35em 0.5em;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .header-icon-group {
        justify-content: center;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* --- HERO SECTION WIDGET --- */
.hero-container {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.hero-img-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: -1;
}

/* --- FOOTER STYLING --- */
.seo-section {
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.namkeen-footer {
    background-color: #E85B0E; /* Vibrant Orange */
    color: #ffffff;
    font-family: 'Arial', sans-serif;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px; height: 35px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    margin-right: 10px;
    text-decoration: none;
}

.footer-store-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}