/* =========================================================
   SWELLS CAFÉ — styles
   Fonts: Gulfs Display (display headings) · Sansita (body)
   ========================================================= */

@font-face {
  font-family: "Gulfs Display";
  src: url("../fonts/gulfs-display-normal.woff2") format("woff2"),
       url("../fonts/gulfs-display-normal.woff") format("woff"),
       url("../fonts/gulfs-display-normal.eot") format("embedded-opentype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sansita";
  src: url("../fonts/Sansita-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sansita";
  src: url("../fonts/Sansita-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Sansita";
  src: url("../fonts/Sansita-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sansita";
  src: url("../fonts/Sansita-BoldItalic.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Sansita";
  src: url("../fonts/Sansita-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sansita";
  src: url("../fonts/Sansita-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Sansita";
  src: url("../fonts/Sansita-Black.ttf") format("truetype");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sansita";
  src: url("../fonts/Sansita-BlackItalic.ttf") format("truetype");
  font-weight: 900; font-style: italic; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --cream:       #FBF7EC;
  --cream-soft:  #F4EEDD;
  --green:       #B6D3A4;
  --green-soft:  #C8E0B9;
  --green-dark:  #98BE84;
  --brown:       #7A4A28;
  --brown-dark:  #5E3A20;
  --brown-mid:   #6E4A2F;
  --text:        #4A3825;

  --font-head: "Gulfs Display", system-ui, sans-serif;
  --font-body: "Sansita", Georgia, serif;

  --maxw: 1180px;
  --radius: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Headings ---------- */
.section-title,
.hero-title,
.trust-title {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 0.95;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7em 1.8em;
  border-radius: var(--radius);
  border: 2px solid var(--brown);
  color: var(--brown);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--brown); color: var(--cream); transform: translateY(-2px); }
.btn-light { border-color: var(--cream); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--brown); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.scrolled {
  background: var(--cream);
  border-bottom-color: rgba(122, 74, 40, 0.12);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
}
.nav-left { justify-content: flex-end; padding-right: 1.5rem; }
.nav-right { justify-content: flex-start; padding-left: 1.5rem; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease, color 0.35s ease;
}
.nav-links a:hover { opacity: 0.6; }
.site-header.scrolled .nav-links a { color: var(--brown); }
.nav-logo-img { height: 46px; width: auto; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-swells.webp") center 45%/cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(40,26,15,0.1) 0%, rgba(40,26,15,0.55) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 14vw, 14rem) 1.5rem;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.hero-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.hero-badges {
  position: relative;
  flex: 0 0 auto;
  width: clamp(360px, 52vw, 600px);
  height: clamp(360px, 50vw, 560px);
}
.badge { position: absolute; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.18)); }

/* badge-palm.png */
.badge-1 { width: 60%; bottom: 30%;   left: 5%;    transform: rotate(-6deg); }

/* badge-square.png */
.badge-2 { width: 56%; bottom: 30%;  right: 10%; transform: rotate(5deg); }

/* badge-round.png */
.badge-3 { width: 60%; top: 15%; left: 0; }

/* badge-star.png */
.badge-4 { width: 62%; top: 10%; right: 10%; }

/* =========================================================
   CHECKERBOARD DIVIDER
   ========================================================= */
.checker {
  height: 54px;
  background-image:
    linear-gradient(45deg, var(--green) 25%, transparent 25%),
    linear-gradient(-45deg, var(--green) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--green) 75%),
    linear-gradient(-45deg, transparent 75%, var(--green) 75%);
  background-size: 54px 54px;
  background-position: 0 0, 0 27px, 27px -27px, -27px 0;
  background-color: var(--cream);
}

/* =========================================================
   HEY THERE
   ========================================================= */
.hey { background: var(--green); }
.hey-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hey-text .section-title { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--brown); margin-bottom: 1.2rem; }
.hey-text p { font-size: 1.2rem; max-width: 42ch; margin-bottom: 1rem; color: var(--brown-dark); }
.hey-cta-line { font-weight: 700; }
.hey-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hey-photo {
  border-radius: 10px;
  aspect-ratio: 3 / 3.1;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}
.hey-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  transform: scale(1.25);
}

/* =========================================================
   INFINITE MARQUEE
   ========================================================= */
.marquee {
  background: var(--brown-mid);
  color: var(--cream);
  overflow: hidden;
  padding: 0.75rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  will-change: transform;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-group { display: inline-flex; align-items: center; }
.marquee-item {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 2px;
  padding: 0 1.4rem;
}
.marquee-star { color: var(--green-soft); font-size: 1rem; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* =========================================================
   THE VIBE / CAROUSEL
   ========================================================= */
.vibe { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 1.5rem; }
.vibe-head { display: flex; align-items: baseline; margin-bottom: 2rem; }
.vibe .section-title { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--brown); }

.carousel { display: flex; align-items: center; gap: 0.75rem; }
.carousel-viewport { flex: 1; overflow: hidden; min-width: 0; }
.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.carousel-item { flex: 0 0 auto; width: 260px; margin: 0; overflow: hidden; border-radius: 8px; }
.carousel-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.carousel-item:hover img { transform: scale(1.06); }
.carousel-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brown);
  background: var(--cream);
  color: var(--brown);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}
.carousel-btn:hover { background: var(--brown); color: var(--cream); }

/* =========================================================
   WHERE ARE WE?
   ========================================================= */
.where { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 1.5rem; }
.where-title { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--brown); text-align: center; margin-bottom: 2.5rem; }
.where-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.where-illustration img { width: 100%; max-width: 360px; margin: 0 auto; }
.where-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.where-caption { margin-top: 1rem; font-weight: 700; color: var(--brown-dark); }
.where-caption strong { color: var(--brown); }

/* =========================================================
   TRUST THEM / REVIEWS
   ========================================================= */
.trust { position: relative; overflow: hidden; color: var(--cream); }
.trust-bg {
  position: absolute;
  inset: 0;
  background: var(--brown-dark) url("../images/cookies-smoothie.webp") center/cover no-repeat;
}
.trust-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40,26,15,0.35) 0%, rgba(40,26,15,0.7) 100%);
}
.trust-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
}
.trust-head { margin-bottom: 2.5rem; }
.trust-title { font-size: clamp(2.8rem, 7vw, 5rem); color: var(--cream); }
.trust-sub { font-size: 1.1rem; opacity: 0.9; margin-top: 0.4rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review-card {
  background: rgba(251, 247, 236, 0.96);
  color: var(--text);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
.review-stars { color: #E8A93B; letter-spacing: 2px; margin-bottom: 0.6rem; font-size: 1.05rem; }
.review-text { font-size: 0.98rem; margin-bottom: 1.1rem; }
.review-author { display: flex; align-items: center; gap: 0.6rem; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-dark) center/cover no-repeat;
  flex: 0 0 auto;
}
.review-name { font-weight: 700; color: var(--brown); }
.trust-btn { margin-top: 2.5rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--brown-dark); color: var(--cream); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.footer-logo { height: 56px; width: auto; margin: 0 auto 1rem; }
.footer-tag { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.4rem; }
.footer-meta { opacity: 0.85; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1.5rem; }
.footer-social a { font-weight: 700; }
.footer-social a:hover { opacity: 0.6; }
.footer-copy { opacity: 0.6; font-size: 0.85rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto 1fr; }
  .nav-links { gap: 1rem; font-size: 0.8rem; }
  .nav-left, .nav-right { padding: 0 0.5rem; }
  .hero-inner { flex-direction: column; align-items: center; justify-content: flex-start; min-height: auto; }
  .hero-text { align-items: center; text-align: center; margin-top: 250px; }
  .hero-badges { width: 90%; align-self: center; height: 380px; }
  .hey-inner { grid-template-columns: 1fr; }
  .hey-photo { order: -1; }
  .where-inner { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .nav-links a { font-size: 0.72rem; }
}
