/* =========================================================
   RG Ghee — Home Page
   ========================================================= */

:root {
  --maroon: #3d0d0b;
  --maroon-dark: #2c0908;
  --maroon-light: #5a1a16;
  --gold: #c9973e;
  --gold-dark: #b07f2a;
  --green: #6b8a4f;
  --green-dark: #557040;
  --cream: #faf6ec;
  --cream-deep: #f3ecda;
  --text-dark: #241a15;
  --text-body: #6b655e;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  scrollbar-width: thin;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: #fff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.section-eyebrow {
  color: var(--green);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 1rem;
}

.title-divider {
  width: 90px;
  height: 3px;
  background: var(--maroon);
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
}
.title-divider::before,
.title-divider::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--maroon);
  opacity: .5;
}
.title-divider::before{ right: 100%; margin-right: 10px; }
.title-divider::after{ left: 100%; margin-left: 10px; }

.text-start .title-divider{ margin: 0; }
.text-start .title-divider::before{ display:none; }

/* Buttons */
.btn-brand {
  background-color: var(--maroon);
  border: 2px solid var(--maroon);
  color: #fff;
  font-weight: 600;
  padding: .7rem 1.6rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-brand:hover {
  background-color: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: #fff;
}

.btn-brand-outline {
  background-color: #fff;
  border: 2px solid var(--maroon);
  color: var(--maroon);
  font-weight: 600;
  padding: .7rem 1.6rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-brand-outline:hover {
  background-color: var(--maroon);
  color: #fff;
}

.btn-gold {
  background-color: var(--gold);
  border: 2px solid var(--gold);
  color: var(--maroon-dark);
  font-weight: 700;
  padding: .65rem 1.7rem;
  border-radius: 8px;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--maroon-dark);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--text-dark);
  font-weight: 600;
  font-size: .85rem;
  padding: .4rem 1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s ease;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
}

/* =========== Top bar =========== */
.topbar {
  background-color: var(--maroon);
  color: #f1e4d8;
  font-size: .82rem;
  padding: .5rem 0;
}
.topbar a { color: #f1e4d8; }
.topbar a:hover { color: var(--gold); }
.topbar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  margin-left: .4rem;
}

/* =========== Navbar =========== */
.navbar-brand img {
  height: 56px;
}
.main-nav {
  padding: .9rem 0;
  background: #fff;
}
.main-nav .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem .9rem !important;
}
.main-nav .nav-link.active {
  color: var(--gold-dark);
}
.main-nav .nav-link:hover {
  color: var(--maroon);
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e4ddd2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-dark);
  flex-shrink: 0;
}
.icon-btn .badge-dot {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #d43b2f;
  border-radius: 50%;
}

/* =========== Hero =========== */
.hero {
  background: linear-gradient(180deg, #c9e6f5 0%, #dcf0fa 25%, #eef8fb 45%, #f3f6e9 65%, #e3edc9 85%, #d7c9a0 100%);
  position: relative;
  overflow: hidden;
  padding-top: 3.5rem;
}
.hero-eyebrow {
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .85rem;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: var(--maroon-dark);
  margin: .6rem 0 1.1rem;
}
.hero p.lead {
  color: var(--text-body);
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 1.8rem;
}
.hero-img-wrap {
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%);
  mask-image: linear-gradient(to right, transparent, black 12%);
}
.hero-divider {
  width: 70px;
  height: 3px;
  background: var(--maroon);
  margin-bottom: 1.3rem;
  border-radius: 2px;
}

/* Feature strip */
.feature-strip {
  background: var(--cream);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(61, 13, 11, .08);
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  margin-bottom: 4rem;
}
.feature-item {
  text-align: center;
  padding: .5rem 1rem;
  border-right: 1px solid #e6ddc9;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-item:last-child { border-right: none; }
.feature-item .fi-icon {
  font-size: 1.7rem;
  color: var(--text-dark);
  margin-bottom: .6rem;
  height: 1.7rem;
  display: flex;
  align-items: center;
}
.feature-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  color: var(--text-dark);
  margin-bottom: .25rem;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-item p {
  font-size: .8rem;
  margin-bottom: 0;
  color: var(--text-body);
  min-height: 2.2rem;
}

/* Products */
.product-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(61,13,11,.1);
}
.product-card img {
  height: 130px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}
.product-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}
.product-card p {
  font-size: .82rem;
  min-height: 40px;
}

/* Why choose */
.why-choose-img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  box-shadow: 0 25px 50px rgba(61,13,11,.15);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .9rem;
  font-size: .95rem;
}
.check-list li i {
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
}

/* Process */
.process-section { background: var(--cream); }
.process-step {
  text-align: center;
  position: relative;
}
.process-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #dfeecb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--maroon-dark);
  margin: 0 auto 1rem;
}
.process-step h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-dark);
}
.process-step p {
  font-size: .8rem;
  margin-bottom: 0;
}
.process-line {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 100%;
  height: 0;
  border-top: 2px dotted #b9c98f;
  z-index: 0;
}
.process-step:last-child .process-line { display: none; }

/* Recipes */
.recipes-band {
  background: #e6efd9;
  border-radius: 20px;
  padding: 2rem;
}
.recipes-eyebrow {
  color: #a9822f;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.recipe-card {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 190px;
}
.recipe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.recipe-card:hover img { transform: scale(1.06); }

/* Distributor */
.distributor-section {
  background: linear-gradient(120deg, #f6e7b8 0%, #eadf9e 35%, #cbd79a 70%, #9db866 100%);
  position: relative;
  overflow: hidden;
}
.distributor-eyebrow { color: var(--green-dark); }
.distributor-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.distributor-card .d-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--maroon);
  margin: 0 auto .5rem;
}
.distributor-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  text-align: center;
  margin-bottom: 0;
}
.distributor-photo {
  border-radius: 16px;
  max-height: 340px;
  width: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%);
  mask-image: linear-gradient(to right, transparent, black 15%);
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.8rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.testimonial-card .quote-mark {
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: 700;
}
.testimonial-card p.quote {
  color: var(--text-dark);
  font-size: .95rem;
  margin: .8rem 0;
}
.testimonial-card .stars { color: var(--gold); font-size: .85rem; margin-bottom: .5rem; }
.testimonial-card .author { font-weight: 700; color: var(--text-dark); font-size: .88rem; }

.testi-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; }
.testi-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: #d8d2c4;
}
.testi-dots span.active { background: var(--green); width: 22px; border-radius: 4px; }

/* Footer */
.site-footer {
  background: var(--cream-deep);
  padding-top: 3.5rem;
}
.site-footer h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer ul li a {
  color: var(--text-body);
  font-size: .88rem;
}
.site-footer ul li a:hover { color: var(--maroon); }
.site-footer .footer-logo img { height: 60px; }
.site-footer .footer-about {
  font-size: .85rem;
  max-width: 260px;
  margin: 1rem 0;
}
.site-footer .social-icons a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--text-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
}
.contact-list { list-style: none; padding: 0; font-size: .85rem; }
.contact-list li {
  display: flex;
  gap: .6rem;
  margin-bottom: .9rem;
  color: var(--text-body);
}
.contact-list li i { color: var(--maroon); margin-top: .15rem; }

.footer-bottom {
  background: var(--maroon);
  color: #d9c9bd;
  font-size: .82rem;
  padding: 1rem 0;
  margin-top: 2.5rem;
}
.footer-bottom a { color: #d9c9bd; }

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 999;
  border: none;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================================
   Responsive tweaks
   ========================================================= */
@media (max-width: 991.98px) {
  .feature-item { border-right: none; border-bottom: 1px solid #e6ddc9; padding-bottom: 1.2rem; margin-bottom: 1.2rem; }
  .process-line { display: none; }
  .hero { text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-divider { margin-left: auto; margin-right: auto; }
  .hero-img-wrap img { mask-image: none; -webkit-mask-image: none; }
  .why-choose-img { margin-bottom: 2rem; }
}

@media (max-width: 767.98px) {
  .topbar .topbar-welcome { display: none; }
  .feature-strip { margin-top: 1.5rem; }
  .recipes-band .row > div:first-child { text-align: center; margin-bottom: 1.5rem; }
  .distributor-photo { mask-image: none; -webkit-mask-image: none; margin-top: 1.5rem; }
  .distributor-card { margin: 1.5rem 0; }

  .site-footer { text-align: center; }
  .site-footer [class*="col-"] { margin-bottom: 2rem; }
  .site-footer [class*="col-"]:last-child { margin-bottom: 0; }
  .site-footer .footer-about { margin-left: auto; margin-right: auto; }
  .site-footer .social-icons { display: flex; justify-content: center; }
  .site-footer .contact-list li { justify-content: center; }
}

@media (max-width: 575.98px) {
  .topbar .topbar-contact span:first-child { display: none; }
}
