/* ===== Palette (from the Palm Beach logo) ===== */
:root {
  --brown:       #3B2314; /* espresso — logo background */
  --brown-deep:  #2A180D;
  --brown-soft:  #4d3320;
  --gold:        #E2A829; /* mustard gold — logo mark */
  --gold-deep:   #C8901F;
  --sand:        #F5EFE2;
  --cream:       #FBF7EF;
  --muted:       #b9a489;

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(42, 24, 13, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; }

a { color: inherit; text-decoration: none; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 1.5rem; }
.section > * { max-width: var(--maxw); margin-inline: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}

.section__head { text-align: center; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section__lead { max-width: 560px; margin: 1rem auto 0; color: var(--brown-soft); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--brown-deep); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--ghost { border-color: rgba(245, 239, 226, 0.6); color: var(--sand); }
.btn--ghost:hover { background: var(--sand); color: var(--brown-deep); }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0.4rem 0;
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo { width: 44px; height: 44px; border-radius: 10px; }
.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sand);
  transition: color 0.3s ease;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--sand);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  background: var(--gold);
  color: var(--brown-deep) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--gold-deep); }

/* scrolled state */
.nav.is-scrolled {
  background: var(--brown);
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.5);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--sand);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sand);
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,24,13,0.55) 0%, rgba(42,24,13,0.45) 40%, rgba(42,24,13,0.85) 100%);
}
.hero__content { position: relative; max-width: 760px; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.2rem;
}
.hero__title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 600; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 1.4rem auto 2.2rem; max-width: 540px; color: rgba(245,239,226,0.9); }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--sand);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.2rem; }
.about__text p { color: var(--brown-soft); margin: 0 0 1.1rem; }
.about__stats {
  display: flex; gap: 2.5rem; margin-top: 2rem;
  border-top: 1px solid rgba(59,35,20,0.12);
  padding-top: 1.6rem;
}
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-deep); }
.about__stats span { font-family: var(--font-display); font-size: 1.5rem; color: var(--brown); }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ===== Pillars (Spiaggia / Bar / Ristorante) ===== */
.pillars { padding-top: 0; }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pillar {
  background: var(--sand);
  border: 1px solid rgba(59,35,20,0.08);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__icon { font-size: 2.4rem; display: block; margin-bottom: 0.8rem; }
.pillar h3 { font-size: 1.5rem; color: var(--gold-deep); margin-bottom: 0.6rem; }
.pillar p { margin: 0; color: var(--brown-soft); font-size: 0.97rem; }

/* ===== Menu ===== */
.menu { background: var(--brown); color: var(--sand); }
.menu .eyebrow { color: var(--gold); }
/* signature dish photos */
.specials {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.special {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}
.special img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.special:hover img { transform: scale(1.06); }
.special figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(42,24,13,0.92));
  color: var(--sand);
  display: flex;
  flex-direction: column;
}
.special__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.special__desc { font-size: 0.8rem; color: var(--gold); margin-top: 2px; }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
}
.menu__cat h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(226,168,41,0.3);
}
.menu__cat ul { list-style: none; margin: 0; padding: 0; }
.menu__cat li { margin-bottom: 1.3rem; }
.menu__name { display: block; font-weight: 600; font-size: 1.05rem; }
.menu__desc { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 2px; }
.menu__note {
  margin-top: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.menu__note p { color: var(--muted); margin: 0; }

/* ===== Gallery ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(42,24,13,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(245,239,226,0.12);
  color: var(--sand);
  border: none;
  cursor: pointer;
  border-radius: 999px;
  display: grid; place-items: center;
  transition: background 0.2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--brown-deep); }
.lightbox__close { top: 1.5rem; right: 1.5rem; width: 48px; height: 48px; font-size: 1.8rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.2rem; }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact__block { margin-bottom: 1.6rem; }
.contact__block h3 { font-size: 1.05rem; color: var(--gold-deep); margin-bottom: 0.3rem; }
.contact__block p { margin: 0; color: var(--brown-soft); }
.contact__block a:hover { color: var(--gold-deep); }
.contact__social { display: flex; gap: 1.2rem; margin-bottom: 2rem; }
.contact__social a { font-weight: 600; color: var(--gold-deep); }
.contact__social a:hover { text-decoration: underline; }

.contact__form {
  background: var(--sand);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact__form h3 { margin-bottom: 1.1rem; font-size: 1.3rem; }
.contact__row { display: flex; gap: 0.8rem; margin-bottom: 0.8rem; }
.contact__form input, .contact__form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(59,35,20,0.18);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--brown);
}
.contact__form textarea { margin-bottom: 0.9rem; resize: vertical; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--gold); }
.contact__form .btn { width: 100%; border: none; }
.contact__feedback { margin: 0.8rem 0 0; font-size: 0.9rem; color: var(--gold-deep); font-weight: 600; min-height: 1rem; }

.contact__map { height: 100%; min-height: 420px; }
.contact__map iframe {
  width: 100%; height: 100%; min-height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer { background: var(--brown-deep); color: var(--sand); padding: 3.5rem 1.5rem 2.5rem; text-align: center; }
.footer__inner { max-width: var(--maxw); margin-inline: auto; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.footer__brand img { width: 40px; height: 40px; border-radius: 9px; }
.footer__brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer__tag { color: var(--muted); margin: 0 0 1.5rem; font-size: 0.9rem; }
.footer__links { display: flex; gap: 1.8rem; justify-content: center; margin-bottom: 1.8rem; flex-wrap: wrap; }
.footer__links a { color: var(--sand); font-size: 0.95rem; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: var(--brown);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 110; }
  .nav.is-scrolled, .nav { background: var(--brown); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .about__media img { aspect-ratio: 16/10; }
  .pillars__grid { grid-template-columns: 1fr; }
  .specials { grid-template-columns: repeat(3, 1fr); }
  .menu__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

@media (max-width: 480px) {
  .about__stats { gap: 1.4rem; }
  .specials { grid-template-columns: repeat(2, 1fr); }
  .contact__row { flex-direction: column; gap: 0.8rem; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
}
