/* =====================================================
   SEBIE CRUNCH – HOME PAGE STYLE (FOOD / SPICY THEME)
   ===================================================== */

/* ---------------------
   GLOBAL
--------------------- */
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(180deg, #5a0000, #2a0000); */
    background: linear-gradient(180deg, #6a0000, #3a0000);

    color: #fff;
}

a {
    text-decoration: none;
}

/* ---------------------
   NAVBAR (override bootstrap sedikit)
--------------------- */
.navbar {
    background: linear-gradient(180deg, #2a0000, #1a0000) !important;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
}

/* ---------------------
   HERO SECTION
--------------------- */
.hero-section {
    min-height: 85vh;
    background: url("/static/img/hero.2e97af24925b.png") center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(120, 0, 0, 0.88),
        rgba(40, 0, 0, 0.55)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 6px 30px rgba(0,0,0,0.55);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    opacity: 0.95;
}

/* CTA */
.btn-warning {
    background: linear-gradient(180deg, #ffcc00, #ff9900);
    border: none;
    color: #3a0000;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.45);
}

.btn-warning:hover {
    filter: brightness(1.1);
}

.btn-cart {
    background: linear-gradient(180deg, #ffcc00, #ff9900);
    color: #3a0000;
    border: none;
    border-radius: 10px;
    padding: 15px 15px;
    box-shadow: 0 4px 14px rgba(255, 170, 0, 0.4);
    transition: all 0.2s ease;
}

.btn-cart:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}


/* ---------------------
   SECTION WRAPPER
--------------------- */
.section-dark {
    padding: 90px 0;
}


.section {
    padding: 100px 0;
}

.section-tight {
    padding: 70px 0;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffcc00;
    text-shadow: 0 6px 25px rgba(255, 140, 0, 0.45);
}


/* ---------------------
   FEATURE BOX (Best Seller & Challenge)
--------------------- */
.feature-box {
    /* background: radial-gradient(
        circle at top,
        #8a0000,
        #3a0000
    ); */
    background: radial-gradient(
        circle at top,
        #b30000,
        #5a0000
    );
    padding: 36px;
    border-radius: 18px;
    height: 100%;
    box-shadow: 0 12px 40px rgba(255, 120, 0, 0.25);
}

.feature-box h3 {
    color: #ffcc00;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-box img {
    border-radius: 14px;
    margin-bottom: 1rem;
}

/* Challenge placeholder */
.challenge-box {
    background: linear-gradient(180deg, #fff0e0, #ffe0b3);
    color: #3a0000;
    padding: 70px 30px;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
}

/* ---------------------
   PRODUCT GRID
--------------------- */
.product-card {
    /* background: radial-gradient(
        circle at top,
        #9c0000,
        #3a0000
    ); */
    background: linear-gradient(
        180deg,
        #fff4e6,
        #ffe2c4
    );
    color: #3a0000;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 35px rgba(255, 120, 0, 0.35);
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 60px rgba(255, 140, 0, 0.55);
}

.product-card img {
    width: 100%;
    display: block;
}

.product-card h6 {
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #3a0000;
}

.product-desc {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 6px 0 8px;
    line-height: 1.4;
}

.product-img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    margin: 20px auto 10px;
}



.rating {
    /* color: #ffcc00; */
    color: #ff9900;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.btn-outline-warning {
    border-color: #ffcc00;
    color: #ffcc00;
    font-weight: 600;
}

.btn-outline-warning:hover {
    background-color: #ffcc00;
    color: #3a0000;
}

/* See all link */
.see-all-link {
    font-weight: 700;
    color: #ffcc00;
    text-decoration: none;
    transition: all 0.2s ease;
}

.see-all-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}


/* ---------------------
   FOOTER
--------------------- */
.footer {
    /* background: linear-gradient(180deg, #8a0000, #5a0000); */
    background: linear-gradient(180deg, #5a0000, #3a0000);
    padding: 70px 0 30px;
}

.footer h5 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer p,
.footer li {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer a {
    color: #fff;
    opacity: 0.9;
}

.footer a:hover {
    opacity: 1;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.25);
    margin: 30px 0 15px;
}

/* ---------------------
   RESPONSIVE
--------------------- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.6rem;
    }

    .section-dark {
        padding: 60px 0;
    }
}


/* =====================
   NAVBAR SEBIE
===================== */
.sebienav {
    background-color: #000;
    height: 96px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 204, 0, 0.15);
}

.nav-logo {
    height: 90px;
    width: auto;
}


/* MENU LINK */
.sebienav .nav-link {
    color: #ffcc00;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.sebienav .nav-link:hover,
.sebienav .nav-link.active {
    color: #ffffff;
}

.sebienav .navbar-nav:last-child {
    gap: 1.25rem;
}


/* ICON LINK */

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    position: relative;
}


.icon-link i {
    font-size: 1.35rem;
    color: #ffcc00;
    transition: color 0.25s ease;
}

.icon-link:hover i {
    color: #ffffff;
}


/* CART BADGE */
.cart-badge {
    position: absolute;
    top: 20px;
    right: 6px;
    background: #ff0000;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}




/* MOBILE */
.navbar-toggler {
    border-color: rgba(255, 204, 0, 0.5);
}

.navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 768px) {
    .nav-logo {
        height: 48px;
    }
}

/* =========================
   HIGHLIGHT SECTION
========================= */
.highlight-section {
    background: linear-gradient(
        180deg,
        #000000,
        #6a0000
    );
    padding: 100px 0;
}

/* BOX */
.highlight-box {
    border: 3px solid #ffcc00;
    border-radius: 18px;
    padding: 32px;
    height: 100%;
    background: radial-gradient(
        circle at bottom,
        #7a0000,
        #000000
    );
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.25);
}

/* TITLE */
.highlight-title {
    color: #ffcc00;
    font-weight: 900;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* CONTENT */
.highlight-content {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* IMAGE */
.highlight-img {
    width: 180px;
    flex-shrink: 0;
}

/* INFO */
.highlight-info h4 {
    font-weight: 800;
    margin-bottom: 10px;
}

.highlight-info p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* ACTION */
.highlight-action {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #ffcc00;
    color: #3a0000;
    font-size: 1.2rem;
}

/* CHALLENGE PLACEHOLDER */
.challenge-placeholder {
    background: #e5e5e5;
    height: 260px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .highlight-content {
        flex-direction: column;
        text-align: center;
    }

    .highlight-img {
        width: 140px;
    }
}

.product-grid-wrapper {
    position: relative;
}

.see-all-bottom {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.see-all-bottom a {
    color: #ffcc00;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.see-all-bottom a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .see-all-bottom {
        justify-content: center;
        margin-top: 28px;
    }
}


/* HERO PRODUCT IMAGE */
.hero-product {
    position: relative;
    z-index: 3;
}

.hero-product-img {
    max-width: 500px;
    width: 100%;
    transform: translateY(20px);
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
    animation: floatProduct 6s ease-in-out infinite;
}

/* FLOAT ANIMATION */
@keyframes floatProduct {
    0% {
        transform: translateY(20px);
    }
    50% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(20px);
    }
}


@media (max-width: 768px) {
    .hero-product {
        margin-top: 40px;
    }

    .hero-product-img {
        max-width: 280px;
    }

    .hero-content {
        text-align: center;
    }
}


/* =====================
   FOOTER – SEBIE
===================== */
.footer {
    background: linear-gradient(180deg, #7a0000, #4a0000);
    padding: 70px 0 30px;
    color: #fff;
}

.footer-title {
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffcc00;
}

.footer-text {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* SOCIAL ICON */
.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffcc00;
    font-size: 1.3rem;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: #ffcc00;
    color: #4a0000;
    transform: translateY(-4px);
}

/* MARKETPLACE */
.footer-marketplace {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.marketplace-link {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.marketplace-link:hover {
    background: #ffcc00;
    color: #4a0000;
}

/* DIVIDER */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.25);
    margin: 40px 0 20px;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* MOBILE */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-marketplace {
        align-items: center;
    }
}

/* =====================
   MARKETPLACE LOGOS
===================== */
.footer-marketplace-logos {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 10px;
}

.footer-marketplace-logos a {
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.footer-marketplace-logos a:hover {
    background: #ffffff;
    transform: translateY(-4px);
}

.footer-marketplace-logos img {
    height: 32px;
    width: auto;
    display: block;
}

/* MOBILE */
@media (max-width: 768px) {
    .footer-marketplace-logos {
        justify-content: center;
    }
}
