/* =========================================================
   PEARL FOOD INDUSTRIES - DIP N TASTE
   Main Stylesheet
   ---------------------------------------------------------
   Colors change karne ke liye neeche :root mein values badlein
   ========================================================= */

:root {
  --maroon: #8b1e2d;       /* Dip N Taste brand color */
  --maroon-dark: #6a1522;
  --navy: #0b2a6b;         /* Pearl logo blue */
  --gold: #c9a24a;         /* Pearl logo gold */
  --cream: #fbf6ee;        /* Background */
  --white: #ffffff;
  --text: #2a1a14;
  --muted: #6b5a52;
  --border: #eadfce;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 26, 20, 0.08);
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--text); }
.btn-whatsapp { background: #25d366; color: var(--white); }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--gold); }

/* ---------- Header / Navigation ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
.logo img { height: 66px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-menu a {
  display: block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--maroon); background: var(--cream); }
.nav-menu a.active { color: var(--maroon); font-weight: 600; }
.nav-menu .btn { padding: 10px 20px; color: var(--white); }
.nav-menu .btn:hover { background: var(--maroon-dark); color: var(--white); }

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* ---------- Hero (Home) ---------- */
.hero {
  padding: 60px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--maroon);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 18px;
}
.hero h1 span { color: var(--maroon); }
.hero p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 8px;
}
.page-banner p { opacity: 0.9; }
.breadcrumb { font-size: 14px; margin-top: 8px; opacity: 0.85; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-white { background: var(--white); }
.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-title h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 12px;
}
.section-title p { color: var(--muted); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.section-white .feature { background: var(--cream); }
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---------- Product Cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.product-card .img-wrap {
  background: #f6f2ec;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-tag {
  font-size: 12px;
  color: var(--maroon);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-info h3 { font-size: 19px; }
.product-info p { color: var(--muted); font-size: 14px; flex: 1; }
.product-size {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}
.product-info .btn { margin-top: 10px; padding: 10px 18px; font-size: 14px; }

/* ---------- Filter Buttons ---------- */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
}
.filter-btn:hover { border-color: var(--maroon); color: var(--maroon); }
.filter-btn.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

/* ---------- Video Section ---------- */
.video-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.video-box video {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #000;
}
.check-list { list-style: none; margin: 20px 0 28px; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--maroon);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.5 14.5l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.5 14.5l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- CTA Band ---------- */
.cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 50px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.cta p { opacity: 0.85; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-grid img { border-radius: 20px; box-shadow: var(--shadow); }
.about-grid h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 16px; }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.about-logo-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat {
  background: var(--maroon);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px 16px;
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--gold);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mv-card {
  background: var(--cream);
  border-left: 4px solid var(--maroon);
  border-radius: var(--radius);
  padding: 28px;
}
.mv-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--maroon); }
.mv-card p { color: var(--muted); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-group label,
.form-group > span { font-weight: 500; font-size: 14px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--cream);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--maroon);
  outline-offset: 1px;
  background: var(--white);
}
.required { color: var(--maroon); }

.order-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.order-item {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.8fr auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  background: var(--cream);
  border-radius: 12px;
  margin-bottom: 10px;
}
.order-item .form-group { margin-bottom: 0; }
.order-item .form-group input,
.order-item .form-group select { background: var(--white); }
.remove-item {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--maroon);
  border-radius: 10px;
  width: 44px;
  height: 46px;
  cursor: pointer;
  font-size: 20px;
}
.remove-item:hover { background: var(--maroon); color: var(--white); }
.add-item-btn { margin-bottom: 22px; }

.order-summary {
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 100px;
}
.order-summary h3 { color: var(--white); font-size: 22px; margin-bottom: 14px; }
.summary-list { list-style: none; margin-bottom: 18px; }
.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}
.summary-empty { opacity: 0.7; font-size: 14px; }
.order-summary .note { font-size: 13px; opacity: 0.8; margin-top: 14px; }
.steps { list-style: none; counter-reset: step; margin-top: 18px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  font-size: 14px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.form-message.success { display: block; background: #e7f6ec; color: #1e6b3a; }
.form-message.error { display: block; background: #fdeaea; color: var(--maroon); }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-card .feature-icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.contact-card .feature-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 18px; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 15px; }
.contact-card a:hover { color: var(--maroon); }
.map-box iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1e1210;
  color: #d8cbc3;
  padding-top: 60px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-logo {
  background: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo img { height: 50px; width: auto; }
.site-footer h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 200;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* =========================================================
   RESPONSIVE (Mobile / Tablet)
   ========================================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  .nav-menu.open { display: flex; }
  .nav-menu .btn { margin-top: 8px; }

  .hero .container,
  .video-section .container,
  .about-grid,
  .order-layout,
  .contact-layout { grid-template-columns: 1fr; }

  .hero { padding: 40px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .topbar .hide-mobile { display: none; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-info { padding: 14px; }
  .product-info h3 { font-size: 16px; }
  .product-info p { display: none; }
  .features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .order-item { grid-template-columns: 1fr 1fr; }
  .order-item .form-group:first-child { grid-column: 1 / -1; }
  .section { padding: 50px 0; }
  .cta { padding: 36px 24px; }
  .form-card { padding: 22px; }
  .logo img { height: 46px; }
}
