:root {
  --green-dark: #1a3a20;
  --green-banner: #154a1f;
  --green-footer: #1b391f;
  --green-accent: #3e761b;
  --text-white: #ffffff;
  --text-white-soft: #f9f9f9;
  --text-body: #333333;
  --header-shadow: 0px 1px 1px 0px rgba(0, 59, 92, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #ffffff;
  color: #1c1d1b;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Animations ---------- */

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll reveal (About Us sections) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header ---------- */

.site-header {
  width: 100%;
  background: #ffffff;
  position: relative;
  z-index: 20;
  animation: fadeSlideDown 0.6s ease-out both;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 64px;
  height: 80px;
}

.logo { display: inline-flex; align-items: center; transition: opacity 0.2s ease; }
.logo:hover { opacity: 0.85; }
.logo img { height: 56px; width: auto; }

.nav-desktop { display: flex; gap: 40px; align-items: center; }

.nav-link {
  position: relative;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: #1c1d1b;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--green-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-link:hover { color: var(--green-dark); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link--active { font-weight: 600; color: var(--green-dark); }
.nav-link--active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  padding: 8px;
  border-radius: 96px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.menu-toggle:hover { background: rgba(26, 58, 32, 0.08); }
.menu-toggle:active { transform: scale(0.92); }
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Mobile Drawer ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(300px, 80vw);
  background: #ffffff;
  z-index: 31;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #ebebeb;
}

.drawer-logo { height: 32px; width: auto; }

.drawer-close {
  padding: 8px;
  border-radius: 96px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.drawer-close:hover { background: rgba(26, 58, 32, 0.08); }
.drawer-close:active { transform: scale(0.9) rotate(90deg); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.drawer-link {
  font-size: 16px;
  color: #1c1d1b;
  padding: 16px 12px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  opacity: 0;
  transform: translateX(16px);
}

.mobile-drawer.is-open .drawer-link {
  animation: fadeSlideLeftIn 0.4s ease-out forwards;
}

.mobile-drawer.is-open .drawer-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-drawer.is-open .drawer-link:nth-child(2) { animation-delay: 0.18s; }

@keyframes fadeSlideLeftIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.drawer-link:hover { background: #f4f7f4; padding-left: 18px; color: var(--green-dark); }
.drawer-link--active { font-weight: 600; color: var(--green-dark); background: #f4f7f4; }

body.drawer-open { overflow: hidden; }

/* ---------- Hero Carousel ---------- */

.hero {
  position: relative;
  width: 100%;
  min-height: 727px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0a0a0a;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 6s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  animation: overlayIn 1s ease-out both;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 180px 100px 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.hero-text { display: flex; flex-direction: column; gap: 24px; width: 100%; }

.hero-text h1 {
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.96px;
  color: var(--text-white);
}

.hero-title-light, .hero-title-bold {
  display: block;
  font-size: 48px;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease-out 0.25s both;
}

.hero-title-bold { font-weight: 600; animation-delay: 0.4s; }

.hero-subtitle {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
  color: var(--text-white-soft);
  max-width: 640px;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease-out 0.55s both;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease-out 0.75s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: var(--text-white);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.32px;
  line-height: 1.5;
  padding: 12px 24px;
  border-radius: 96px;
  min-width: 120px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.btn-primary:hover {
  background: #142f18;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Carousel pagination (arrows + dots) */

.carousel-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--text-white);
  border-radius: 96px;
  color: var(--text-white);
  transition: background 0.2s ease, transform 0.15s ease;
}

.carousel-arrow:hover { background: rgba(255, 255, 255, 0.15); }
.carousel-arrow:active { transform: scale(0.9); }

.carousel-dots { display: flex; align-items: center; gap: 8px; }

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.3s ease, background 0.3s ease;
}

.carousel-dot.active { width: 16px; background: var(--text-white-soft); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-footer);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 162px;
  width: 100%;
}

.footer-logo { height: 51px; width: 80px; object-fit: contain; }

.footer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.footer-line { width: 100%; max-width: 1116px; height: 1px; background: rgba(255, 255, 255, 0.3); }

.footer-copyright {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.24px;
  color: var(--text-white);
  text-align: center;
  line-height: 1.2;
}

/* ---------- Our Story Banner (About Us) ---------- */

.story-banner {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--green-banner);
}

.story-banner-text {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 72px 100px 80px;
  color: var(--text-white);
}

.story-banner-text h1 {
  font-weight: 300;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.96px;
}

.story-light { font-weight: 300; }
.story-bold { font-weight: 600; }

.story-banner-text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.32px;
}

.story-banner-image {
  flex: 0 0 600px;
  height: 269px;
  align-self: center;
  overflow: hidden;
}

.story-banner-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About Content Block ---------- */

.about-content {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 100px 80px;
  width: 100%;
  background: #ffffff;
}

.about-image { flex: 0 0 544px; height: 408px; overflow: hidden; border-radius: 4px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-text { flex: 1 0 0; display: flex; flex-direction: column; gap: 16px; }

.about-text h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.64px;
  color: var(--green-accent);
}

.about-heading-light { font-weight: 300; }
.about-heading-bold { font-weight: 600; }

.about-text p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: var(--text-body);
}

/* ---------- Mobile (≤767px) ---------- */

@media (max-width: 767px) {
  .header-inner {
    padding: 12px 16px;
    height: auto;
    box-shadow: var(--header-shadow);
    border-radius: 0 0 16px 16px;
  }

  .logo img { height: 32px; }
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }

  .hero { min-height: 740px; align-items: flex-end; }

  .hero-content {
    padding: 240px 24px 24px;
    gap: 20px;
  }

  .hero-text { gap: 12px; }

  .hero-title-light, .hero-title-bold { font-size: 28px; }
  .hero-text h1 { line-height: 1.2; letter-spacing: -0.56px; }
  .hero-subtitle { font-size: 14px; letter-spacing: -0.14px; }

  .hero-controls { flex-direction: column; align-items: flex-start; gap: 24px; }

  .btn-primary { font-size: 12px; letter-spacing: -0.24px; padding: 12px 24px; min-width: 80px; }

  .carousel-pagination { align-self: center; }
  .carousel-arrow { width: 32px; height: 32px; }

  .site-footer { padding: 40px 24px; gap: 24px; }
  .footer-line { max-width: 243px; }
  .footer-copyright { font-size: 12px; letter-spacing: -0.12px; }

  /* Our Story Banner */
  .story-banner { flex-direction: column; }
  .story-banner-image { flex: none; width: 100%; height: 160px; order: -1; }
  .story-banner-text { padding: 24px 24px 32px; gap: 12px; }
  .story-banner-text h1 { font-size: 28px; letter-spacing: -0.56px; }
  .story-banner-text p { font-size: 14px; letter-spacing: -0.14px; }

  /* About Content Block */
  .about-content { flex-direction: column; gap: 32px; padding: 48px 24px; align-items: flex-start; }
  .about-image { flex: none; width: 100%; height: 272px; }
  .about-text h2 { font-size: 22px; letter-spacing: -0.44px; }
  .about-text p { font-size: 14px; letter-spacing: -0.14px; }
}
