/* ==========================================================================
   Global Food & Spices Limited — Common Stylesheet
   Theme: Green & Orange (derived from brand logo)
   Built on Bootstrap 5. Shared across all pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --gfs-green: #4a6340;
  --gfs-green-dark: #2f4426;
  --gfs-green-light: #6f8a61;
  --gfs-orange: #e8871e;
  --gfs-orange-dark: #c96f0f;
  --gfs-orange-light: #f6a94c;

  /* Neutrals */
  --gfs-cream: #faf8f2;
  --gfs-sand: #f1ede2;
  --gfs-ink: #262a24;
  --gfs-muted: #5c6157;
  --gfs-white: #ffffff;
  --gfs-border: #e2ddd0;

  /* Typography */
  --gfs-font-heading: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  --gfs-font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --gfs-radius: 0.75rem;
  --gfs-radius-sm: 0.5rem;
  --gfs-shadow: 0 0.5rem 1.5rem rgba(38, 42, 36, 0.08);
  --gfs-shadow-lg: 0 1rem 2.5rem rgba(38, 42, 36, 0.14);
  --gfs-transition: 0.25s ease-in-out;
}

/* --------------------------------------------------------------------------
   2. Base / Reset
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--gfs-font-body);
  color: var(--gfs-ink);
  background-color: var(--gfs-white);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--gfs-font-heading);
  font-weight: 600;
  color: var(--gfs-green-dark);
  letter-spacing: -0.01em;
}

a {
  color: var(--gfs-green);
  text-decoration: none;
  transition: color var(--gfs-transition);
}

a:hover,
a:focus {
  color: var(--gfs-orange-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Accessible focus outline */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid var(--gfs-orange-light);
  outline-offset: 2px;
}

/* Reusable section spacing */
.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--tint {
  background-color: var(--gfs-cream);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow {
  display: inline-block;
  font-family: var(--gfs-font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gfs-orange-dark);
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.text-orange { color: var(--gfs-orange) !important; }
.text-green { color: var(--gfs-green) !important; }
.bg-cream { background-color: var(--gfs-cream) !important; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--gfs-font-heading);
  font-weight: 600;
  border-radius: var(--gfs-radius-sm);
  padding: 0.7rem 1.6rem;
  transition: all var(--gfs-transition);
}

.btn-brand {
  background-color: var(--gfs-orange);
  border-color: var(--gfs-orange);
  color: var(--gfs-white);
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: var(--gfs-orange-dark);
  border-color: var(--gfs-orange-dark);
  color: var(--gfs-white);
  transform: translateY(-2px);
}

.btn-brand-outline {
  background-color: transparent;
  border: 2px solid var(--gfs-green);
  color: var(--gfs-green);
}

.btn-brand-outline:hover,
.btn-brand-outline:focus {
  background-color: var(--gfs-green);
  color: var(--gfs-white);
}

.btn-light-outline {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--gfs-white);
}

.btn-light-outline:hover,
.btn-light-outline:focus {
  background-color: var(--gfs-white);
  color: var(--gfs-green-dark);
}

/* --------------------------------------------------------------------------
   4. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--gfs-white);
  box-shadow: 0 2px 12px rgba(38, 42, 36, 0.06);
}

.topbar {
  background-color: var(--gfs-green-dark);
  color: var(--gfs-cream);
  font-size: 0.85rem;
}

.topbar a {
  color: var(--gfs-cream);
}

.topbar a:hover {
  color: var(--gfs-orange-light);
}

.navbar-brand img {
  height: 58px;
  width: auto;
}

.site-nav .nav-link {
  font-family: var(--gfs-font-heading);
  font-weight: 500;
  color: var(--gfs-ink);
  padding-inline: 1rem !important;
  position: relative;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: var(--gfs-green);
}

.site-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 3px;
  border-radius: 3px;
  background-color: var(--gfs-orange);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--gfs-white);
  background:
    linear-gradient(120deg, rgba(47, 68, 38, 0.92), rgba(74, 99, 64, 0.78)),
    url("https://images.unsplash.com/photo-1596040033229-a9821ebd058d?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.hero h1 {
  color: var(--gfs-white);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.hero p {
  font-size: 1.15rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero .badge-pill {
  display: inline-block;
  background-color: rgba(232, 135, 30, 0.9);
  color: var(--gfs-white);
  font-family: var(--gfs-font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

/* Compact page banner (inner pages) */
.page-banner {
  background:
    linear-gradient(120deg, rgba(47, 68, 38, 0.94), rgba(74, 99, 64, 0.82)),
    url("https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  color: var(--gfs-white);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.page-banner h1 {
  color: var(--gfs-white);
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.page-banner .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.page-banner .breadcrumb a { color: var(--gfs-orange-light); }
.page-banner .breadcrumb-item.active { color: rgba(255, 255, 255, 0.85); }

/* --------------------------------------------------------------------------
   6. Stat strip
   -------------------------------------------------------------------------- */
.stat-strip {
  background-color: var(--gfs-orange);
  color: var(--gfs-white);
}

.stat-strip .stat-number {
  font-family: var(--gfs-font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.stat-strip .stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.95;
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.feature-card,
.category-card,
.product-card {
  background-color: var(--gfs-white);
  border: 1px solid var(--gfs-border);
  border-radius: var(--gfs-radius);
  box-shadow: var(--gfs-shadow);
  transition: transform var(--gfs-transition), box-shadow var(--gfs-transition);
  height: 100%;
}

.feature-card:hover,
.category-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gfs-shadow-lg);
}

.feature-card {
  padding: 2rem 1.75rem;
}

.feature-card .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--gfs-cream);
  color: var(--gfs-orange);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

/* Category / product image cards */
.category-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.category-card-link:hover,
.category-card-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.category-card {
  overflow: hidden;
}

.category-card .card-img-wrap,
.product-card .card-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--gfs-sand);
}

.category-card .card-img-wrap img,
.product-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .card-img-wrap img,
.product-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.product-card .badge-cat {
  background-color: var(--gfs-green);
  color: var(--gfs-white);
  font-family: var(--gfs-font-heading);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.product-card .product-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
  max-height: calc(1.45em * 3);
  cursor: help;
}

.tooltip.product-desc-tooltip .tooltip-inner {
  max-width: 280px;
  text-align: left;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Product filter bar */
.filter-bar {
  scroll-margin-top: 10rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--gfs-font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--gfs-border);
  background-color: var(--gfs-white);
  color: var(--gfs-green-dark);
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all var(--gfs-transition);
}

.filter-btn:hover {
  border-color: var(--gfs-green);
  color: var(--gfs-green);
}

.filter-btn.active {
  background-color: var(--gfs-green);
  border-color: var(--gfs-green);
  color: var(--gfs-white);
}

/* --------------------------------------------------------------------------
   8. Split / feature sections
   -------------------------------------------------------------------------- */
.split-img {
  border-radius: var(--gfs-radius);
  box-shadow: var(--gfs-shadow-lg);
  object-fit: cover;
  width: 100%;
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background-color: var(--gfs-green);
  color: var(--gfs-white);
  font-size: 0.8rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--gfs-green-dark), var(--gfs-green));
  color: var(--gfs-white);
}

.cta-band h2 {
  color: var(--gfs-white);
}

/* --------------------------------------------------------------------------
   10. Forms (Contact)
   -------------------------------------------------------------------------- */
.form-panel {
  background-color: var(--gfs-white);
  border: 1px solid var(--gfs-border);
  border-radius: var(--gfs-radius);
  box-shadow: var(--gfs-shadow);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.form-label {
  font-family: var(--gfs-font-heading);
  font-weight: 500;
  color: var(--gfs-green-dark);
}

.form-control,
.form-select {
  border-color: var(--gfs-border);
  border-radius: var(--gfs-radius-sm);
  padding: 0.7rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gfs-green-light);
  box-shadow: 0 0 0 0.25rem rgba(74, 99, 64, 0.15);
}

.info-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-tile .info-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: var(--gfs-radius-sm);
  background-color: var(--gfs-cream);
  color: var(--gfs-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--gfs-radius);
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--gfs-green-dark);
  color: rgba(250, 248, 242, 0.82);
  padding-block: 3.5rem 0;
}

.site-footer h5 {
  color: var(--gfs-white);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.site-footer a {
  color: rgba(250, 248, 242, 0.82);
}

.site-footer a:hover {
  color: var(--gfs-orange-light);
}

.site-footer .footer-logo {
  height: 64px;
  background-color: var(--gfs-cream);
  padding: 0.5rem 0.75rem;
  border-radius: var(--gfs-radius-sm);
}

.footer-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.6rem;
}

.social-links{
  display: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gfs-white);
  margin-right: 0.5rem;
  transition: background-color var(--gfs-transition);
}

.social-links a:hover {
  background-color: var(--gfs-orange);
  color: var(--gfs-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-block: 1.25rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   12. Utilities / responsive tweaks
   -------------------------------------------------------------------------- */
.lead-muted {
  color: var(--gfs-muted);
  font-size: 1.1rem;
}

@media (max-width: 991.98px) {
  .navbar-brand img { height: 48px; }

  .site-nav .nav-link.active::after { display: none; }
}
