@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ===================================================
   SADIDA — INNER PAGES SHARED STYLESHEET
   Used by: about, products, processing, product detail pages
   =================================================== */

:root {
  --green:       #0b5d3a;
  --green-dark:  #083f27;
  --green-mid:   #0e7048;
  --green-light: #e8f3ed;
  --gold:        #c8952a;
  --gold-light:  #fdf3e0;
  --off-white:   #f8f6f1;
  --white:       #ffffff;
  --text:        #1a2a1a;
  --text-muted:  #5a6e5a;
  --border:      #d8e8d8;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.12);
  --transition:  0.28s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  background-color: var(--off-white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===================================================
   INNER PAGE HEADER
   =================================================== */

.inner-header {
  background: var(--green);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.inner-header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.inner-header-bar .home-link {
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.inner-header-bar .home-link:hover {
  color: var(--gold);
}

.inner-header-bar .page-title {
  margin: 0;
  color: white;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.inner-header-bar .menu-btn {
  position: absolute;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.inner-header-bar .menu-btn img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* ===================================================
   PAGE BANNER (decorative strip below header)
   =================================================== */

.page-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: white;
  text-align: center;
  padding: 48px 24px 44px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.page-banner h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  margin: 0 0 10px;
  position: relative;
}

.page-banner p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}

/* ===================================================
   CONTENT WRAPPER
   =================================================== */

.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 32px 80px;
}

.content-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 32px 80px;
}

/* ===================================================
   HEADINGS
   =================================================== */

h1, h2, h3 {
  color: var(--green);
  font-family: 'Fraunces', Georgia, serif;
}

h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  margin-top: 48px;
  margin-bottom: 14px;
}

h2:first-child {
  margin-top: 0;
}

p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 0;
}

strong {
  color: var(--text);
}

/* ===================================================
   FOUNDER / ABOUT SECTION
   =================================================== */

.founder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--border);
}

.founder-card img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.founder-info h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.founder-info .title {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.founder-info p {
  margin: 0;
  font-size: 15px;
}

/* Legacy founder section */
.founder-section img {
  width: 80%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  margin-top: 20px;
  box-shadow: var(--shadow);
}

.founder-caption {
  margin-top: 10px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
}

/* ===================================================
   VALUES GRID
   =================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: left;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--green);
}

.value-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ===================================================
   MAP LINK & GENERIC BUTTONS
   =================================================== */

.map-link, .button {
  display: inline-block;
  padding: 12px 26px;
  background-color: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(11, 93, 58, 0.25);
  margin: 8px 4px;
}

.map-link:hover, .button:hover {
  background-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 93, 58, 0.35);
}

/* ===================================================
   PRODUCT CARDS GRID
   =================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--green);
  font-family: 'Fraunces', Georgia, serif;
}

.product-card p {
  margin: 0 0 20px;
  font-size: 14px;
  flex: 1;
}

.product-card .button {
  align-self: flex-start;
  margin: 0;
}

/* ===================================================
   PROCESSING PAGE — STEP LIST
   =================================================== */

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.steps-list li span {
  padding-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===================================================
   IMAGE & VIDEO GRIDS (processing page)
   =================================================== */

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.image-grid img, .image-grid video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.image-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.image-grid-2 img, .image-grid-2 video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  display: block;
}

.square-video {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 24px auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.square-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.video-full {
  width: 90%;
  max-width: 600px;
  margin: 24px auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Processing section blocks */
.proc-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.proc-section h2 {
  margin-top: 0;
}

/* ===================================================
   PRODUCT DETAIL PAGE
   =================================================== */

.product-detail-video {
  width: 90%;
  max-width: 600px;
  margin: 0 auto 32px;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===================================================
   WHATSAPP BUTTON
   =================================================== */

.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: white;
  padding: 13px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* ===================================================
   FOOTER
   =================================================== */

footer {
  background-color: var(--green-dark);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 24px 20px;
  font-size: 14px;
  margin-top: 40px;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media screen and (max-width: 640px) {
  .content, .content-wide {
    padding: 36px 20px 60px;
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
  }

  .founder-card img {
    width: 140px;
    height: 140px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .proc-section {
    padding: 24px 20px;
  }
}
