/* ---------------------- General ---------------------- */
body {
    font-family: "Amarna", sans-serif;
}

/* ---------------------- Navbar ---------------------- */
.bg-navbar-new {
    background-color: #2d2d2d;
}

.navbar-nav .nav-link,
.navbar-nav .nav-link.active {
    color: #c29347 !important;
}

.navbar-nav .nav-link:hover {
    color: #a57d3d !important;
}

/* ---------------------- Hero ---------------------- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
    url('https://via.placeholder.com/1600x500');
    background-size: cover;
    padding: 120px 0;
}

/* ---------------------- Category Card ---------------------- */
.category-card {
    background: #F0DCE0;
    padding: 30px 20px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.category-card:hover {
    background: #A00F14;
    color: #fff;
}

/* ---------------------- Product Card ---------------------- */
.product-card {
    border: none;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card img {
    height: 220px;
    object-fit: cover;
}

.price {
    font-weight: bold;
    color: #e63946;
}

/* ---------------------- Offer Section ---------------------- */
.offer {
    background: #A00F14;
    padding: 80px 0;
}

/* ---------------------- Footer ---------------------- */
.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #FF798F;
}

.social-icons a {
    display: inline-block;
    margin-right: 12px;
    font-size: 20px;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #FF798F;
}

/* ---------------------- Links ---------------------- */
.view-all-link {
    font-weight: 600;
    text-decoration: none;
    color: #212529;
    transition: 0.3s;
}

.view-all-link i {
    transition: transform 0.3s;
}

.view-all-link:hover {
    color: #FF798F;
}

.view-all-link:hover i {
    transform: translateX(5px);
}

/* ---------------------- Breadcrumb ---------------------- */
.breadcrumb a {
    color: #212529;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #FF798F;
}

/* ---------------------- Category Box ---------------------- */
.category-box {
    display: block;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    color: #212529;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    border: 1px solid #A00F14;
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    color: #A00F14;
    border: 2px solid #A00F14;
}

.category-icon {
    font-size: 36px;
    margin-bottom: 12px;
    color: #FF798F;
}

/* ---------------------- Fonts ---------------------- */
.font-pacifico {
    font-family: "Amarna", sans-serif;
}

.changa-one-regular {
    font-family: "Changa One", sans-serif;
}

/* ---------------------- Video Hover ---------------------- */
video.object-fit-cover {
    transition: transform 0.3s, border 0.3s;
}

/* On desktop hover */
@media (hover: hover) and (pointer: fine) {
    video.object-fit-cover:hover {
        transform: scale(1.1);
        border: 7px solid #ff0000;
    }
}

/* ---------------------- Hover Scale ---------------------- */
.hover-scale {
    transition: transform 0.3s;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* ---------------------- Buy Button ---------------------- */
.buy-btn-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 16px;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 1050;
}

/* ---------------------- Scrolling Text ---------------------- */
.bg-scrolling-text {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
}

.scroll-wrapper {
    width: 100%;
    overflow: hidden;
}

.scroll-content {
    display: inline-flex;
    white-space: nowrap;
    font-size: 16px;
    animation: scroll-left 15s linear infinite;
    color: #2d2d2d;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .scroll-content {
        font-size: 14px;
        animation-duration: 20s; /* slower for mobile */
    }

    .category-card, .category-box {
        padding: 20px 15px;
    }

    .product-card img {
        height: 180px;
    }

    .changa-one-regular {
        font-size: 14px !important;
        padding: 8px !important;
    }
}

/* Smooth infinite scroll */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover for desktop */
@media (hover: hover) and (pointer: fine) {
    .scroll-wrapper:hover .scroll-content {
        animation-play-state: paused;
    }
}

/* ---------------------- Buy Button Custom Style ---------------------- */
.changa-one-regular {
    background-color: #7b1821 !important;
    border-color: #e64a19 !important;
    color: #fff !important;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.changa-one-regular:hover {
    background-color: #c49347 !important;
    border-color: #d84315 !important;
    color: #7b1821 !important;
}

.hand {
    font-size: 2.2rem;
    animation: handPulse 1.2s infinite ease-in-out;
}

@keyframes handPulse {
    0%   { opacity: 1; transform: scale(1); }
    50%  { opacity: 0.4; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}
