/* ==========================================================================
   Shree Ghee - Main Stylesheet
   Theme: White, Saffron & Golden
   ========================================================================== */

:root {
  --saffron: #FF9933;
  --saffron-dark: #E8731A;
  --golden: #FFC857;
  --golden-light: #FFF6E5;
  --cream: #FFF8EE;
  --brown-dark: #4A2C13;
  --text-dark: #2D2014;
  --text-muted: #6B5E4F;
  --white: #FFFFFF;
  --gradient-saffron: linear-gradient(135deg, #FF9933 0%, #FFC857 100%);
}

* { box-sizing: border-box; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--brown-dark);
}

.text-gradient {
  background: var(--gradient-saffron);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-cream { background-color: var(--cream); }
.bg-saffron-light { background-color: var(--golden-light); }

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

@media (max-width: 768px) {
  .section-padding { padding: 45px 0; }
}

.section-subtitle {
  color: var(--saffron-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.85rem;
}

.section-title {
  font-weight: 700;
  font-size: 2.2rem;
  margin-top: 8px;
}

/* ===== Buttons ===== */
.btn-order {
  background: var(--gradient-saffron);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(255, 153, 51, 0.35);
}
.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 51, 0.5);
  color: #fff;
}

.btn-outline-saffron {
  border: 2px solid var(--saffron);
  color: var(--saffron-dark);
  font-weight: 600;
  border-radius: 50px;
  padding: 8px 22px;
  background: transparent;
  transition: all 0.3s ease;
}
.btn-outline-saffron:hover {
  background: var(--gradient-saffron);
  color: #fff;
  border-color: transparent;
}

/* ===== Navbar ===== */
.main-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  padding: 10px 0;
  transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
  .main-navbar {
    padding: 8px 0;
  }
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--brown-dark) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--saffron-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
.brand-icon { color: var(--saffron); font-size: 1.8rem; }
.brand-logo { width: 60px; height: 60px; object-fit: contain; }
.footer-logo { width: 32px; height: 32px; object-fit: contain; vertical-align: middle; margin-right: 4px; }

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 6px;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--saffron-dark) !important;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-saffron);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  line-height: 0;
  margin-top: 0 !important;
  padding: 0 !important;
  display: block;
  font-size: 0;
}

.hero-banner-img {
  width: 100%;
  height: calc(100vh - 73px);
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
}

@media (max-width: 767.98px) {
  .hero-banner-img {
    height: calc(100vh - 57px);
    object-position: 60% center;
  }
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobile hero fix */
@media (max-width: 767.98px) {
  .hero-section {
    margin-top: 0;
  }
  .hero-banner-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: 60% center;
  }
  .hero-btns {
    padding-left: 12px !important;
    padding-bottom: 12px !important;
  }
  .hero-btns .btn {
    font-size: 0.78rem;
    padding: 7px 14px;
  }
}

.hero-btns {
  padding-left: 60px;
}

.hero-btns .btn-order {
  background: #1a7c3e;
  border: 2px solid #1a7c3e;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-btns .btn-order:hover {
  background: #145f30;
  border-color: #145f30;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.hero-btns .btn-outline-saffron {
  background: #fff;
  border: 2px solid #fff;
  color: #7a3d00;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-btns .btn-outline-saffron:hover {
  background: #f5a623;
  border-color: #f5a623;
  color: #fff;
}

/* Tablet */
@media (max-width: 991.98px) {
  .hero-btns .btn {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .hero-btns {
    padding-left: 8px;
    padding-bottom: 8px !important;
  }
  .hero-btns .btn {
    font-size: 0.78rem;
    padding: 7px 12px;
  }
}

.badge-pure {
  display: inline-block;
  background: #fff;
  color: var(--saffron-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(255,153,51,0.2);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 18px 0;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-price-tag {
  background: #fff;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--brown-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.hero-price-tag i { color: var(--saffron); margin-right: 6px; }


@media (max-width: 480px) {
  .hero-banner-img {
    aspect-ratio: 2 / 1;
    object-position: 70% center;
  }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}

.hero-wave {
  margin-top: 50px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

@media (max-width: 991px) {
  .hero-title { font-size: 2.2rem; }
  .hero-section { padding: 60px 0 0; text-align: center; }
  .hero-subtitle { margin: 0 auto; }
}

/* ===== Benefit Cards ===== */
.benefit-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.35s ease;
  border: 1px solid rgba(255,153,51,0.08);
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(255,153,51,0.18);
  border-color: var(--saffron);
}
.benefit-icon {
  width: 64px; height: 64px;
  background: var(--gradient-saffron);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  margin: 0 auto 18px;
}
.benefit-card h5 { font-weight: 700; margin-bottom: 10px; }
.benefit-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ===== Product Cards ===== */
.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.35s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(255,153,51,0.18);
}
.product-img-wrap { position: relative; background: #fff; overflow: hidden; height: 240px; }
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img { transform: scale(1.06); }
.product-img-cover { object-fit: cover !important; padding: 0 !important; height: 220px; border-radius: 12px; }
.product-detail-img-wrap .product-img-cover { height: 380px; width: 100%; border-radius: 12px; }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gradient-saffron); color: #fff;
  font-size: 0.72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
}
.stock-badge {
  position: absolute; top: 14px; right: 14px;
  background: #dc3545; color: #fff;
  font-size: 0.72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
}
.product-body { padding: 20px; }
.product-body h5 { font-weight: 700; margin-bottom: 8px; }
.product-body p { color: var(--text-muted); font-size: 0.9rem; min-height: 60px; }
.product-price { font-weight: 700; color: var(--saffron-dark); font-size: 1.05rem; }

.quantity-pricing { border-top: 1px dashed #eee; border-bottom: 1px dashed #eee; padding: 10px 0; }
.qty-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 3px 0; }
.qty-row strong { color: var(--saffron-dark); }

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--golden-light) 0%, #FFEBCD 100%);
  padding: 70px 0 50px;
  margin-top: 0;
}
.page-header h1 { font-weight: 800; margin-bottom: 8px; }
.page-header p { color: var(--text-muted); margin: 0; }
.breadcrumb-item a { color: var(--saffron-dark); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-muted); }

/* ===== Product Detail ===== */
.product-detail-img-wrap { position: relative; background: var(--golden-light); border-radius: 18px; padding: 30px; }
.product-detail-img { width: 100%; max-height: 420px; object-fit: contain; }
.product-detail-desc { color: var(--text-muted); line-height: 1.8; }

.qty-option-card { display: block; cursor: pointer; }
.qty-option-card input { display: none; }
.qty-option-inner {
  border: 2px solid #eee; border-radius: 14px; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.25s ease;
}
.qty-option-card input:checked + .qty-option-inner {
  border-color: var(--saffron); background: var(--golden-light);
}
.qty-label { font-weight: 600; }
.qty-price { font-weight: 700; color: var(--saffron-dark); }

.product-highlights div { margin-bottom: 8px; color: var(--text-muted); }
.product-highlights i { color: var(--saffron); margin-right: 8px; }

/* ===== Why Choose Us ===== */
.why-list { list-style: none; padding: 0; }
.why-list li {
  padding: 12px 0; font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid #f2f2f2;
}
.why-list li:last-child { border-bottom: none; }
.why-list i { color: var(--saffron); margin-right: 12px; font-size: 1.2rem; }

/* ===== Testimonials ===== */
.testimonial-card {
  background: #fff; border-radius: 18px; padding: 28px;
  height: 100%; box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-rating { color: var(--golden); margin-bottom: 12px; font-size: 1rem; }
.testimonial-text { color: var(--text-muted); font-style: italic; min-height: 90px; }
.testimonial-author strong { display: block; color: var(--brown-dark); }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--golden); }

/* ===== Category Tabs (Products Page) ===== */
.category-tab-btn {
  background: #fff;
  border: 2px solid var(--saffron);
  color: var(--saffron);
  font-weight: 600;
  padding: 10px 32px;
  border-radius: 50px;
  transition: all 0.25s ease;
}
.category-tab-btn:hover { background: var(--golden-light); }
.category-tab-btn.active {
  background: var(--gradient-saffron);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255,153,51,0.35);
}

/* ===== Contact Banner ===== */
.contact-banner { width: 100%; max-height: 360px; overflow: hidden; }
.contact-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient-saffron);
  padding: 60px 0;
  color: #fff;
}
.cta-section h2 { color: #fff; font-weight: 800; }
.cta-section .btn-light { font-weight: 700; border-radius: 50px; padding: 12px 28px; }

/* ===== Contact Page ===== */
.contact-info-card {
  background: #fff; border-radius: 16px; padding: 26px;
  text-align: center; height: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.contact-info-card:hover { transform: translateY(-6px); border-color: var(--saffron); }
.contact-info-card i { font-size: 1.8rem; color: var(--saffron); margin-bottom: 10px; display: block; }
.contact-info-card h6 { font-weight: 700; margin-bottom: 6px; }
.contact-info-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.contact-info-card a { color: var(--text-muted); text-decoration: none; }

.contact-form .form-control {
  border-radius: 10px; padding: 10px 14px; border: 1px solid #e0e0e0;
}
.contact-form .form-control:focus {
  border-color: var(--saffron); box-shadow: 0 0 0 0.2rem rgba(255,153,51,0.15);
}
.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }

/* ===== FAQ Accordion ===== */
.accordion-button:not(.collapsed) {
  background: var(--golden-light); color: var(--saffron-dark);
}
.accordion-button:focus { box-shadow: none; border-color: var(--saffron); }
.accordion-item { border-radius: 12px !important; overflow: hidden; margin-bottom: 12px; border: 1px solid #f0f0f0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--brown-dark);
  color: #f5e9da;
  padding: 60px 0 0;
}
.footer-brand { color: #fff; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.footer-brand i { color: var(--golden); }
.footer-tagline { color: var(--golden); font-weight: 600; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; font-size: 0.9rem; color: #d8c6b4; }
.footer-links a { color: #d8c6b4; text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--golden); }
.text-light-50 { color: #c9b6a3 !important; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 30px 0 0; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; margin-right: 8px;
  transition: all 0.3s ease;
}
.social-links a:hover { background: var(--gradient-saffron); transform: translateY(-3px); }

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  animation: pulse 2s infinite;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Animations ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Misc ===== */
.alert-success { border-radius: 10px; }
