@import url('https://fonts.googleapis.com/css?family=Abel');
@import url('https://fonts.googleapis.com/css?family=Exo:700');
@import url(https://fonts.bunny.net/css?family=cutive:400);

body {
  background-image: image-set(
    url("../img/avif/background.avif") type("image/avif"),
    url("../img/webp/background.webp") type("image/webp"),
    url("../img/fallback/background.png") type("image/png")
  );

  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;

}

.landing {
  margin-top: 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
  text-align: center;
  width: 100vw;
  height: 91vh;
  padding: 2rem;
  margin-bottom: 6rem;
}

@media (orientation: portrait) {
  .landing {
    margin-top: 4rem;; /* full height on portrait */
    margin-bottom: 1rem;
  }
}

.title-big {
  font-family: 'StarsNLove', cursive;
  font-size: clamp(1rem, 5vh, 6rem);
  font-weight: lighter;
  color: var(--gold);
  text-shadow: 2px 2px 0 black,
  -2px -2px 0 black,
  2px -2px 0 black,
  -2px 2px 0 black;
}

.subtitle {
  font-family: 'StarsNLove', cursive;
  font-size: clamp(1.25rem, 3.5vh, 4rem);
  font-weight: lighter;
  color: var(--gold);
  text-shadow: 2px 2px 0 black,
  -2px -2px 0 black,
  2px -2px 0 black,
  -2px 2px 0 black;
}

.title-two-info-start {
  font-weight: lighter;
  text-shadow: 2px 2px 0 var(--black),
  -1px -1px 0 var(--black),
  1px -1px 0 var(--black),
  -1px 1px 0 var(--black);
  color: var(--gold);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 2px;
  padding-bottom: 1rem;
  font-family: 'StarsNLove', cursive;
}

.text-two-info-start {
  font-size: 1rem;
  line-height: 1.6;
  background: var(--black);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  font-weight: 400;
  margin-bottom: 2rem;
}

.content-overlay {
  position: relative;
  padding-bottom: 4rem;
  background-color: rgba(255, 255, 255, 0.85);
}

.info-section {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.info-section::before {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: var(--gold);
  margin: 0 auto 2rem auto;
}

.info-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.info-block:nth-child(1) {
  animation-delay: 0.2s;
}

.info-block:nth-child(2) {
  animation-delay: 0.4s;
}

.info-block:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-block.reverse {
  flex-direction: row-reverse;
}

.info-block img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  transition: transform 0.3s ease;
}

.info-block a:hover img {
  transform: scale(1.05);
}

.info-text {
  flex: 1;
  text-align: left;
}

.info-text h3 {
  color: var(--dark-green);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.info-text p {
  font-size: 1rem;
  color: var(--black);
}

@media (max-width: 768px) {
  .info-block {
    padding: 5%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-block.reverse {
    flex-direction: column;
  }

  .info-text {
    text-align: center;
  }
}

.body-overlay {
  background-color: rgba(255, 255, 255, 0.85);
  padding-bottom: 2rem;
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
  height: 100%; /* or 100vh if needed */
}

.info-divider {
  width: 60px;
  height: 3px;
  background: var(--dark-green);
  border: none;
  margin: 0.5rem auto;
  border-radius: 2px;
}

.flavor-wheel-info p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
}

.stats {
  display: flex;
  justify-content: space-around;
  background: var(--dark-green);
  padding: 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 2rem auto;
  border: 2px solid var(--gold);
}

.stat {
  text-align: center;
  flex: 1;
}

.stat h3 {
  font-size: 2.5rem;
  margin: 0;
  color: var(--gold);
}

.stat p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--white);
}

.atr-accordion {
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
}

.atr-accordion__item {
  background: var(--white);
  border-bottom: 1px solid var(--gold);
}

.atr-accordion__item:nth-child(even) {
  background: var(--gold-light);
}

.atr-accordion__item:last-child {
  border-bottom: none;
}

.atr-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--dark-green);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.atr-accordion__trigger:hover {
  background: #00452e;
}

.atr-accordion__trigger i {
  color: var(--gold);
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.atr-accordion__trigger::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.3s, color 0.3s;
}

.atr-accordion__trigger.active::after {
  transform: rotate(45deg);
  color: var(--white);
}

.atr-accordion__content {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-10px);
  opacity: 0;
  padding: 0 1.5rem;
}

.atr-accordion__content.open {
  padding: 1rem 1.5rem;
  opacity: 1;
  transform: translateY(0);
}

.atr-accordion__content p {
  margin: 1rem 0;
  color: var(--black);
  line-height: 1.5;
}

.atr-content-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0.5rem auto;
  transition: color 0.3s, transform 0.3s;
  cursor: pointer;
}

.atr-content-icon:hover {
  color: var(--dark-green);
  transform: scale(1.1);
}

.meet-chefs {
  padding: 2rem 1rem;
  text-align: center;
}

.chef-card__title {
  font-family: 'Exo', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.meet-chefs__title {
  font-size: 2rem;
  color: var(--dark-green);
  margin-bottom: 1.5rem;
}

.meet-chefs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.chef-card {
  perspective: 1000px;
}

.chef-card__inner {
  position: relative;
  width: 100%;
  min-height: clamp(4rem, 50vh, 30rem);
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.chef-card:hover .chef-card__inner,
.chef-card:focus .chef-card__inner {
  transform: rotateY(180deg);
}

.chef-card__front,
.chef-card__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 2rem;
  background: var(--dark-green);
  box-shadow: 0 2rem 3rem var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.chef-card__back {
  transform: rotateY(180deg);
}

/* ==== Picture & image fixes ==== */
picture {
  justify-content: center;
  align-items: center;
  display: block;
  max-width: 100%;
  min-width: 0; /* important in flex/grid to allow shrink */
}

.chef-card__photo {
  box-shadow: 0 0 2rem var(--gold);
  height: auto; /* let image size naturally */
  width: auto;
  max-width: clamp(2rem,70% ,15rem); /* matches old "height: 60%" look without stretching */
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  margin-bottom: 0.75rem;
}

.chef-card__name {
  font-size: 1.25rem;
  color: var(--white);
  margin: 0;
}

.chef-card__bio {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  text-align: center;
}

.chef-card__favorite {
  font-size: 0.9rem;
  color: var(--white);
  font-style: italic;
}

.sourcing-section {
  border-radius: 2rem;
  display: flex;
  background: #00593c;
  padding: 2rem 1rem;
  box-shadow: 0 2rem 3rem var(--gold);
}

.map-container {
  display: flex;
  flex-wrap: wrap; /* put extra items on the next line */
  align-items: stretch; /* same height if you like */
  gap: 1rem; /* space between items */
  padding: 1rem;
  flex: 1 1 50%; /* try to take 50% width */
}

.sourcing-map {
  display: block; /* no inline-gap */
  inline-size: 100%; /* logical width */
  max-inline-size: 100%;
  block-size: auto;
  background-color: #FFFFFF;
  border: 3px solid #d4bf73;
  border-radius: clamp(0.75rem, 3vw, 3rem); /* scale on smaller screens */
}

.map-borders {
  stroke: var(--gold);
  stroke-width: 1;
}

.map-pin {
  cursor: pointer;
  transition: transform 0.2s, fill 0.2s;
}

.info-container {
  flex: 1 1 300px;
  min-width: 260px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-box {
  background: var(--dark-green);
  color: var(--white);
  border: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1.5rem;
  width: 100%;
  box-shadow: 0 0 2rem var(--gold);
}

.info-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--gold);
}

.info-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .sourcing-section {
    flex-direction: column;
  }

  .map-container, .info-container {
    flex: 1 1 100%;
  }
}

.booking-preview {
  text-align: center;
  color: var(--black);
}

.booking-preview .subtitle {
  color: var(--gold-dark);
  margin-bottom: 2rem;
}

/* Card Container */

.booking-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .booking-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual Card */

.booking-card {
  background-color: var(--gold);
  color: var(--black);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: transform 0.2s ease;
  border: 2px solid var(--black);

}

.booking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.booking-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--black);
}

.booking-card p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.booking-card .price {
  font-weight: bold;
  color: var(--black);
  font-size: 1.1rem;
}

/* CTA Button */

.booking-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--dark-green);
  color: var(--white);
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.booking-button:hover {
  background-color: var(--gold-dark);
  color: var(--black);
}

.readMore-button {
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 2rem;
  background-color: var(--dark-green);
  text-decoration: none;
  border-radius: 2rem;
  color: var(--white);
}

.readMore-button-chef{
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 2rem;
  background-color: var(--gold);
  text-decoration: none;
  border-radius: 2rem;
  color: var(--dark-green);
}

.readMore-button-chef:hover{
  background-color: var(--gold-dark);
  color: var(--black);
}


.readMore-button:hover {
  background-color: var(--gold-dark);
  color: var(--black);
  border: 2px solid var(--dark-green);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* LAYOUT */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .booking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .booking-grid { grid-template-columns: 1fr; }
}

/* Price + CTA */
.price { font-weight: 700; }

/* Expandable area (closed by default) */
.expandable {
  overflow: hidden;
  max-height: 0;
  transition: max-height 250ms ease;
  will-change: max-height;
}

/* Toggle button */
.card-toggle {
  margin-top: .25rem;
  align-self: flex-start;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem 0;
  text-decoration: underline;
}

/* Optional: a chevron via CSS only */
.card-toggle::after {
  content: "▾";
  transition: transform 200ms ease;
}
.card-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .expandable { transition: none; }
  .card-toggle::after { transition: none; }
}
