/* ==========================================================================
   Royal Healthy Cravings - Luxury Theme Stylesheet
   Designed based on the Royal & Healthy Cravings Brand Identity
   Palette: Royal Gold, Antique Bronze, Deep Espresso, and Ivory Cream
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary: #C5A059;
    --primary-hover: #AA843D;
    --primary-dark: #8E6D2F;
    --primary-light: #DFC68E;
    --primary-100: #F8F3E8;
    --primary-transparent: rgba(197, 160, 89, 0.14);
    --secondary: #8E5A2B;
    --secondary-hover: #754820;
    --dark: #14110E;
    --dark-200: #1D1813;
    --dark-300: #0B0907;
    --royal-gold-grad: linear-gradient(135deg, #ECCF8D 0%, #C5A059 50%, #9B7631 100%);
    --royal-gold-grad-hover: linear-gradient(135deg, #F3DEAC 0%, #D4AF67 50%, #B0883E 100%);
    --royal-dark-grad: linear-gradient(180deg, #1C1712 0%, #110E0B 100%);
}

/* Typography Enhancements */
h1, h2, h3, .section-title-one, .banner-title, .royal-heading {
    font-family: 'Cinzel', serif !important;
    letter-spacing: 0.5px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #3C3630;
    background-color: #FDFAF5;
}

/* Header & Navbar Styling */
.header-one {
    background: rgba(18, 15, 12, 0.94) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    padding: 12px 0;
}

.header-one.navbar-fixed {
    background: rgba(18, 15, 12, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.header-nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.header-nav .navbar-brand img {
    max-height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.main-nav > li > a {
    color: #F5EFE6 !important;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.main-nav > li > a:hover,
.main-nav > li.active > a {
    color: #DFC68E !important;
}

.main-nav > li.has-submenu .submenu {
    background: #181410 !important;
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.main-nav > li.has-submenu .submenu li a {
    color: #D6CBC1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.main-nav > li.has-submenu .submenu li a:hover {
    color: #DFC68E !important;
    padding-left: 20px;
    background: rgba(197, 160, 89, 0.1);
}

.main-nav > li.has-submenu .submenu li.rhc-submenu-child a {
    padding-left: 30px;
    font-size: 0.92em;
    color: #A89C90 !important;
}

.main-nav > li.has-submenu .submenu li.rhc-submenu-child a::before {
    content: "3";
    margin-right: 6px;
    color: rgba(197, 160, 89, 0.6);
}

.main-nav > li.has-submenu .submenu li.rhc-submenu-child a:hover {
    padding-left: 36px;
    color: #DFC68E !important;
}

/* Cart & Wishlist Icons in Header */
.topbar-link {
    background: rgba(197, 160, 89, 0.15) !important;
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    color: #DFC68E !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.topbar-link:hover {
    background: var(--primary) !important;
    color: #12100E !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
}

.topbar-link .badge-icon {
    background: var(--royal-gold-grad) !important;
    color: #12100E !important;
    font-weight: 700;
}

/* Primary Button Enhancements */
.btn-primary, .btn-primary:focus {
    background: var(--royal-gold-grad) !important;
    border: 1px solid #C5A059 !important;
    color: #14110E !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--royal-gold-grad-hover) !important;
    color: #0E0C0A !important;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #C5A059 !important;
    color: #C5A059 !important;
}

.btn-outline-primary:hover {
    background: var(--royal-gold-grad) !important;
    color: #14110E !important;
}

/* Badges */
.bg-primary {
    background: var(--royal-gold-grad) !important;
    color: #14110E !important;
}

.text-primary {
    color: #C5A059 !important;
}

/* Section Title Accents */
.text-bar {
    background: var(--royal-gold-grad) !important;
    height: 3px !important;
}

.section-title-one {
    color: #1D1813;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: #0E0C0A;
}

.hero-section .tab-content .tab-pane img {
    width: 100%;
    min-height: 640px;
    max-height: 780px;
    object-fit: cover;
    filter: brightness(0.85);
}

.banner-content h1 {
    color: #FFFFFF !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    font-size: 52px;
    line-height: 1.25;
}

.banner-content p {
    color: #EFE6D8 !important;
    font-size: 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.banner-tab-one .nav-tabs .nav-link {
    border: 2px solid transparent !important;
    border-radius: 12px;
    overflow: hidden;
    padding: 3px;
    transition: all 0.3s ease;
}

.banner-tab-one .nav-tabs .nav-link.active,
.banner-tab-one .nav-tabs .nav-link:hover {
    border-color: #DFC68E !important;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
    transform: scale(1.05);
}

/* Categories Styling */
.category-section {
    background: #FDFAF5;
}

.category-item {
    background: #FFFFFF;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    padding: 24px 18px;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.08);
    transition: all 0.4s ease;
}

.category-item:hover {
    border-color: #C5A059;
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(197, 160, 89, 0.2);
}

.category-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2), rgba(197, 160, 89, 0.05));
    border: 1px dashed #C5A059;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.category-item:hover .category-img img {
    transform: scale(1.1);
}

.category-content h3 a {
    color: #1D1813;
    font-weight: 700;
    transition: color 0.3s ease;
}

.category-item:hover .category-content h3 a {
    color: #C5A059;
}

/* Signature / Products Slider */
.signature-section {
    background: #FBF6ED;
}

.signature-tab ul li a.active {
    background: var(--royal-gold-grad) !important;
    color: #14110E !important;
    border-color: #C5A059 !important;
    font-weight: 700;
}

.signature-tab ul li a {
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    color: #3C3630;
    background: #FFFFFF;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.signature-item {
    background: #FFFFFF;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.signature-item:hover {
    border-color: #C5A059;
    box-shadow: 0 14px 30px rgba(197, 160, 89, 0.18);
    transform: translateY(-6px);
}

.signature-img img {
    height: 230px;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.signature-item:hover .signature-img img {
    transform: scale(1.08);
}

/* Marquee Section */
.marquee-section, .marquee-section-two {
    background: var(--royal-dark-grad) !important;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding: 18px 0;
}

.marquee-item h4 {
    color: #DFC68E !important;
    font-family: 'Cinzel', serif !important;
    letter-spacing: 1px;
}

/* Why Choose Us Section */
.choose-us-section {
    background: #FDFAF5;
}

.choose-item {
    background: #FFFFFF;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.choose-item:hover {
    border-color: #C5A059;
    box-shadow: 0 10px 28px rgba(197, 160, 89, 0.15);
}

/* Royal Heritage Section */
.royal-heritage-box {
    background: var(--royal-dark-grad);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 20px;
    padding: 40px;
    color: #F8F4EC;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.royal-heritage-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Footer Styling */
footer {
    background: #0E0C0A !important;
    color: #D9D0C5 !important;
    border-top: 2px solid #C5A059;
}

footer a {
    color: #CFC5B8 !important;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #DFC68E !important;
    padding-left: 4px;
}

.footer-top {
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 60px 0 40px;
}

.footer-contact {
    background: #14110E !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 30px 0;
}

.contact-item .contact-icon {
    background: var(--royal-gold-grad) !important;
    color: #12100E !important;
}

.footer-bottom {
    background: #090806 !important;
    padding: 20px 0;
}

.footer-bottom .copyright {
    color: #9C9387 !important;
}

.footer-bottom .copyright a {
    color: #DFC68E !important;
}

/* Swiper navigation buttons */
.swiper-button-next, .swiper-button-prev {
    background: var(--royal-gold-grad) !important;
    color: #14110E !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: 700;
}

/* Keep header items on one line; tighten the desktop menu on laptop widths */
.main-nav > li > a,
.rhc-brand-text strong,
.rhc-brand-text small,
.header-btn .btn {
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .rhc-brand-text small {
        display: none;
    }

    .header-nav .main-nav > li > a {
        padding: 4px 9px;
        font-size: 15px;
    }

    .header-btn {
        gap: 10px !important;
    }

    .header-btn .btn {
        padding: 10px 16px;
        font-size: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .rhc-brand img {
        height: 44px;
        width: 44px;
    }

    .rhc-brand-text strong {
        font-size: 14px;
    }

    .header-nav .main-nav > li > a {
        padding: 4px 7px;
        font-size: 14px;
    }

    /* Shop menu already covers ordering here; the cart icon stays. */
    .header-btn .btn {
        display: none !important;
    }
}
