/* =====================================================================
   3A Podis — site stylesheet
   Warm, appetizing food-brand theme layered on top of Bootstrap 5.
   ===================================================================== */

:root {
  --clr-terracotta: #c15033;
  --clr-terracotta-dark: #9c3f28;
  --clr-saffron: #eb963c;
  --clr-leaf: #4b7f52;
  --clr-leaf-dark: #365c3b;
  --clr-cream: #fdf4e3;
  --clr-cream-soft: #fffaf2;
  --clr-charcoal: #3a2a24;
  --clr-muted: #7a6a5f;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(58, 42, 36, 0.10);
  --shadow-hover: 0 18px 40px rgba(193, 80, 51, 0.22);
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--clr-charcoal);
  background: var(--clr-cream-soft);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  color: var(--clr-charcoal);
  font-weight: 600;
}

a { text-decoration: none; }

/* ---------------------------------------------------------------------
   Top utility bar + main navbar
   --------------------------------------------------------------------- */
.topbar {
  background: var(--clr-charcoal);
  color: var(--clr-cream);
  font-size: 0.82rem;
  padding: 6px 0;
}
.topbar a { color: var(--clr-cream); font-weight: 500; }
.topbar a:hover { color: var(--clr-saffron); }

.main-navbar {
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 12px 0;
}
.navbar-brand { display: flex; align-items: center; gap: 4px; font-family: var(--font-display); font-size: 1.7rem; }
.brand-logo-img { height: 54px; width: auto; object-fit: contain; }

.main-navbar .nav-link {
  font-weight: 500;
  color: var(--clr-charcoal);
  padding: 8px 12px !important;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover { color: var(--clr-terracotta); }

.nav-search { max-width: 320px; }
.nav-search .form-control {
  border-radius: 50px 0 0 50px;
  border: 1px solid #eadfce;
  background: var(--clr-cream);
}
.nav-search .btn {
  border-radius: 0 50px 50px 0;
  background: var(--clr-terracotta);
  color: #fff;
  border: 1px solid var(--clr-terracotta);
}

.nav-icons .nav-icon-link {
  color: var(--clr-charcoal);
  font-size: 1.4rem;
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--clr-terracotta);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn-brand {
  background: var(--clr-terracotta);
  border-color: var(--clr-terracotta);
  color: #fff;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  transition: all .2s ease;
}
.btn-brand:hover {
  background: var(--clr-terracotta-dark);
  border-color: var(--clr-terracotta-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-brand-outline {
  border: 2px solid var(--clr-terracotta);
  color: var(--clr-terracotta);
  border-radius: 50px;
  padding: 9px 26px;
  font-weight: 600;
  background: transparent;
}
.btn-brand-outline:hover { background: var(--clr-terracotta); color: #fff; }
.btn-leaf {
  background: var(--clr-leaf);
  border-color: var(--clr-leaf);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
}
.btn-leaf:hover { background: var(--clr-leaf-dark); color: #fff; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  background: linear-gradient(135deg, var(--clr-cream) 0%, #fff 60%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(235,150,60,.22), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(75,127,82,.15), transparent 45%);
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(193,80,51,.1);
  color: var(--clr-terracotta);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.15; }
.hero p.lead { color: var(--clr-muted); font-size: 1.15rem; max-width: 520px; }
.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: rotate(1.5deg);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hero-image-wrap:hover img { transform: scale(1.04); }

.trust-badges { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.trust-badges .badge-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--clr-charcoal); font-size: .92rem; }
.trust-badges .badge-item i { color: var(--clr-leaf); font-size: 1.3rem; }

/* ---------------------------------------------------------------------
   Section headings
   --------------------------------------------------------------------- */
.section-heading { text-align: center; margin-bottom: 46px; }
.section-heading .eyebrow {
  color: var(--clr-terracotta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
}
.section-heading h2 { margin-top: 8px; }
.section-heading p { color: var(--clr-muted); max-width: 560px; margin: 10px auto 0; }
section { padding: 70px 0; }
.section-alt { background: var(--clr-cream); }

/* ---------------------------------------------------------------------
   Category cards
   --------------------------------------------------------------------- */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-soft);
  display: block;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(58,42,36,.85) 0%, rgba(58,42,36,.05) 60%);
}
.category-card .category-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px;
  z-index: 1;
  color: #fff;
}
.category-caption h3 { color: #fff; margin-bottom: 6px; }
.category-caption span { color: var(--clr-saffron); font-weight: 600; font-size: .9rem; }

/* ---------------------------------------------------------------------
   Product cards
   --------------------------------------------------------------------- */
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  border: 1px solid #f1e6d3;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card .product-thumb { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.product-card .product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.07); }
.product-card .product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--clr-leaf);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.product-card .product-body { padding: 18px 18px 20px; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.product-card .product-desc { color: var(--clr-muted); font-size: .88rem; min-height: 40px; }
.product-price { font-weight: 700; font-size: 1.15rem; color: var(--clr-terracotta); }
.product-price .mrp { color: var(--clr-muted); text-decoration: line-through; font-weight: 400; font-size: .85rem; margin-left: 6px; }
.product-card .add-to-cart-form { margin-top: 12px; }

/* ---------------------------------------------------------------------
   Why us / Innovation edge
   --------------------------------------------------------------------- */
.strength-card, .innovation-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease;
}
.strength-card:hover, .innovation-card:hover { transform: translateY(-4px); }
.strength-card .icon-wrap, .innovation-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(193,80,51,.1);
  color: var(--clr-terracotta);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* ---------------------------------------------------------------------
   Recipes / blog cards
   --------------------------------------------------------------------- */
.recipe-card { border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); height: 100%; }
.recipe-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.recipe-card .recipe-body { padding: 20px; }
.recipe-card h3 { font-size: 1.1rem; }

/* ---------------------------------------------------------------------
   CTA banner
   --------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--clr-terracotta), var(--clr-terracotta-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 50px;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.85); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--clr-charcoal); color: #d9cdc2; padding: 60px 0 24px; margin-top: 60px; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.footer-links a { color: #d9cdc2; display: block; padding: 4px 0; font-size: .92rem; }
.footer-links a:hover { color: var(--clr-saffron); }
.footer-links li { display: flex; gap: 8px; align-items: flex-start; }
.footer-brand-logo { display: inline-block; background: var(--clr-cream-soft); border-radius: var(--radius-sm); padding: 8px 14px; box-shadow: var(--shadow-soft); }
.footer-brand-logo img { height: 44px; width: auto; display: block; object-fit: contain; }
.footer-tagline { font-family: var(--font-display); font-size: 1.05rem; color: var(--clr-saffron); }
.footer-desc { color: #cbbfb3; }
.footer-social a { color: #fff; font-size: 1.3rem; margin-right: 14px; }
.footer-social a:hover { color: var(--clr-saffron); }
.footer-divider { border-color: rgba(255,255,255,.12); margin: 34px 0 18px; }
.footer-bottom { color: #b6a99d; }

/* ---------------------------------------------------------------------
   WhatsApp floating button
   --------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 1050;
  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 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------------------------------------------------------------------
   Flash toasts
   --------------------------------------------------------------------- */
.flash-toast {
  position: fixed;
  top: 90px; right: 20px;
  z-index: 2000;
  min-width: 260px;
  border-radius: var(--radius-sm);
  animation: fadeSlide .3s ease;
}
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-10px);} to { opacity: 1; transform: translateY(0);} }

/* ---------------------------------------------------------------------
   Breadcrumb / page header
   --------------------------------------------------------------------- */
.page-header { background: var(--clr-cream); padding: 40px 0; margin-bottom: 40px; }
.page-header h1 { margin-bottom: 6px; }
.page-header .breadcrumb { margin-bottom: 0; background: transparent; padding: 0; }

/* ---------------------------------------------------------------------
   Filters sidebar (catalog)
   --------------------------------------------------------------------- */
.filter-card { background: #fff; border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-soft); }
.filter-card h6 { text-transform: uppercase; font-size: .8rem; letter-spacing: .05em; color: var(--clr-muted); margin-bottom: 14px; }
.filter-card .form-check { margin-bottom: 8px; }

/* ---------------------------------------------------------------------
   Cart & Checkout
   --------------------------------------------------------------------- */
.cart-line {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #f1e6d3;
}
.cart-line img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); }
.qty-stepper { display: flex; align-items: center; border: 1px solid #eadfce; border-radius: 50px; overflow: hidden; width: fit-content; }
.qty-stepper button { border: none; background: var(--clr-cream); width: 32px; height: 32px; font-weight: 700; color: var(--clr-terracotta); }
.qty-stepper input { border: none; width: 42px; text-align: center; background: transparent; }
.order-summary-card { background: #fff; border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-soft); position: sticky; top: 100px; }

.checkout-steps { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.checkout-steps .step {
  background: #fff; border-radius: 50px; padding: 8px 18px;
  font-weight: 600; font-size: .85rem; color: var(--clr-muted);
  border: 1px solid #eadfce;
}
.checkout-steps .step.active { background: var(--clr-terracotta); color: #fff; border-color: var(--clr-terracotta); }

/* ---------------------------------------------------------------------
   Order tracking timeline
   --------------------------------------------------------------------- */
.tracking-timeline { display: flex; justify-content: space-between; position: relative; margin: 40px 0; flex-wrap: wrap; gap: 20px; }
.tracking-timeline::before {
  content: ''; position: absolute; top: 18px; left: 0; right: 0; height: 3px; background: #eadfce; z-index: 0;
}
.tracking-step { position: relative; z-index: 1; text-align: center; flex: 1; min-width: 100px; }
.tracking-step .dot {
  width: 38px; height: 38px; border-radius: 50%; background: #eadfce; color: #9a8b7d;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-weight: 700;
}
.tracking-step.done .dot { background: var(--clr-leaf); color: #fff; }
.tracking-step.current .dot { background: var(--clr-terracotta); color: #fff; box-shadow: 0 0 0 6px rgba(193,80,51,.18); }
.tracking-step span { font-size: .8rem; font-weight: 600; color: var(--clr-muted); }
.tracking-step.done span, .tracking-step.current span { color: var(--clr-charcoal); }

/* ---------------------------------------------------------------------
   Auth pages
   --------------------------------------------------------------------- */
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 44px; max-width: 460px; margin: 60px auto; }
.auth-card h1 { font-size: 1.7rem; }

/* ---------------------------------------------------------------------
   Dashboard
   --------------------------------------------------------------------- */
.dash-sidebar { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 10px; }
.dash-sidebar a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); color: var(--clr-charcoal); font-weight: 500; }
.dash-sidebar a.active, .dash-sidebar a:hover { background: var(--clr-cream); color: var(--clr-terracotta); }
.stat-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 22px; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 700; color: var(--clr-terracotta); }

/* ---------------------------------------------------------------------
   Forms (general)
   --------------------------------------------------------------------- */
.form-control, .form-select { border-radius: var(--radius-sm); border-color: #eadfce; padding: 10px 14px; }
.form-control:focus, .form-select:focus { border-color: var(--clr-terracotta); box-shadow: 0 0 0 .2rem rgba(193,80,51,.15); }
label.form-label { font-weight: 600; font-size: .9rem; }

/* Utility */
.text-brand { color: var(--clr-terracotta); }
.bg-cream { background: var(--clr-cream); }
.rounded-xl { border-radius: var(--radius-lg); }

.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .order-summary-card { position: static; }
  .hero { padding: 60px 0 80px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .trust-badges { justify-content: center; }
}
