/* Choco Yoco Food — theme based on uploaded structure */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: #3e2518;
  background: #faf3ea
}

:root {
  --cocoa: #3e2518;
  --milk: #faf3ea;
  --strawberry: #d60404;
  --gold: #ffd700;
  --caramel: #c98c5e;
}

/* Header */
.site-header {
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: .85rem 1.25rem;
  border-bottom: 2px solid #f0e3d6;
  position: sticky;
  top: 0;
  z-index: 20
}

.logo img {
  height: 46px
}

.main-nav ul {
  padding-top: 0.5rem;
  list-style: none;
  display: flex;
  gap: 1rem
}

.main-nav a {
  color: var(--cocoa);
  text-decoration: none;
  font-weight: 600;
  padding: .5rem .75rem;
  border-radius: 8px;
  transition: .2s
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--cocoa);
  color: var(--milk)
}

/* Slideshow */
.slideshow-container {
  position: relative;
  margin: auto;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: #000
}

.mySlides {
  display: none;
  height: 100%
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  user-select: none;
  z-index: 2;
  transform: translateY(-50%)
}

.prev {
  left: 0
}

.next {
  right: 0
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, .45)
}

.dots-wrapper {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3
}

.dot {
  cursor: pointer;
  height: 14px;
  width: 14px;
  background: #bbb;
  border-radius: 50%
}

.dot.active,
.dot:hover {
  background: #717171
}

/* Overlay */
.hero-text {
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  padding: 28px;
  border-radius: 14px;
  max-width: 520px
}

.hero-text h1 {
  font-size: 40px;
  margin-bottom: 10px
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 14px
}

.hero-text .btn {
  display: inline-block;
  padding: 12px 20px;
  background: var(--gold);
  color: #3e2518;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none
}

/* Intro */
.intro {
  padding: 64px 5vw;
  background: linear-gradient(180deg, #fff, #faf3ea)
}

.intro-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center
}

.intro h2 {
  font-size: 2.2rem;
  color: var(--cocoa);
  margin-bottom: 12px
}

.intro p {
  color: #6a4c3b
}

/* Featured */
.featured-products {
  padding: 64px 5vw;
  background: #fff;
  text-align: center
}

.featured-products h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--cocoa)
}

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.product-card {
  border: 1px solid #f0e3d6;
  padding: 18px;
  background: #fff;
  border-radius: 14px;
  transition: transform .25s, box-shadow .25s
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(62, 37, 24, .08)
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #faf3ea
}

.product-card h3 {
  margin: .75rem 0 .35rem;
  color: var(--cocoa)
}

.product-card p {
  color: #7b5a47;
  font-size: .95rem;
  margin-bottom: .5rem
}

.btn-small {
  font-size: .9rem;
  padding: .5rem 1rem;
  background: var(--strawberry);
  color: #fff;
  text-decoration: none;
  border-radius: 8px
}

/* Why choose */
.why-choose-us {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center
}

.why-choose-us h2 {
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--cocoa);
  font-weight: 800
}

.subheading {
  font-size: 18px;
  color: #7b5a47;
  margin: 0 auto 36px;
  max-width: 820px
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center
}

.feature-card {
  flex: 1 1 45%;
  min-width: 280px;
  background: linear-gradient(135deg, #ffffff, #f7efe5);
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06)
}

.feature-card h3 {
  color: #b36a3c;
  margin-bottom: 8px
}

/* Page hero */
.page-hero {
  background: var(--gold);
  color: var(--cocoa);
  text-align: center;
  padding: 60px 16px
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 8px
}

/* About/Products/Contact */
.about-content,
.product-list,
.contact-form-section {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem
}

.product-list .product-card {
  flex: 1 1 calc(50% - 1rem)
}

.contact-form label {
  display: block;
  margin: 1rem 0 .5rem;
  color: var(--cocoa)
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .6rem;
  border: 1px solid #e7d8c9;
  border-radius: 8px;
  background: #fff
}

.contact-form button {
  margin-top: 1rem;
  background: var(--strawberry);
  color: #fff;
  border: none;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer
}

/* Footer */
.site-footer {
  text-align: center;
  background: #fff;
  border-top: 2px solid #f0e3d6;
  padding: 16px;
  margin-top: 40px
}

/* Responsive */
@media (max-width:992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

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

  .slideshow-container {
    height: 520px
  }

  .hero-text {
    left: 5%;
    max-width: 90%
  }

  .hero-text h1 {
    font-size: 30px
  }
}
