/* ============================================================
   Haryanvi Desi Ghee Theme — Layout & Components
   Maroon + Ghee-Gold, traditional Haryanvi ethnic feel
   Loaded after style.css so it can override the base look.
   ============================================================ */

/* ---------- Base ---------- */
body {
    font-family: var(--font-body);
    background-color: var(--ghee-cream);
    color: var(--ghee-ink);
}

.hindi, .font-hindi {
    font-family: var(--font-hindi);
}

h1, h2, h3, h4, h5, h6,
.section-title, .display-head {
    font-family: var(--font-head);
    letter-spacing: .3px;
}

/* Decorative section heading used across the home page */
.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-head .kicker {
    display: inline-block;
    font-family: var(--font-hindi);
    color: var(--ghee-green);
    background: rgba(47, 107, 60, .1);
    border: 1px solid rgba(47, 107, 60, .25);
    padding: .25rem 1rem;
    border-radius: 50px;
    font-size: .85rem;
    margin-bottom: .75rem;
}

.section-head h2 {
    color: var(--ghee-maroon);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: .35rem;
}

.section-head .sub-hindi {
    font-family: var(--font-hindi);
    color: #7a6a5a;
    font-size: 1rem;
}

.section-head .divider {
    width: 90px;
    height: 3px;
    margin: .9rem auto 0;
    background: linear-gradient(90deg, transparent, var(--ghee-gold), transparent);
    border-radius: 3px;
}

/* ---------- Announcement / Top bar ---------- */
.ghee-topbar {
    background: linear-gradient(90deg, var(--ghee-maroon-dark), var(--ghee-maroon), var(--ghee-maroon-dark));
    color: var(--ghee-gold-light);
    font-size: .85rem;
    padding: .45rem 0;
    border-bottom: 2px solid var(--ghee-gold);
}

.ghee-topbar .marquee-text {
    font-family: var(--font-hindi);
    letter-spacing: .3px;
}

.ghee-topbar a {
    color: #fff;
    text-decoration: none;
    opacity: .9;
}

.ghee-topbar a:hover {
    opacity: 1;
    color: var(--ghee-gold-light);
}

.ghee-topbar .top-social a {
    margin-left: .9rem;
    font-size: 1rem;
}

/* ---------- Header / Navbar ---------- */
.site-header {
    background: var(--header-bg);
    box-shadow: 0 2px 14px rgba(90, 18, 22, .08);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-header .navbar {
    padding: .6rem 0;
}

.site-header .navbar-brand {
    font-family: var(--font-head);
    color: var(--ghee-maroon) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.site-header .navbar-brand img {
    max-height: 56px;
}

.site-header .nav-link {
    color: var(--ghee-ink) !important;
    font-weight: 600;
    font-size: .95rem;
    padding: .5rem .85rem !important;
    position: relative;
    transition: color .2s ease;
}

.site-header .nav-link::after {
    content: '';
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .25rem;
    height: 2px;
    background: var(--ghee-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--ghee-maroon) !important;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    transform: scaleX(1);
}

/* Search form */
.search-form {
    position: relative;
}

.search-form .form-control {
    border-radius: 50px;
    border: 1.5px solid var(--ghee-cream-dark);
    padding-right: 42px;
    background: var(--ghee-cream);
}

.search-form .form-control:focus {
    border-color: var(--ghee-gold);
    box-shadow: 0 0 0 .2rem rgba(217, 164, 65, .2);
    background: #fff;
}

.search-form button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: var(--ghee-maroon);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart badge */
.mini-cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--ghee-gold);
    color: var(--ghee-maroon-dark);
    font-size: .7rem;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ---------- Hero (ghee banner) ---------- */
.ghee-hero {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(217, 164, 65, .18), transparent 45%),
        linear-gradient(120deg, var(--ghee-maroon-dark) 0%, var(--ghee-maroon) 55%, #8f2429 100%);
    color: #fff;
    overflow: hidden;
    padding: 4.5rem 0;
}

.ghee-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d9a441' fill-opacity='0.07'%3E%3Cpath d='M30 0l15 15-15 15L15 15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .6;
}

.ghee-hero .hero-inner {
    position: relative;
    z-index: 2;
}

.ghee-hero .hero-tagline {
    font-family: var(--font-hindi);
    color: var(--ghee-gold-light);
    font-size: 1.15rem;
    margin-bottom: .5rem;
}

.ghee-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.ghee-hero h1 .gold {
    color: var(--ghee-gold-light);
}

.ghee-hero .hero-sub {
    font-size: 1.05rem;
    opacity: .92;
    max-width: 540px;
    margin-bottom: 1.75rem;
}

.ghee-hero .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1.75rem;
}

.ghee-hero .hero-badges span {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(217, 164, 65, .5);
    color: #fff;
    border-radius: 50px;
    padding: .35rem .95rem;
    font-size: .85rem;
    backdrop-filter: blur(2px);
}

.btn-ghee {
    background: var(--ghee-gold);
    color: var(--ghee-maroon-dark);
    border: 0;
    font-weight: 700;
    border-radius: 50px;
    padding: .75rem 1.9rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-ghee:hover {
    background: var(--ghee-gold-light);
    color: var(--ghee-maroon-dark);
    transform: translateY(-2px);
}

.btn-ghee-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50px;
    padding: .7rem 1.7rem;
    font-weight: 600;
}

.btn-ghee-outline:hover {
    background: #fff;
    color: var(--ghee-maroon);
}

.ghee-hero .hero-media {
    position: relative;
    text-align: center;
}

.ghee-hero .hero-media img {
    max-width: 100%;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
    animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-media .seal {
    position: absolute;
    bottom: -10px;
    left: 0;
    background: var(--ghee-gold);
    color: var(--ghee-maroon-dark);
    font-family: var(--font-head);
    border-radius: 50%;
    width: 108px;
    height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    font-size: .8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
    border: 3px solid #fff;
}

/* Hero slider (existing) restyle */
.hero-slider .carousel-caption {
    background: linear-gradient(0deg, rgba(90, 18, 22, .8), transparent);
}

.hero-slider .slide-title {
    font-family: var(--font-head);
}

/* ---------- Trust strip ---------- */
.trust-strip {
    background: #fff;
    border-top: 1px solid var(--ghee-cream-dark);
    border-bottom: 1px solid var(--ghee-cream-dark);
    padding: 1.5rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    justify-content: center;
}

.trust-item .icon {
    font-size: 1.8rem;
    color: var(--ghee-green);
    flex-shrink: 0;
}

.trust-item .txt strong {
    display: block;
    color: var(--ghee-maroon);
    font-size: .95rem;
    font-weight: 700;
}

.trust-item .txt small {
    color: #7a6a5a;
    font-family: var(--font-hindi);
}

/* ---------- Category cards ---------- */
.category-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(90, 18, 22, .1);
    transition: transform .25s ease, box-shadow .25s ease;
    border: 2px solid #fff;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(90, 18, 22, .2);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .4s ease;
}

.category-card:hover img {
    transform: scale(1.07);
}

.category-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.2rem .8rem .8rem;
    background: linear-gradient(0deg, rgba(90, 18, 22, .9), transparent);
    text-align: center;
}

.category-name {
    color: #fff;
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.1rem;
}

/* ---------- Product cards ---------- */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--ghee-cream-dark);
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(90, 18, 22, .14);
    border-color: var(--ghee-gold);
}

.product-card .product-image {
    position: relative;
    background: var(--ghee-cream);
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-card .badge-sale {
    background: var(--ghee-maroon);
    color: #fff;
}

.product-card .badge-new {
    background: var(--ghee-green);
    color: #fff;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: .4rem;
}

.product-name a {
    color: var(--ghee-ink);
    text-decoration: none;
}

.product-name a:hover {
    color: var(--ghee-maroon);
}

.product-price {
    color: var(--ghee-maroon);
    font-weight: 800;
    font-size: 1.15rem;
}

.product-price .old-price {
    color: #a99;
    text-decoration: line-through;
    font-weight: 400;
    font-size: .9rem;
    margin-left: .4rem;
}

.product-rating .star {
    color: var(--ghee-gold);
}

.product-card .btn-primary {
    border-radius: 50px;
    font-weight: 600;
}

/* ---------- Bilona process ---------- */
.bilona-section {
    background:
        linear-gradient(rgba(253, 246, 236, .93), rgba(253, 246, 236, .93)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237b1e22' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
    padding: 4rem 0;
}

.process-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--ghee-cream-dark);
    height: 100%;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(90, 18, 22, .12);
}

.process-step .step-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ghee-gold-light), var(--ghee-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ghee-maroon-dark);
    box-shadow: 0 6px 16px rgba(217, 164, 65, .4);
}

.process-step .step-no {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--font-head);
    font-size: 2rem;
    color: rgba(123, 30, 34, .1);
}

.process-step h4 {
    color: var(--ghee-maroon);
    font-size: 1.1rem;
    margin-bottom: .35rem;
}

.process-step .hindi {
    color: #7a6a5a;
    font-size: .9rem;
    margin: 0;
}

/* ---------- Why choose us ---------- */
.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    border-left: 4px solid var(--ghee-gold);
    box-shadow: 0 4px 14px rgba(90, 18, 22, .07);
    transition: transform .2s ease;
}

.why-card:hover {
    transform: translateY(-4px);
}

.why-card .icon {
    font-size: 1.9rem;
    color: var(--ghee-maroon);
    margin-bottom: .5rem;
}

.why-card h5 {
    color: var(--ghee-maroon);
    font-size: 1.05rem;
    margin-bottom: .35rem;
}

.why-card p {
    color: #6b5b4d;
    font-size: .9rem;
    margin: 0;
}

/* ---------- Story / farm split ---------- */
.story-section {
    background: var(--ghee-maroon-dark);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d9a441' stroke-opacity='0.08'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
}

.story-section .story-inner {
    position: relative;
    z-index: 2;
}

.story-section h2 {
    color: var(--ghee-gold-light);
}

.story-section .lead {
    opacity: .9;
}

.story-section img {
    border-radius: 18px;
    border: 4px solid rgba(217, 164, 65, .5);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
}

/* ---------- WhatsApp order band ---------- */
.order-band {
    background: linear-gradient(120deg, var(--ghee-green), #3d8a4e);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}

.order-band h3 {
    color: #fff;
    margin-bottom: .4rem;
}

.order-band p {
    opacity: .92;
    margin-bottom: 1.25rem;
}

.btn-whatsapp {
    background: #25d366;
    color: #06321a;
    border: 0;
    font-weight: 700;
    border-radius: 50px;
    padding: .75rem 1.8rem;
}

.btn-whatsapp:hover {
    background: #1eb958;
    color: #06321a;
}

.btn-call {
    background: #fff;
    color: var(--ghee-green);
    border: 0;
    font-weight: 700;
    border-radius: 50px;
    padding: .75rem 1.8rem;
}

.btn-call:hover {
    background: var(--ghee-cream);
    color: var(--ghee-green);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    border: 1px solid var(--ghee-cream-dark);
    position: relative;
    box-shadow: 0 4px 14px rgba(90, 18, 22, .06);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -6px;
    left: 16px;
    font-size: 4rem;
    color: var(--ghee-gold);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card .stars {
    color: var(--ghee-gold);
    margin-bottom: .6rem;
}

.testimonial-card p {
    font-style: italic;
    color: #5c4c3f;
}

.testimonial-card .who {
    font-weight: 700;
    color: var(--ghee-maroon);
    margin: 0;
}

.testimonial-card .place {
    font-size: .82rem;
    color: #8a7a6a;
    font-family: var(--font-hindi);
}

/* ---------- FAQ ---------- */
.faq-section .accordion-item {
    border: 1px solid var(--ghee-cream-dark);
    border-radius: 12px !important;
    margin-bottom: .75rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--ghee-maroon);
    background: #fff;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--ghee-cream);
    color: var(--ghee-maroon-dark);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(217, 164, 65, .25);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--footer-bg);
    color: #f3e3d3;
    padding: 3.5rem 0 0;
    position: relative;
}

.site-footer::before {
    content: '';
    display: block;
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--ghee-gold) 0 18px, var(--ghee-maroon-dark) 18px 36px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.site-footer h5, .site-footer h6 {
    color: var(--ghee-gold-light);
    font-family: var(--font-head);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: .5rem;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--ghee-gold);
}

.site-footer a {
    color: #f3e3d3;
    text-decoration: none;
    opacity: .85;
    transition: opacity .2s ease, padding-left .2s ease;
}

.site-footer a:hover {
    opacity: 1;
    color: var(--ghee-gold-light);
    padding-left: 4px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: .55rem;
}

.site-footer .text-muted {
    color: rgba(243, 227, 211, .7) !important;
}

.site-footer .newsletter .form-control {
    border-radius: 50px;
    border: 0;
}

.site-footer .newsletter .btn {
    background: var(--ghee-gold);
    color: var(--ghee-maroon-dark);
    border: 0;
    font-weight: 700;
    border-radius: 50px;
}

.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    padding: 0 !important;
}

.site-footer .social-links a:hover {
    background: var(--ghee-gold);
    color: var(--ghee-maroon-dark);
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(217, 164, 65, .25);
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    text-align: center;
    font-size: .9rem;
}

.footer-bottom a {
    color: var(--ghee-gold-light);
}

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
    text-decoration: none;
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-section {
    background: var(--ghee-cream-dark);
    padding: .8rem 0;
    border-bottom: 1px solid rgba(217, 164, 65, .3);
}

.breadcrumb-section .breadcrumb {
    margin: 0;
    font-size: .9rem;
}

.breadcrumb-section .breadcrumb-item.active {
    color: var(--ghee-maroon);
    font-weight: 600;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
    .ghee-hero {
        padding: 3rem 0;
        text-align: center;
    }

    .ghee-hero .hero-media {
        margin-top: 2.5rem;
    }

    .hero-media .seal {
        left: 50%;
        transform: translateX(-50%);
    }

    .trust-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .product-card .product-image img {
        height: 160px;
    }

    .category-card img {
        height: 150px;
    }
}
