:root {
  --bg-main: #FFF9F0;
  --bg-card: #FFFFFF;
  --bg-accent: #E8F4E8;
  --bg-accent-soft: #F4FFF4;

  --text-main: #3B3F36;
  --text-muted: #6F7A6F;

  --accent-primary: #6FAF7F;
  --accent-secondary: #A8C9A8;

  --border-soft: rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.06);

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --max-width: 1120px;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #fff3e6 0, #fff9f4 40%, #ffffff 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, #618d61, #F4FFF9);
  color: var(--text-main);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-soft);
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.top-bar-tagline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  max-width: var(--max-width);
  padding: 0.25rem 0;
  color: #da6120;
}

.tag-left { text-align: left; font-weight: 600; }
.tag-center { text-align: center; font-weight: 600; }
.tag-right { text-align: right; font-weight: 600; }

.top-bar-verse {
  font-style: italic;
  font-family: var(--font-serif);
  color: #d46433;
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2f4f3e;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  margin: 4px 0;
  border-radius: 999px;
}

/* ============================
   BANNER — CLEAN FINAL VERSION
   ============================ */

.site-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 260px; /* inner page default */
}

body.home .site-banner {
  height: auto;
  overflow: visible;
}

.banner-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

body.home .banner-image img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Overlay text */
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(186, 219, 177);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  text-align: center;
  z-index: 2;
}

.banner-text1,
.banner-text2 {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(186, 219, 177);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  text-align: center;
  z-index: 2;
}

/* ============================
   MOBILE — FINAL FIX
   ============================ */
@media (max-width: 768px) {

  body.home .site-banner {
    height: auto !important;
    overflow: visible !important;
  }

  body:not(.home) .site-banner {
    height: 180px !important;
    overflow: hidden !important;
  }

  body:not(.home) .banner-image {
    height: auto !important;
  }

 /* .banner-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
    */

  .banner-text,
  .banner-text1,
  .banner-text2 {
    font-size: 1rem;
  }

  .banner-text {
    top: 32%;
  }

  .banner-text1,
  .banner-text2 {
    top: 48%;
  }
}


/* Product Card Images */
.card-image {
  width: 100%;
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

.card-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.hero-title {
  font-size: 2.4rem;
  margin: 0.4rem 0 0.8rem;
  font-family: var(--font-serif);
}

.hero-text {
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent-primary);
  border-color: var(--border-soft);
}

.btn-secondary:hover {
  background: #fff3e6;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.hero-card h2 {
  margin-top: 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.hero-card p {
  margin: 0.6rem 0;
  color: var(--text-muted);
}

/* Page layout */
.page-main {
  max-width: var(--max-width);
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-muted);
  max-width: 64rem;
}

/* Cards grid */
.cards-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.card h2 {
  margin-top: 0;
  font-size: 1.2rem;
  font-family: var(--font-serif);
}

.card p {
  color: var(--text-muted);
}

/* About Page Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* About Cards */
.about-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-left: 6px solid #4a7c59;
}

.about-card h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #2f4f3e;
}

.about-card p {
  line-height: 1.6;
  color: #444;
}

/* Contact Page */
.contact-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.contact-box {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 14px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-left: 6px solid #4a7c59;
  text-align: left;
}

.contact-box h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #2f4f3e;
}

.contact-line {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Contact grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
}

.grid-items {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.grid-items h2 {
  font-size: 1.4rem;
  color: #2f4f3e;
}

.contact-icon {
  width: 60px;
  height: 60px;
}

/* Social media */
.social-media {
  margin-top: 2rem;
  text-align: center;
}

.social-media a {
  margin: 0 10px;
  font-size: 2rem;
  color: #4a7c59;
  text-decoration: none;
}

.social-media a:hover {
  color: #2f4f3e;
}

/* Responsive nav */
@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    margin-top: 1.5rem;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.nav-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.footer {
  text-align: center;
  padding: 1.5rem 0;
  color: #2f4f3e;
  font-size: 0.95rem;
}

.social-media-side {
  position: fixed;
  right: 15px;
  top: 85%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.social-media-side a {
  font-size: 2rem;
  color: #4a7c59;
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-media-side a:hover {
  color: #2f4f3e;
}

/* Hide mobile inner banner by default */
.banner-mobile-inner {
  display: none;
}

/* Mobile inner pages only */
@media (max-width: 768px) {

  /* Hide desktop banner on inner pages */
  body:not(.home) .banner-desktop {
    display: none !important;
  }

  /* Show mobile inner banner */
  body:not(.home) .banner-mobile-inner {
    display: block !important;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: bottom;
  }

  /* Inner page banner height */
  body:not(.home) .site-banner {
    height: 180px !important;
    overflow: hidden !important;
  }
}

/*
@media (max-width: 768px) {
  body:not(.home) .banner-image img {
    height: 300px !important;
    object-fit: cover !important;
    object-position: bottom !important;
  }
}
*/
