/* ==========================
   GLOBAL BRAND COLORS
========================== */
:root {
    --brand-navy: #0E3554;
    --brand-steel: #1F5578;
    --brand-gold: #F4A018;

    --text-dark: #222;
    --bg-light: #F5F7FA;
    --bg-card: #FFFFFF;
}

.carousel-item img {
     height: 420px; object-fit: cover; width: 100%; 
}

html, body {
    overflow-x: hidden;
}

.product-card,
.category-card,
.brand-card {
    margin: 0 12px;   /* adds left and right spacing */
}


/* ==========================
   NAVBAR
========================== */
/* NAVBAR WRAPPER */
.navbar {
    background: var(--brand-navy) !important;
    padding: 0.6rem 0.9rem;
    transition: background 0.3s ease;
}

/* BRAND AREA */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand strong {
    color: #fff !important;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.navbar-brand small {
    color: #c9d5e1 !important;
    font-size: 0.7rem;
    margin-top: -2px;
}

/* NAV LINKS */
.nav-link {
    color: #e9eef4 !important;
    font-weight: 600;
    padding: 0.6rem 1rem !important;
    transition: 0.3s ease;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--brand-gold) !important;
}

/* ACTIVE HIGHLIGHT */
.nav-link.active {
    color: var(--brand-gold) !important;
}

/* DROPDOWN MENU */
.dropdown-menu {
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    padding: 0.4rem 0;
    box-shadow: 0 8px 26px rgba(0,0,0,0.12);
}

/* DROPDOWN ITEMS */
.dropdown-item {
    padding: 0.55rem 1.2rem;
    color: #203040;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background: var(--brand-navy);
    color: var(--brand-gold);
}

/* MOBILE MENU SEPARATOR */
.navbar-nav .nav-item + .nav-item {
    margin-left: 2px;
}

/* HAMBURGER ICON FIX */
.navbar-toggler {
    border: none;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Make toggler icon white */
.navbar-toggler-icon {
    filter: invert(1);
}


/* ==========================
   HERO SECTION
========================== */
.carousel-caption h1 {
    text-shadow: 0 4px 15px rgba(0,0,0,0.85);
    font-weight: 800;
}

.carousel-caption p {
    text-shadow: 0 3px 10px rgba(0,0,0,0.85);
}


/* ==========================
   CATEGORY STRIP
========================== */
.category-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 26px 10px;
    scrollbar-width: thick;
}

.category-card {
    width: 160px;
    background: var(--bg-card);
    border-radius: 26px;
    display: inline-block;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    transition: 0.25s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-gold);
    box-shadow: 0 10px 25px rgba(14,53,84,0.20);
}

.category-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
}

.category-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-navy);
}


/* ==========================
   SECTION HEADERS
========================== */
.category-title {
    font-weight: 800;
    color: var(--brand-gold);
}

.see-more-link {
    color: var(--brand-navy);
    font-weight: 800;
    text-decoration: none;
    font-size: larger;
    padding-right: 5%;
}

.see-more-link:hover {
    color: var(--brand-steel);
}


/* ==========================
   PRODUCT CARDS
========================== */
.product-card {
    width: 400px;            
    min-height: 420px;       
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(14,53,84,0.25);
    border: 3px solid #F2A900; 
    border-radius: 18px;
}

.product-image {
    height: 180px;          
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 18px;
}

.product-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.product-brand {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-steel);
    border-radius: 18px;
}

.product-title {
    min-height: 50px;  
    color: var(--text-dark); 
    font-weight: 700;    
}

.product-brand {
    min-height: 20px;        
}


/* ==========================
   VIEW BUTTONS
========================== */
.btn-view-product {
    background: var(--brand-gold);
    color: white;
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    transition: 0.25s ease;
}

.btn-view-product:hover {
    background: #d68811;
    transform: translateY(-3px);
}


/* ==========================
   FOOTER
========================== */

.site-footer {
    background: #0E3554; /* brand navy */
    padding-top: 60px;
    padding-bottom: 50px;
    color: #ffffff;
}

.footer-title {
    font-weight: 800;
    color: #F4A018; /* gold */
    margin-bottom: 15px;
}

.footer-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.footer-list li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 15px;
}

.footer-list i {
    color: #F4A018; 
    margin-right: 7px;
}

.footer-link,
.footer-list a {
    color: #F4A018;
    text-decoration: none;
    transition: 0.2s;
}

.footer-link:hover,
.footer-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* MAP */
.footer-map iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .footer-map iframe {
        height: 200px;
    }
}



/* ==========================
   MOBILE RESPONSIVE
========================== */
@media (max-width: 480px) {
    .category-card {
        width: 130px;
        padding: 14px;
    }

    .category-img {
        width: 55px;
        height: 55px;
    }

    .category-label {
        font-size: 14px;
    }
}

h2.category-title {
    font-weight: 800;
    color: var(--brand-navy);
    padding-left: 5%;
}

/* Section Title */
.category-title {
    font-size: 28px;
    font-weight: 700;
    color: #0E3554;
}

/* Slider Container */
.brand-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: thick;
}

/* Hide scrollbar (Chrome & Edge) */
.brand-slider::-webkit-scrollbar-thumb {
    background: #0E3554;
    border-radius: 10px;
}

/* Brand Card */
.brand-card {
    min-width: 240px;
    height: 200px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.25s ease;
    border: 2px solid transparent;
}

/* Brand Card Hover */
.brand-card:hover {
    transform: translateY(-5px);
    border-color: #F2A900; /* your gold */
    box-shadow: 0 10px 25px rgba(14,53,84,0.25);
}

/* Logo Size */
.brand-card img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

/* ==========================
   GLOBAL SLIDER SPACING FIX
   (Prevents cards touching screen edges)
========================== */

.category-scroll,
.brand-slider,
.product-slider,
.horizontal-scroll {
    padding-left: 16px !important;
    padding-right: 16px !important;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
}

/* Gap between cards */
.category-scroll .category-card,
.brand-slider .brand-card,
.product-slider .product-card,
.horizontal-scroll > * {
    margin-right: 16px;
}