@font-face {
  font-family: 'Ragila';
  src: url('./assets/fonts/Ragila.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Century';
  src: url('./assets/fonts/century.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --gold: #e4be36;
  --gold-light: #D4AF37;
  --green-dark: #1B3A2D;
  --green-mid: #2C5F3E;
  --cream: #FAFAF2;
  --cream-warm: #F5F3E8;
  --text-dark: #1a1a1a;
  --text-body: #333333;
  --font-display: "Ragila", system-ui, -apple-system, sans-serif;
  --font-body: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-image: url('/assets/background-design.png');
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
  font-family: var(--font-body);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* Universal section spacing */
.logo-section,
.fresca-section,
.about-section,
.why-section,
.testimonials-section,
.footer {
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ===========================
   HERO CAROUSEL
=========================== */
/* Common carousel styles */
.hero-carousel,
.hero-carousel-desktop {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-carousel-slide {
  min-width: 100%;
  height: 100%;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop: show multiple slides */
@media (min-width: 1024px) {
  .hero-carousel-desktop {
    display: block;
    height: min(42vw, 680px);
  }

  .hero-carousel {
    display: none;
  }

  .hero-carousel-desktop .hero-carousel-slide {
    min-width: calc(100% / 3);
  }
}

/* Mobile */
@media (max-width: 1023px) {
  .hero-carousel-desktop {
    display: none;
  }

  .hero-carousel {
    display: block;
  }
}
.hero-carousel {
  height: 420px;
}

/* ===========================
   LOGO SECTION
=========================== */
.logo-section {
  text-align: center;
  position: relative;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  width: 110px;
  height: 110px;
  margin: auto;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Fallback if logo icon image missing */
.logo-icon::after {
  font-size: 20px;
  color: var(--gold);
  position: absolute;
}

.logo-icon img+* {
  display: none;
}

.brand-title-img {
  width: 50%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 600px) {
  body {
    background-size: 50%;
  }

  /* Hero */
  .hero-carousel {
    height: 460px;
  }

  /* Logo */
  .brand-sub {
    font-size: 1.6rem;
  }

  .tagline {
    text-align: center;
    font-size: 13px;
    margin-top: 4px;
  }

  /* Fresca */
  .fresca-section {
    height: auto;
    padding: 24px 16px;
  }

  /* About */
  .about-section {
    height: auto;
  }

  .about-text {
    font-size: 15px;
  }

  .section-heading {
    font-size: 22px;
  }

  /* Why */
  .why-section {
    height: auto;
  }

  .why-heading {
    font-size: 22px;
  }

  /* Testimonials */
  .section-heading.center {
    font-size: 22px;
  }

  .t-label {
    font-size: 13px;
  }

  .stars span {
    font-size: 15px;
  }

  .t-text {
    font-size: 13px;
  }

  /* Footer */
  .footer {
    flex-direction: column;
  }

  .footer-label {
    font-size: 22px;
  }

  .footer-value {
    font-size: 11px;
  }
}

@media (max-width: 1024px) {
  .brand-title-img {
    width: 100%;
    padding: 0;
  }

  .logo-icon {
    width: 70px;
    height: 70px;
  }

  .logo-section {
    gap: 2px;
    padding: 24px 16px;
  }
}

.brand-sub {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4vw, 6rem);
  color: var(--gold);
  font-weight: normal;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 30px);
  letter-spacing: 1px;
  color: rgb(68, 68, 68);
  margin-top: 16px;
  text-transform: uppercase;
  text-align: center;
}

/* ===========================
   FRESCA SECTION
=========================== */
.fresca-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  overflow: hidden;
  background: transparent;
}

.fresca-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-pattern {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.fresca-image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.fresca-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===========================
   ABOUT SECTION
=========================== */
.about-section {
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
}

.about-container {
  max-width: 1080px;
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-body);
  font-size: clamp(22px, 4vw, 56px);
  font-weight: 700;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.section-heading.center {
  text-align: center;
  color: var(--text-dark);
  font-style: normal;
  font-size: clamp(22px, 4vw, 56px);
}

.about-text {
  font-size: clamp(12px, 4vw, 22px);
  line-height: 1.8;
  color: var(--text-body);
  font-family: 'Century', serif;
}

/* ===========================
   WHY CHOOSE US
=========================== */
.why-section {
  background: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

.why-section>* {
  position: relative;
  z-index: 1;
}

/* Heading — dark green */
.why-heading {
  font-family: var(--font-body);
  font-size: clamp(22px, 4vw, 56px);
  font-weight: 700;
  color: var(--green-mid);
  text-align: center;
  margin-bottom: 10px;
}

/* 3-col grid: [left] [center fork] [right]
   Each side has two stacked rows via inner layout */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  grid-template-rows: 1fr 1fr;
  max-width: 1080px;
  margin: 30px auto 10px;
  position: relative;
  z-index: 1;
  /* min-height: 480px; */
}

/* Top-left: arrow on top, text below — anchored to bottom */
.why-item.top-left {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 30px 30px 20px;
  gap: 16px;
}

/* Bottom-left: text on top, arrow below — anchored to top */
.why-item.bottom-left {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 30px 30px 0 20px;
  gap: 20px;
}

/* Top-right: arrow on top, text below — anchored to bottom */
.why-item.top-right {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 20px 30px 30px;
  gap: 16px;
}

/* Bottom-right: text on top, arrow below — anchored to top */
.why-item.bottom-right {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 20px 0 30px;
  gap: 20px;
}

/* Fork — center, spans both rows */
.why-center-img {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-center-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
}

/* Curly arrows */
.why-arrow img {
  width: 66px;
  height: auto;
  object-fit: contain;
}

.why-arrow img.flip-h {
  transform: scaleX(-1);
}

.why-arrow img.flip-v {
  transform: scaleY(-1);
}

.why-arrow img.flip-vh {
  transform: scale(-1, -1);
}

/* Left items text aligned to end */
.why-item.top-left .why-text,
.why-item.bottom-left .why-text {
  text-align: right;
}

/* Text — casual rounded feel matching design */
.why-text {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.55;
  color: var(--text-dark);
  font-family: 'Century', serif;
  font-weight: 400;
}

/* Green "100%" highlight */
.highlight-green {
  color: var(--green-dark);
  font-weight: 600;
}

/* CTA */
.cta-wrap {
  text-align: center;
  margin-top: 44px;
  position: relative;
  z-index: 1;
}

.btn-menu {
  background: var(--green-dark);
  color: #fff;
  border: none;
  padding: 16px 0;
  width: 290px;
  font-size: 13px;
  letter-spacing: 2px;
  font-family: var(--font-body);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 400;
}

.btn-menu:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 58, 45, 0.35);
}

.btn-menu:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr 100px 1fr;
    min-height: 140px;
  }

  .why-center-img img {
    width: 100%;
  }

  .why-arrow img {
    width: 44px;
  }

  .why-item.top-left,
  .why-item.bottom-left {
    padding: 0 6px 10px 4px;
    gap: 6px;
  }

  .why-item.top-right,
  .why-item.bottom-right {
    padding: 0 4px 10px 6px;
    gap: 6px;
  }

  .why-item.bottom-left,
  .why-item.bottom-right {
    padding-top: 10px;
  }

  .why-text {
    font-size: 11px;
  }

  .why-heading {
    margin-bottom: 4px;
  }

  .why-grid {
    margin-top: 12px;
    margin-bottom: 4px;
  }

  .cta-wrap {
    margin-top: 16px;
  }

  .btn-menu {
    width: 230px;
    padding: 12px 0;
  }
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section {
  padding: 60px 0 50px;
  overflow: hidden;
  position: relative;
}

/* Section heading */
.t-heading {
  font-family: var(--font-body);
  font-size: clamp(22px, 4vw, 56px);
  font-weight: 700;
  color: var(--green-mid);
  text-align: center;
  margin-bottom: 0;
  letter-spacing: 0;
}

/* Track wrapper — shows partial prev/next cards */
.testimonials-track-wrap {
  overflow: hidden;
  margin-top: 36px;
  /* Negative margins let partial cards peek in from edges */
  margin-left: -60px;
  margin-right: -60px;
  padding: 20px 0 24px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each slide is 100% of the wrapper width */
.testimonial-slide {
  min-width: 100%;
  padding: 0 80px;
  box-sizing: border-box;
}

/* The white card */
.testimonial-card {
  border-radius: 16px;
  border: 1px solid rgba(70, 70, 70, 0.1);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.09);
  padding: 36px 36px 36px 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0 auto;
}

/* Left text column */
.t-left {
  flex: 1;
  min-width: 0;
}

/* Top row: quote badge + rating inline */
.t-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

/* Gold square quote badge */
.quote-badge {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 56px;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: -2px;
  padding-top: 20px;
}

/* Rating: label + stars side by side */
.t-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-label {
  font-size: 16px;
  font-family: 'Century', serif;
  color: var(--text-dark);
  font-weight: 400;
  white-space: nowrap;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars span {
  color: var(--gold);
  font-size: 20px;
}

/* Body text */
.t-text {
  font-size: clamp(12px, 4vw, 18px);
  line-height: 1.8;
  color: #555;
  font-family: 'Century', serif;
}

/* Right food image */
.t-right {
  width: 240px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  align-self: stretch;
}

.t-right img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* Responsive */
@media (max-width: 640px) {
  .testimonials-track-wrap {
    margin-left: -20px;
    margin-right: -20px;
  }

  .testimonial-slide {
    padding: 0 28px;
  }

  .testimonial-card {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }

  .t-top {
    align-items: flex-start;
    gap: 12px;
  }

  .t-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .t-label {
    white-space: normal;
    font-size: 14px;
  }

  .t-right {
    width: 100%;
    height: 200px;
    align-self: auto;
  }

  .t-right img {
    min-height: 200px;
  }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  border-top: 1px solid rgba(201, 161, 26, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-icon {
  font-size: clamp(22px, 4vw, 28px);
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-label {
  font-size: clamp(11px, 3vw, 22px);
  font-weight: 700;
  color: var(--green-mid);
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.footer-contact {
  text-align: end;
}

.footer-value {
  font-size: clamp(10px, 3vw, 14px);
  color: var(--green-mid);
  line-height: 1.6;
  font-family: 'Century', serif;
}

.footer-link {
  color: var(--green-mid);
  font-weight: 600;
}


/* ===========================
   DECORATIVE SIDE BLOBS
   (matches the gold blobs on left/right in design)
=========================== */
.fresca-section::before,
.fresca-section::after,

.fresca-section::before {
  left: 0;
}

.fresca-section::after {
  left: auto;
  right: 0;
  border-radius: 40px 0 0 40px;
  background: var(--gold);
  /* override the pattern background */
  background-image: none;
}

.why-section::after {
  right: 0;
  top: 55%;
  border-radius: 40px 0 0 40px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 400px) {

  .logo-section,
  .fresca-section,
  .about-section,
  .why-section,
  .testimonials-section,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .why-text {
    font-size: 11px;
    max-width: 110px;
  }

  .why-center-img img {
    width: 80px;
  }

  .testimonial-card {
    padding: 14 14px;
  }

  .hero-images {
    height: 180px;
  }
}

.social-link {
  color: var(--green-dark);
  margin: 10px 0 10px;
  display: inline-flex;
  font-size: 24px;
}

.social-link i:hover {
  color: var(--gold);

}

/* ===========================
   MODALS
=========================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

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

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 600px) {
  .modal-box {
    border-radius: 12px;
  }
}
