﻿/* ===============================
   BASE
================================ */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    margin-bottom: 60px;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===============================
   VARIABLES
================================ */
:root {
    --bk-red: #D62300;
    --bk-orange: #F5A623;
    --bk-yellow: #FFC72C;
    --bk-brown: #512314;
    --bk-beige: #F4EBD9;
}

/* ===============================
   NAVBAR
================================ */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    color: var(--bk-red) !important;
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }

.navbar-nav .nav-link {
    color: var(--bk-brown) !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: color 0.3s, background-color 0.3s;
}

    .navbar-nav .nav-link:hover {
        color: var(--bk-red) !important;
        background-color: rgba(214, 35, 0, 0.05);
    }

/* ===============================
   BUTTONS
================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--bk-red), var(--bk-orange));
    border: none;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(214, 35, 0, 0.3);
    }

.btn-secondary {
    background-color: var(--bk-orange);
    border: none;
    color: #fff;
}

/* ===============================
   CART ICON
================================ */
.cart-icon-link {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

    .cart-icon-link:hover {
        transform: scale(1.1);
    }

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: linear-gradient(135deg, var(--bk-red), var(--bk-orange));
    color: #fff;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   LANGUAGE SWITCHER
================================ */
.language-switcher {
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

    .language-switcher:hover {
        background-color: rgba(214, 35, 0, 0.1);
    }

/* ===============================
   HERO VIDEO BANNER (FIXED)
================================ */
.hero-section {
    padding: 0;
    margin-bottom: 50px;
}

.hero-video-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--bk-red), var(--bk-orange));
}

/* Video */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

/* Overlay */
.hero-overlay {
    display: none;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

    .hero-content h1 {
        font-weight: 800;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 1.25rem;
        opacity: 0.95;
    }

    .hero-content .btn {
        padding: 15px 40px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 50px;
    }

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-video-banner {
        height: 200px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* ===============================
   CAROUSEL
================================ */
.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
    width: 55px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-size: 60% 60%;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.85);
}

/* ===============================
   CARDS
================================ */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    }

.badge-new {
    background-color: var(--bk-orange);
    color: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* ===============================
   PROMOTION
================================ */
.promotion-section {
    margin: 60px auto;
}

#promotionCarousel {
    max-width: 900px;
    margin: auto;
}

    #promotionCarousel .card {
        border-radius: 20px;
        background: linear-gradient(135deg, #fff4e6, #ffe0b2);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    #promotionCarousel .card-body {
        padding: 60px 40px;
    }

/* ===============================
   FOOTER
================================ */
.footer {
    background-color: var(--bk-brown);
    color: #ffffff;
    padding: 40px 0;
}

    .footer a {
        color: #ffffff;
        text-decoration: none;
    }

/* ===============================
   MOBILE
================================ */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
        margin: 6px 0;
    }

    .btn-primary {
        padding: 8px 16px;
        border-radius: 20px;
    }
}
