:root {
  --clr-dark: #2C1810;
  --clr-cinnamon: #8B4513;
  --clr-gold: #C8922A;
  --clr-terracotta: #C2734C;
  --clr-green: #4A6741;
  --clr-cream: #FAF3E8;
  --clr-warm-white: #F7EDE2;
  --clr-white: #FFFFFF;
  --clr-text: #3B1F0B;
  --clr-text-light: #5C3A1E;

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

  --container-max: 1200px;
  --section-pad: 5rem 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-cream);
}

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

a {
  color: var(--clr-cinnamon);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--clr-gold);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad);
}

.section--alt {
  background-color: var(--clr-warm-white);
}

.section__title {
  font-family: var(--ff-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 1rem;
}

.section__title--center {
  text-align: center;
}

.section__subtitle {
  text-align: center;
  color: var(--clr-text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s, transform 0.2s;
}

.btn--primary {
  background-color: var(--clr-cinnamon);
  color: var(--clr-white);
}

.btn--primary:hover {
  background-color: var(--clr-terracotta);
  color: var(--clr-white);
  transform: translateY(-2px);
}

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

/* ── Header / Nav ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background-color: var(--clr-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 3px;
}

.nav__logo:hover {
  color: var(--clr-gold);
}

.nav__menu {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--clr-white);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-gold);
  transition: width 0.3s;
}

.nav__link:hover {
  color: var(--clr-gold);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--clr-white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero.jpg') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 24, 16, 0.7) 0%,
    rgba(44, 24, 16, 0.5) 50%,
    rgba(44, 24, 16, 0.8) 100%
  );
}

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

.hero__title {
  font-family: var(--ff-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ── About ── */

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

.about__image {
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(44, 24, 16, 0.15);
}

.about__content p {
  margin-bottom: 1rem;
  color: var(--clr-text-light);
}

.about__content p:first-of-type {
  font-size: 1.05rem;
}

/* ── Products ── */

.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.product-card {
  background: var(--clr-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(44, 24, 16, 0.15);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 3px solid var(--clr-gold);
}

.product-card__image-placeholder {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--clr-warm-white) 0%, #E8D5C0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--clr-gold);
}

.product-card__image-placeholder span {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  color: var(--clr-cinnamon);
  opacity: 0.6;
}

.product-card__name {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  padding: 1.2rem 1.5rem 0.3rem;
  color: var(--clr-dark);
}

.product-card__desc {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}

/* ── Why Us ── */

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.usp-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--clr-white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
  transition: transform 0.3s;
}

.usp-card:hover {
  transform: translateY(-4px);
}

.usp-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.usp-card__title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  color: var(--clr-dark);
  margin-bottom: 0.8rem;
}

.usp-card__desc {
  color: var(--clr-text-light);
  font-size: 0.95rem;
}

/* ── Testimonials ── */

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

.testimonial-card {
  background: var(--clr-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
  border-top: 3px solid var(--clr-gold);
}

.testimonial-card__stars {
  color: var(--clr-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-style: italic;
  color: var(--clr-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-card__author strong {
  display: block;
  color: var(--clr-dark);
  font-size: 1rem;
}

.testimonial-card__author span {
  color: var(--clr-cinnamon);
  font-size: 0.9rem;
}

/* ── Contact ── */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact__item {
  margin-bottom: 1.5rem;
}

.contact__item h3 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-dark);
  margin-bottom: 0.3rem;
}

.contact__item a,
.contact__item p {
  color: var(--clr-text-light);
  font-size: 1rem;
}

.contact__item a:hover {
  color: var(--clr-cinnamon);
}

.form__group {
  margin-bottom: 1.2rem;
}

.form__group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-dark);
}

.form__optional {
  font-weight: 300;
  color: var(--clr-text-light);
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #d4c4b0;
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color 0.3s;
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--clr-cinnamon);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form__group textarea {
  resize: vertical;
}

/* ── Footer ── */

.footer {
  background-color: var(--clr-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  color: var(--clr-white);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 0.8rem;
}

.footer__brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--ff-heading);
  color: var(--clr-white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer__links a:hover {
  color: var(--clr-gold);
}

.footer__contact p {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
  color: var(--clr-gold);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Scroll Reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Responsive ── */

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .contact__grid {
    grid-template-columns: 1fr 1.2fr;
  }

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .section__title {
    font-size: 2.8rem;
  }

  .hero__title {
    font-size: 4rem;
  }

  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .nav__toggle {
    display: none;
  }
}

@media (max-width: 1023px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--clr-dark);
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    transform: translateY(-120%);
    transition: transform 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav__menu.open {
    transform: translateY(0);
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .hero__subtitle {
    font-size: 1.05rem;
  }

  .section__title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
