/* ===== VARIABLES ===== */
:root {
  --color-primary: #2E1A0E;
  --color-primary-light: #4A2C17;
  --color-accent: #C9982E;
  --color-accent-dark: #A67D1A;
  --color-cream: #F0E6D6;
  --color-cream-dark: #E2D4BF;
  --color-white: #F7F1E8;
  --color-text: #2A1808;
  --color-text-light: #6B5545;
  --color-border: #D9C9B0;
  --color-red: #C1462A;
  --color-green: #5A7A3A;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;

  --nav-height: 70px;
  --container-max: 1140px;
  --section-padding: 80px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section__subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn--secondary {
  background-color: var(--color-primary);
  color: var(--color-cream);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-cream);
  border-color: var(--color-cream);
}

.btn--outline:hover {
  background-color: var(--color-cream);
  color: var(--color-primary);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(46, 26, 14, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: 1px;
}

.nav__logo span {
  color: var(--color-accent);
  font-weight: 400;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: var(--color-cream);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav__links a:hover {
  color: var(--color-accent);
}

.nav__cta {
  padding: 8px 20px;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  color: var(--color-accent) !important;
}

.nav__cta:hover {
  background-color: var(--color-accent);
  color: var(--color-primary) !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-cream);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 20px 60px;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 16, 6, 0.7);
}

.hero__logo {
  width: 180px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero__content {
  position: relative;
  max-width: 800px;
  z-index: 1;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-cream);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(253, 246, 236, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== INTRO ===== */
.intro {
  padding: 60px 0;
  background-color: var(--color-white);
}

.intro__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.intro__accent {
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0 auto 24px;
}

.intro__text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.6;
}

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 20px 60px;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 16, 6, 0.75);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(253, 246, 236, 0.8);
  line-height: 1.7;
}

/* ===== PAGE CONTENT ===== */
.page-content {
  padding: var(--section-padding) 0;
}

.page-content p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== LINK ACCENT ===== */
.link--accent {
  color: var(--color-accent-dark);
  font-weight: 700;
  transition: color 0.3s ease;
}

.link--accent:hover {
  color: var(--color-accent);
}

/* ===== STORY ===== */
.story {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.story__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.story__text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.story__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem !important;
  color: var(--color-primary) !important;
  margin-top: 8px;
}

.story__image {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(60, 36, 21, 0.15);
}

/* ===== VALUES ===== */
.values {
  padding: var(--section-padding) 0;
  text-align: center;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.value-card {
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-accent);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== SUSTAINABILITY ===== */
.sustainability {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, #2E1A0E 0%, #4A2C17 100%);
  color: var(--color-cream);
}

.sustainability .section__title {
  color: var(--color-cream);
}

.sustainability__content {
  max-width: 700px;
}

.sustainability__content p {
  color: rgba(253, 246, 236, 0.85);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.sustainability__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pillar__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.pillar__text {
  font-size: 1.1rem;
  font-weight: 300;
}

/* ===== BRANDS ===== */
.brands {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.brands__grid {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.brands__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(60, 36, 21, 0.1);
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  padding: var(--section-padding) 0;
  background-color: var(--color-cream-dark);
  text-align: center;
}

.testimonial__content {
  max-width: 700px;
  margin: 0 auto;
}

.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.testimonial__author {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-text-light);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CTA ===== */
.cta {
  padding: var(--section-padding) 0;
  text-align: center;
}

.cta__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.cta__content p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn--outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.cta .btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-cream);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-cream);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253, 246, 236, 0.15);
}

.footer__logo-img {
  width: 80px;
  height: auto;
  margin-bottom: 12px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer__logo span {
  color: var(--color-accent);
  font-weight: 400;
}

.footer__tagline {
  color: rgba(253, 246, 236, 0.7);
  font-size: 0.9rem;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.footer__links ul li,
.footer__contact ul li {
  margin-bottom: 8px;
}

.footer__links a,
.footer__contact a {
  color: rgba(253, 246, 236, 0.7);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.footer__social-links a {
  width: 36px;
  height: 36px;
  color: rgba(253, 246, 236, 0.7);
  transition: color 0.3s ease;
}

.footer__social-links a:hover {
  color: var(--color-accent);
}

.footer__social-bio {
  color: rgba(253, 246, 236, 0.5);
  font-size: 0.85rem;
}

/* FAQ */
.footer__faq {
  padding: 40px 0;
  border-bottom: 1px solid rgba(253, 246, 236, 0.15);
}

.footer__faq h4 {
  margin-bottom: 24px;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.faq__item {
  border: 1px solid rgba(253, 246, 236, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.faq__item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-cream);
  transition: background-color 0.3s ease;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::before {
  content: '+';
  float: right;
  font-size: 1.2rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq__item[open] summary::before {
  content: '-';
}

.faq__item summary:hover {
  background-color: rgba(253, 246, 236, 0.05);
}

.faq__item p {
  padding: 0 20px 16px;
  color: rgba(253, 246, 236, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Footer bottom */
.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  color: rgba(253, 246, 236, 0.5);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (min-width: 768px) {
  :root {
    --section-padding: 100px;
  }

  .container {
    padding: 0 40px;
  }

  .section__title {
    font-size: 2.4rem;
  }

  .hero__logo {
    width: 220px;
  }

  .hero__title {
    font-size: 3.4rem;
  }

  .page-hero__title {
    font-size: 3.2rem;
  }

  .intro__text {
    font-size: 1.7rem;
  }

  .story__layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sustainability__pillars {
    flex-direction: row;
    gap: 40px;
  }

  .testimonial blockquote p {
    font-size: 1.8rem;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== RESPONSIVE — DESKTOP ===== */
@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.8rem;
  }

  .values__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ===== MOBILE NAV ===== */
@media (max-width: 767px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 20px) 32px 32px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(253, 246, 236, 0.1);
  }

  .nav__cta {
    border: none !important;
    padding: 14px 0 !important;
    margin-top: 8px;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
}
