/* ============================================================
   SWARNABHOOMI — Design Tokens
   ============================================================ */
:root {
  --dark-green: #2C3826;
  --footer-green: #252F1F;
  --cream-bg: #F8F4EA;
  --sage-bg: #DEE1D1;
  --gold-accent: #B48B4E;
  --text-dark: #23301D;
  --text-body: #5C6155;
  --text-cream: #EDEADF;
  --divider: #D8D3C4;
  --white: #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Jost', 'Poppins', 'Segoe UI', sans-serif;

  --radius-card: 12px;
  --radius-btn: 4px;
  --radius-img: 10px;

  --shadow-card: 0 8px 30px rgba(35, 48, 29, 0.08);
}

/* ============================================================
   Base / Reset
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: 60px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
}

/* Uppercase rule for nav links, labels, buttons, captions */
.nav-links a,
.btn,
.hero-label,
.feature-caption,
.section-title,
.card-link,
.about-label,
.footer-heading,
.footer-links a,
.footer-contact a,
.footer-contact span {
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-green);
  color: var(--white);
  border: 1px solid var(--dark-green);
  border-radius: var(--radius-btn);
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.btn .arrow { font-size: 16px; line-height: 1; }
.btn:hover {
  background: #3a4a31;
  transform: scale(1.03);
}

/* ============================================================
   Image Placeholders (dev mode)
   ============================================================ */
.img-placeholder {
  border: none;
  background-color: #e8e4d5;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 13px;
  font-family: monospace;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

/* --- Artwork bound to each placeholder id --- */
#image-2 { background-image: url("images/image-2.png"); }
#image-3 { background-image: url("images/image-3.png"); }
#image-4 { background-image: url("images/image-4.png"); }
#image-5 { background-image: url("images/image-5.png"); }
#image-6 { background-image: url("images/image-6.png"); }
#image-7 { background-image: url("images/image-7.png"); }
#image-8 { background-image: url("images/image-8.png"); }

.leaf-deco {
  border: none;
  background: url("images/leaf.svg") center / contain no-repeat;
  color: transparent;
  font-size: 11px;
  font-family: monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  z-index: 5;
  border-radius: 50% 50% 50% 10%;
}

/* ============================================================
   1. NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: 90px;
  border-bottom: 1px solid var(--divider);
}

.navbar .container {
  padding-inline: 0;
  max-width: 100%;
  margin: 0;
}

.nav-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.navbar .logo {
  margin-left: 24px;
}
.navbar .logo-icon {
  width: 150px;
  height: auto;
  object-fit: contain;
}
.logo-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-body);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--dark-green); }
.nav-links a.active {
  color: var(--dark-green);
  font-weight: 500;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--dark-green);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark-green);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--cream-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  border: none;
  background-image: linear-gradient(to right, #F8F4EA 20%, rgba(248, 244, 234, 0.35) 48%, transparent 62%),
    url("images/hero.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-radius: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 460px;
  margin-left: 24px;
  padding-inline: 0;
  gap: 22px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold-accent);
}
.hero-label .line {
  width: 40px;
  height: 1px;
  background: var(--gold-accent);
  display: inline-block;
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--dark-green);
  display: flex;
  flex-direction: column;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-accent);
}
.hero-divider .line {
  width: 48px;
  height: 1px;
  background: var(--gold-accent);
  display: inline-block;
}
.icon-leaf-dot { width: 20px; height: 20px; }

.hero-text {
  font-size: 17px;
  color: var(--text-body);
  max-width: 380px;
}

.leaf-deco-hero {
  width: 120px;
  height: 160px;
  top: 0;
  left: 0;
  border-radius: 0 0 120px 0;
  border-left: none;
  border-top: none;
}

/* ============================================================
   3. FEATURES STRIP
   ============================================================ */
.features {
  position: relative;
  background: var(--cream-bg);
  padding: 0 0 40px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--divider);
}

.feature-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 24px 16px;
  border-right: 1px solid var(--divider);
}
.feature-col:last-child { border-right: none; }

.icon-feature {
  width: 40px;
  height: 40px;
  color: var(--gold-accent);
}

.feature-caption {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-dark);
  font-weight: 500;
  text-transform: uppercase;
}

.leaf-deco-features {
  width: 44px;
  height: 44px;
  right: 16px;
  bottom: 12px;
}

/* ============================================================
   4. OUR OFFERINGS
   ============================================================ */
.offerings {
  position: relative;
  background: var(--cream-bg);
  padding: 0 0 96px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: var(--gold-accent);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dark-green);
  font-weight: 600;
}
.section-title .line {
  width: 72px;
  height: 1px;
  background: var(--gold-accent);
  display: inline-block;
}

.offerings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(35, 48, 29, 0.14);
}

.card-image {
  position: relative;
}
.card-image .img-placeholder {
  border: none;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  aspect-ratio: 3 / 2;
  width: 100%;
}

.card-badge {
  position: absolute;
  bottom: -26px;
  left: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-bg);
  border: 1.5px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
}
.icon-badge { width: 26px; height: 26px; }

.card-body {
  padding: 28px;
  padding-top: 40px;
}

.card-title {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 18px;
}

.card-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--gold-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}
.card-link .arrow { font-size: 15px; }
.card-link:hover { color: var(--dark-green); }

.leaf-deco-offerings {
  width: 72px;
  height: 120px;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 0 120px 0 0;
}

/* ============================================================
   5. ABOUT / VISION OF HARMONY
   ============================================================ */
.about {
  position: relative;
  background: var(--sage-bg);
  padding: 64px 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 64px;
  align-items: center;
}

.about-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold-accent);
  margin-bottom: 14px;
}
.about-label .line {
  width: 36px;
  height: 1px;
  background: var(--gold-accent);
  display: inline-block;
}

.about-title {
  font-size: 36px;
  color: var(--dark-green);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.about-para {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 16px;
}

.about-text .btn { margin-top: 12px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 20px;
  border-right: 1px solid var(--divider);
}
.stat-col:last-child { border-right: none; }

.icon-stat {
  width: 36px;
  height: 36px;
  color: var(--gold-accent);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--dark-green);
  line-height: 1.1;
}

.stat-caption {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-body);
}

.leaf-deco-about-left,
.leaf-deco-about-right {
  width: 96px;
  height: 140px;
  top: 50%;
  transform: translateY(-50%);
}
.leaf-deco-about-left {
  left: 8px;
  border-radius: 140px 0 0 0;
  border-left: none;
  border-top: none;
}
.leaf-deco-about-right {
  right: 8px;
  border-radius: 0 140px 0 0;
  border-right: none;
  border-top: none;
}

/* ============================================================
   6. GALLERY
   ============================================================ */
.gallery {
  background: var(--white);
  padding: 64px 0 72px;
}

.gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}
.gallery-strip::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 auto;
  width: calc((100% - 48px) / 5);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-img);
  scroll-snap-align: center;
}

.gallery-arrow {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--divider);
  color: var(--dark-green);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(35, 48, 29, 0.12);
}
.gallery-arrow:hover {
  background: var(--dark-green);
  color: var(--white);
}
.gallery-arrow.prev { left: -10px; }
.gallery-arrow.next { right: -10px; }

/* ============================================================
   7. FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--footer-green);
  color: var(--text-cream);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-logo {
  display: flex;
  margin-bottom: 18px;
}
.logo-icon-light {
  filter: brightness(0) invert(1) sepia(0.35) saturate(0.9);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(237, 234, 223, 0.72);
  max-width: 260px;
  margin-bottom: 24px;
}

.social-row {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(237, 234, 223, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-cream);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 22px;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(237, 234, 223, 0.78);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold-accent); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.icon-contact {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold-accent);
}
.footer-contact a,
.footer-contact span {
  font-size: 14px;
  letter-spacing: 0.5px;
  color: rgba(237, 234, 223, 0.85);
  transition: color 0.2s ease;
}
.footer-contact a:hover { color: var(--gold-accent); }

.footer-bottom {
  border-top: 1px solid rgba(237, 234, 223, 0.18);
  background: #202A1A;
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(237, 234, 223, 0.6);
}

.leaf-deco-footer {
  width: 64px;
  height: 96px;
  right: 12px;
  bottom: 48px;
  border-radius: 0 0 96px 0;
  border-right: none;
  border-bottom: none;
  opacity: 0.85;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding-inline: 32px; }
  .hero-content { margin-left: 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .gallery-item { width: calc((100% - 36px) / 4); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  .container { padding-inline: 20px; }

  .navbar, .nav-inner { height: 76px; }
  .nav-inner { height: 76px; }
  .navbar .logo { margin-left: 20px; }
  .navbar .logo-icon { width: 130px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--divider);
    box-shadow: 0 12px 24px rgba(35, 48, 29, 0.1);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(216, 211, 196, 0.6);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active::after { display: none; }

  .nav-right .btn { display: none; }

  .hero { height: auto; min-height: 560px; }
  .hero-content { margin-left: 20px; padding: 96px 0 64px; max-width: 400px; gap: 18px; }
  .hero-title { font-size: 40px; }

  .features-row { grid-template-columns: 1fr 1fr; }
  .feature-col { border-bottom: 1px solid var(--divider); }
  .feature-col:nth-child(even) { border-right: none; }
  .feature-col:nth-last-child(-n+2) { border-bottom: none; }

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

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { grid-template-columns: 1fr 1fr 1fr; }

  .gallery-item { width: calc((100% - 24px) / 3); }

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

/* ============================================================
   Responsive — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .navbar .logo { margin-left: 20px; }
  .navbar .logo-icon { width: 110px; }
  .hero-bg {
    background-image: linear-gradient(to right, #F8F4EA 35%, rgba(248, 244, 234, 0.7) 75%, transparent),
      url("images/hero.png");
  }
  .features-row { grid-template-columns: 1fr; }
  .feature-col {
    border-right: none;
    border-bottom: 1px solid var(--divider);
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 18px;
  }
  .feature-col:last-child { border-bottom: none; }
  .section-title { font-size: 24px; gap: 14px; }
  .section-title .line { width: 36px; }
  .about-title { font-size: 30px; }
  .about-stats { grid-template-columns: 1fr; }
  .stat-col {
    border-right: none;
    border-bottom: 1px solid var(--divider);
    padding: 16px 0;
  }
  .stat-col:last-child { border-bottom: none; }
  .gallery-item { width: 72vw; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Footer leaf sits on a dark ground — lighten it so it reads */
#leaf-deco-6 { filter: brightness(2.4) saturate(0.6); opacity: 0.45; }
