/* ==========================================================================
   GauDhanam (GDH Milk Products) - Primary Design Stylesheet
   Theme: Vedic Pure A2 Organic Dairy (Amber Gold, Cream, Deep Forest Green)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  --gdh-gold: #D4AF37;
  --gdh-gold-light: #F4E8C1;
  --gdh-gold-dark: #B38F10;
  --gdh-amber: #8B5A2B;
  --gdh-cream: #FFFDF7;
  --gdh-cream-dark: #F7F3E9;
  --gdh-green: #2E7D32;
  --gdh-green-dark: #1B4D3E;
  --gdh-green-light: #E8F5E9;
  --gdh-dark: #1F2421;
  --gdh-gray: #6C757D;
  --gdh-gray-light: #F8F9FA;
  --gdh-border: #E5E0D8;
  --gdh-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --gdh-shadow-hover: 0 15px 35px rgba(212, 175, 55, 0.2);
  --gdh-radius: 16px;
  --gdh-radius-sm: 8px;
  --gdh-font-heading: 'Outfit', sans-serif;
  --gdh-font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--gdh-font-body);
  background-color: var(--gdh-cream);
  color: var(--gdh-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--gdh-font-heading);
  font-weight: 700;
  color: var(--gdh-green-dark);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.top-bar {
  background: var(--gdh-green-dark);
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 0;
  font-weight: 500;
}
.top-bar a {
  color: var(--gdh-gold-light);
  text-decoration: none;
}
.top-bar a:hover {
  color: #fff;
}

.gdh-navbar {
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gdh-border);
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: all 0.3s ease;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gdh-gold), var(--gdh-amber));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}
.brand-title {
  font-family: var(--gdh-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gdh-green-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.brand-subtitle {
  font-size: 0.68rem;
  color: var(--gdh-amber);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: block;
}

.gdh-nav-link {
  font-weight: 600;
  color: var(--gdh-dark);
  padding: 8px 16px !important;
  border-radius: 20px;
  transition: all 0.25s ease;
}
.gdh-nav-link:hover, .gdh-nav-link.active {
  color: var(--gdh-green-dark);
  background: var(--gdh-gold-light);
}

.btn-gdh-cart {
  position: relative;
  background: var(--gdh-green-dark);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-gdh-cart:hover {
  background: var(--gdh-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(27, 77, 62, 0.3);
}
.cart-badge {
  background: var(--gdh-gold);
  color: var(--gdh-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

/* ==========================================================================
   Hero Banner Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.95), rgba(46, 125, 50, 0.85)), url('https://images.unsplash.com/photo-1527153857715-3908f2bae5e8?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  padding: 90px 0 100px;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--gdh-cream), transparent);
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid var(--gdh-gold);
  color: var(--gdh-gold-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-title span {
  color: var(--gdh-gold);
}

.hero-lead {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 30px;
  max-width: 600px;
}

.btn-gdh-primary {
  background: linear-gradient(135deg, var(--gdh-gold), var(--gdh-amber));
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn-gdh-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.6);
}

.btn-gdh-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-gdh-outline:hover {
  background: #fff;
  color: var(--gdh-green-dark);
}

.hero-image-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
}
.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.floating-purity-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 20px;
  color: var(--gdh-dark);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}
.floating-purity-tag i {
  font-size: 1.8rem;
  color: var(--gdh-gold);
}

/* ==========================================================================
   Vedic Bilona Process Timeline Section
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-subtitle {
  color: var(--gdh-amber);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.3rem;
  color: var(--gdh-green-dark);
  margin-bottom: 12px;
}

.bilona-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  position: relative;
}

.bilona-step-card {
  background: #fff;
  border: 1px solid var(--gdh-border);
  border-radius: var(--gdh-radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--gdh-shadow);
}
.bilona-step-card:hover {
  transform: translateY(-8px);
  border-color: var(--gdh-gold);
  box-shadow: var(--gdh-shadow-hover);
}
.step-number-badge {
  width: 46px;
  height: 46px;
  background: var(--gdh-gold-light);
  color: var(--gdh-amber);
  font-family: var(--gdh-font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.bilona-step-card i {
  font-size: 2.2rem;
  color: var(--gdh-green-dark);
  margin-bottom: 12px;
  display: block;
}
.bilona-step-card h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.bilona-step-card p {
  font-size: 0.88rem;
  color: var(--gdh-gray);
  margin: 0;
}

/* ==========================================================================
   Purity & Quality Assurance Badges
   ========================================================================== */
.quality-assurance-box {
  background: linear-gradient(135deg, var(--gdh-green-dark), #143B2F);
  color: #fff;
  border-radius: var(--gdh-radius);
  padding: 40px 30px;
  box-shadow: var(--gdh-shadow);
}
.quality-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.quality-icon-circle {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gdh-gold);
  color: var(--gdh-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Product Cards & Grid
   ========================================================================== */
.product-card {
  background: #fff;
  border-radius: var(--gdh-radius);
  border: 1px solid var(--gdh-border);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--gdh-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gdh-gold);
  box-shadow: var(--gdh-shadow-hover);
}
.product-img-wrapper {
  position: relative;
  height: 240px;
  background: var(--gdh-cream-dark);
  overflow: hidden;
}
.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}
.badge-flagship {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gdh-gold);
  color: var(--gdh-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gdh-amber);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-title a {
  color: var(--gdh-green-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.product-title a:hover {
  color: var(--gdh-amber);
}

.product-variant-select {
  border: 1px solid var(--gdh-border);
  border-radius: var(--gdh-radius-sm);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  width: 100%;
  margin-bottom: 14px;
  background: #fff;
}

.product-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.sale-price {
  font-family: var(--gdh-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gdh-green-dark);
}
.original-price {
  font-size: 0.9rem;
  color: var(--gdh-gray);
  text-decoration: line-through;
}

.btn-add-cart {
  width: 100%;
  background: var(--gdh-green-dark);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  margin-top: auto;
}
.btn-add-cart:hover {
  background: var(--gdh-gold);
  color: var(--gdh-dark);
}

/* ==========================================================================
   Order Tracking Stepper Visual Timeline
   ========================================================================== */
.order-tracking-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0 20px;
}
.order-tracking-stepper::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gdh-border);
  z-index: 1;
}
.stepper-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}
.stepper-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 3px solid var(--gdh-border);
  color: var(--gdh-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 10px;
  transition: all 0.3s ease;
}
.stepper-step.completed .stepper-icon {
  background: var(--gdh-green);
  border-color: var(--gdh-green);
  color: #fff;
}
.stepper-step.active .stepper-icon {
  background: var(--gdh-gold);
  border-color: var(--gdh-gold-dark);
  color: var(--gdh-dark);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.25);
}
.stepper-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gdh-dark);
}

/* ==========================================================================
   Badges
   ========================================================================== */
.gdh-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.badge-pending { background: #FFF3CD; color: #856404; }
.badge-processing { background: #CCE5FF; color: #004085; }
.badge-shipped { background: #E2E3E5; color: #383D41; }
.badge-delivery { background: #D1ECF1; color: #0C5460; }
.badge-delivered { background: #D4EDDA; color: #155724; }
.badge-cancelled { background: #F8D7DA; color: #721C24; }

/* ==========================================================================
   Slide-over Cart Drawer
   ========================================================================== */
.offcanvas-cart {
  width: 400px !important;
}
.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gdh-border);
}
.cart-item-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.gdh-footer {
  background: var(--gdh-green-dark);
  color: #fff;
  padding: 70px 0 30px;
  margin-top: 80px;
}
.gdh-footer a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s;
}
.gdh-footer a:hover {
  color: var(--gdh-gold);
}
.fssai-badge-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed var(--gdh-gold);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-section { padding: 50px 0 70px; }
  .bilona-process-grid { grid-template-columns: repeat(2, 1fr); }
  .offcanvas-cart { width: 100% !important; }
}
