/* ============================================================
   TROPICANA — layout.css
   Header / nav, footer, hero, page structure, responsive.
   ============================================================ */

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 236, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 246, 236, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(46, 36, 23, 0.07);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(168, 134, 63, .4);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name {
  font-size: 1.7rem;
  color: var(--gold-dark);
  line-height: 1;
  letter-spacing: .01em;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 1.6vw, 1.5rem);
}
.nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-soft);
  padding: .35rem .15rem;
  position: relative;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--gold-dark); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }

.nav__cta { padding: .55rem 1.4rem; font-size: .9rem; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .75rem; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-toggle:hover { background: var(--gold-dark); color: var(--white); }
.lang-toggle__globe svg { width: 15px; height: 15px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding-block: calc(var(--header-h) + 2rem) 3rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 165, 90, .14), transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(197, 165, 90, .12), transparent 42%),
    var(--cream);
}
.hero__orn {
  position: absolute;
  color: rgba(168, 134, 63, .22);
  pointer-events: none;
}
.hero__orn--tl { top: 9%; inset-inline-start: 5%; width: 90px; rotate: -12deg; }
.hero__orn--br { bottom: 7%; inset-inline-end: 5%; width: 110px; rotate: 14deg; }
.hero__orn svg { width: 100%; height: 100%; }

.hero__frame {
  position: relative;
  width: min(640px, 94%);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 2.5rem);
  border: 1px solid var(--gold);
  border-radius: 24px 60px 24px 60px;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.25));
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-lg);
}
.hero__frame::before, .hero__frame::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--gold);
}
.hero__frame::before { top: -2px; inset-inline-start: -2px; border-inline-end: none; border-bottom: none; border-radius: 22px 0 0 0; }
.hero__frame::after { bottom: -2px; inset-inline-end: -2px; border-inline-start: none; border-top: none; border-radius: 0 0 22px 0; }

.hero__script {
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 9vw, 5.4rem);
  line-height: 1;
  color: var(--gold-dark);
  text-shadow: 0 2px 0 rgba(255,255,255,.6);
}
.hero__script small {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(.72rem, 1.8vw, .9rem);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .6rem;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  color: var(--ink);
  margin-top: 1.2rem;
}
.hero__lead {
  max-width: 46ch;
  margin: 1rem auto 2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  inset-inline: 0;
  text-align: center;
  color: var(--gold-dark);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  animation: floatY 2.4s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------------- Footer ---------------- */
.site-footer {
  background: linear-gradient(180deg, #F1E6CE, #EADFC6);
  border-top: 1px solid var(--gold-light);
  margin-top: clamp(2rem, 5vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand__name { font-size: 2.4rem; color: var(--gold-dark); }
.footer-brand__tag { color: var(--ink-soft); margin-top: .4rem; max-width: 32ch; }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-dark);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-3px); }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-inline-start: .75rem;
  border-inline-start: 3px solid var(--gold);
}
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: var(--ink-soft); transition: color .2s var(--ease), padding .2s var(--ease); }
.footer-links a:hover { color: var(--gold-dark); }
.footer-contact { display: inline-flex; align-items: center; gap: .55rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.1rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: .88rem;
}

/* ---------------- WhatsApp bubble ---------------- */
.wa-bubble {
  position: fixed;
  bottom: 1.4rem;
  inset-inline-end: 1.4rem;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .5);
  transition: transform .3s var(--ease);
}
.wa-bubble svg { width: 30px; height: 30px; }
.wa-bubble:hover { transform: scale(1.1) translateY(-2px); }
.wa-bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------------- Two-column split (about teaser) ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.split__img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--gold-light), var(--cream-deep));
}
.split__img__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__body h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 1rem; }
.split__body p { color: var(--ink-soft); margin-bottom: 1rem; }
.split__bullets { display: grid; gap: .6rem; margin: 1.2rem 0 1.6rem; }
.split__bullets li { display: flex; gap: .7rem; align-items: baseline; color: var(--ink); }
.split__bullets svg { width: 18px; height: 18px; color: var(--gold-dark); flex: none; transform: translateY(2px); }

/* ---------------- Cards grid (featured / gallery) ---------------- */
.grid {
  display: grid;
  gap: 1.4rem;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.dish-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dish-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dish-card__body { padding: 1.1rem 1.25rem 1.35rem; }
.dish-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.dish-card__meta { color: var(--ink-soft); font-size: .86rem; margin-top: .2rem; }
.dish-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .9rem;
}
.dish-card__price { font-weight: 700; color: var(--gold-dark); font-size: 1.05rem; }
.dish-card__link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-weight: 600; font-size: .85rem; color: var(--gold-dark);
}
.dish-card__link:hover { text-decoration: underline; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
  box-shadow: var(--shadow);
}
.testi-card__stars { color: var(--gold); letter-spacing: .15em; margin-bottom: .7rem; }
.testi-card blockquote { color: var(--ink-soft); font-style: italic; font-size: .98rem; }
.testi-card figcaption {
  margin-top: 1.1rem;
  font-weight: 700;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.testi-card figcaption::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------------- Contact strip ---------------- */
.contact-strip {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-strip h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); }
.contact-strip p { color: rgba(255,255,255,.9); margin-top: .3rem; }
.contact-strip .btn--gold { background: var(--white); color: var(--gold-dark); box-shadow: none; }
.contact-strip .btn--ghost { border-color: var(--white); color: var(--white); }
.contact-strip .btn--ghost:hover { background: var(--white); color: var(--gold-dark); }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 2.6rem) 0 2.6rem;
  text-align: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(197, 165, 90, .16), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(197, 165, 90, .12), transparent 40%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero__eyebrow {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--gold);
  display: block;
}
.page-hero h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-top: .3rem; }
.page-hero__rule {
  width: 90px; height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--ease);
  }
  .nav.is-open { max-height: 70vh; overflow-y: auto; }
  .nav__link { padding: 1rem 1.4rem; border-top: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--cream-soft); }
  .nav__cta { margin: 1rem 1.4rem 1.4rem; justify-content: center; }
  .nav-toggle { display: flex; }

  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 460px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .brand__name { font-size: 1.4rem; }
  .header-inner { min-height: 64px; }
  :root { --header-h: 64px; }
}
