/* ============================================
   Bamboo Farms, LLC — Styles
   Palette: Plum (#4A235A) + Amber (#C9A84C)
   Fonts: Lora (serif) + Raleway (sans)
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Raleway', sans-serif;
  color: #2D1F36;
  background: #FDF8F4;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #4A235A;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  font-weight: 700;
  line-height: 1.25;
  color: #2D1F36;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section__eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 0.75rem;
}

.section__eyebrow--light {
  color: #E8C97A;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  color: #2D1F36;
}

.section__title--light {
  color: #FDF8F4;
}

.section__subtitle {
  font-size: 1.05rem;
  color: #6B5673;
  max-width: 560px;
}

.section__subtitle--light {
  color: #D4B896;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__header .section__subtitle {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--primary {
  background: #C9A84C;
  color: #2D1F36;
  border-color: #C9A84C;
}
.btn--primary:hover,
.btn--primary:focus {
  background: #B8943F;
  border-color: #B8943F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn--ghost {
  background: transparent;
  color: #FDF8F4;
  border-color: rgba(253, 248, 244, 0.5);
}
.btn--ghost:hover,
.btn--ghost:focus {
  background: rgba(253, 248, 244, 0.1);
  border-color: #FDF8F4;
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(74, 35, 90, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #FDF8F4;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1rem;
}

.nav__logo {
  color: #C9A84C;
}

.nav__brand-text {
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  color: rgba(253, 248, 244, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.nav__link:hover,
.nav__link:focus {
  color: #FDF8F4;
  background: rgba(253, 248, 244, 0.08);
}

.nav__link--cta {
  background: #C9A84C;
  color: #2D1F36;
  margin-left: 0.5rem;
  font-weight: 600;
}
.nav__link--cta:hover {
  background: #B8943F;
  color: #2D1F36;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #FDF8F4;
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(74, 35, 90, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav__link {
    padding: 0.75rem 1rem;
    text-align: left;
  }

  .nav__link--cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #2D1F36;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/36765725/pexels-photo-36765725.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1200') center/cover no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 31, 54, 0.92) 0%,
    rgba(74, 35, 90, 0.85) 50%,
    rgba(45, 31, 54, 0.88) 100%
  );
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E8C97A;
  margin-bottom: 1rem;
  display: block;
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #FDF8F4;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero__headline--accent {
  color: #C9A84C;
  font-style: italic;
}

.hero__subheadline {
  font-size: 1.1rem;
  color: rgba(253, 248, 244, 0.75);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating Stat Cards */
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: rgba(253, 248, 244, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}

.stat-card--1 { animation-delay: 0s; }
.stat-card--2 { animation-delay: -2s; }
.stat-card--3 { animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-card__number {
  display: block;
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C9A84C;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-card__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(253, 248, 244, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    padding-top: 7rem;
  }

  .hero__stats {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 2rem;
  }

  .stat-card {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    flex-direction: column;
  }

  .stat-card { min-width: auto; }
}

/* ---------- Services ---------- */
.services {
  background: #FDF8F4;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(74, 35, 90, 0.08);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4A235A, #C9A84C);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74, 35, 90, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 35, 90, 0.06);
  border-radius: 8px;
  color: #4A235A;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}

.service-card:hover .service-card__icon {
  background: rgba(74, 35, 90, 0.1);
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #2D1F36;
}

.service-card__desc {
  font-size: 0.9rem;
  color: #6B5673;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- About ---------- */
.about {
  background: #F5EDE6;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(45, 31, 54, 0.15);
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #C9A84C, #4A235A);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.2;
}

.about__content {
  max-width: 480px;
}

.about__body {
  font-size: 0.95rem;
  color: #5A4460;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2D1F36;
}

.value-item__icon {
  color: #C9A84C;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image {
    height: 350px;
  }

  .about__image-accent {
    display: none;
  }
}

/* ---------- Why Us ---------- */
.why-us {
  background: linear-gradient(135deg, #4A235A 0%, #2D1F36 100%);
  padding: 6rem 0;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: rgba(253, 248, 244, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.why-card:hover {
  background: rgba(253, 248, 244, 0.1);
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-3px);
}

.why-card__number {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.3);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.why-card__title {
  font-size: 1.15rem;
  color: #FDF8F4;
  margin-bottom: 0.6rem;
}

.why-card__desc {
  font-size: 0.9rem;
  color: rgba(253, 248, 244, 0.65);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .why-us__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: #FDF8F4;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(74, 35, 90, 0.08);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(74, 35, 90, 0.08);
  transform: translateY(-3px);
}

.testimonial-card__quote {
  color: #C9A84C;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.testimonial-card__text {
  font-size: 0.92rem;
  color: #5A4460;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card__author {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4A235A;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact ---------- */
.contact {
  background: #F5EDE6;
  padding: 6rem 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__desc {
  font-size: 0.95rem;
  color: #6B5673;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail__icon {
  color: #C9A84C;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-detail__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 0.25rem;
}

.contact-detail__value {
  font-size: 0.95rem;
  color: #2D1F36;
  line-height: 1.6;
}

.contact-detail__link {
  color: #4A235A;
  font-weight: 600;
  border-bottom: 1px solid rgba(74, 35, 90, 0.2);
  transition: border-color 0.2s, color 0.2s;
}

.contact-detail__link:hover {
  color: #C9A84C;
  border-color: #C9A84C;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(45, 31, 54, 0.08);
  border: 1px solid rgba(74, 35, 90, 0.06);
}

.contact-form__group {
  margin-bottom: 1.25rem;
}

.contact-form__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4A235A;
  margin-bottom: 0.4rem;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: #2D1F36;
  background: #FDF8F4;
  border: 1.5px solid rgba(74, 35, 90, 0.12);
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #B09AB5;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form__success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  color: #4A235A;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.contact-form__success.visible {
  display: block;
}

@media (max-width: 800px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: #1E1424;
  color: rgba(253, 248, 244, 0.6);
  padding: 4rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(253, 248, 244, 0.08);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1rem;
  color: #FDF8F4;
  margin-bottom: 0.75rem;
}

.footer__logo-icon {
  color: #C9A84C;
}

.footer__tagline {
  font-size: 0.82rem;
  color: rgba(253, 248, 244, 0.4);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(253, 248, 244, 0.55);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #C9A84C;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.footer__contact a {
  color: rgba(253, 248, 244, 0.55);
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: #C9A84C;
}

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(253, 248, 244, 0.3);
}

@media (max-width: 700px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .stat-card {
    animation: none;
  }
}
</style>
