/* ============================================================
   LA TINÈRA — style.css
   Aesthetic: Editorial / Artisanal  |  Split-hero layout
   Palette: Parchment × Ink × Ochre Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand */
  --gold:       #c69d4a;
  --gold-dark:  #8a6b20;
  --gold-light: #dbb96a;

  /* Light theme */
  --bg:         #f5f0e8;
  --bg-alt:     #ede7d9;
  --bg-dark:    #1a1410;
  --surface:    #fff9f0;
  --ink:        #1a1410;
  --ink-mid:    #3d3026;
  --ink-soft:   #6b5744;
  --rule:       #d4c5a8;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;

  /* Spacing */
  --gap:    clamp(2rem, 5vw, 4rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* Transitions */
  --ease: cubic-bezier(.25,.46,.45,.94);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:       #1a1410;
    --bg-alt:   #221c15;
    --bg-dark:  #0d0a07;
    --surface:  #2a221a;
    --ink:      #f0e8d8;
    --ink-mid:  #c9baa5;
    --ink-soft: #9a8672;
    --rule:     #3d3026;
  }
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.menu-open { overflow: hidden; }

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color .2s var(--ease);
}

a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
}

/* ── Utility ────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gold { color: var(--gold); }

/* ── HEADER / NAV ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: rgba(26, 20, 16, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(198, 157, 74, .25);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold);
  text-decoration: none;
  transition: opacity .2s;
}
.site-logo:hover { opacity: .8; color: var(--gold); }

/* Desktop nav */
.desktop-nav { display: none; }

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  .desktop-nav a {
    font-family: var(--font-body);
    font-size: .875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(240, 232, 216, .75);
    transition: color .2s var(--ease);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
  }
  .desktop-nav a:hover,
  .desktop-nav a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }
  .hamburger { display: none; }
}

/* Hamburger — fixed top-right on mobile */
.hamburger {
  position: fixed;
  top: 16px;
  right: var(--gutter);
  z-index: 201;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile overlay — full-screen, no border between links */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 10, 7, .97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 600;
  color: #f0e8d8;
  letter-spacing: .02em;
  transition: color .2s var(--ease);
}

.nav-overlay a:hover,
.nav-overlay a.active { color: var(--gold); }

/* ── PAGE OFFSET (below fixed header) ──────────────────────── */
.page-body { padding-top: 72px; }

/* ── SPLIT HERO ─────────────────────────────────────────────── */
.split-hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 72px);
}

@media (min-width: 768px) {
  .split-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.split-hero__image {
  position: relative;
  overflow: hidden;
  min-height: 55vw;
}

@media (min-width: 768px) {
  .split-hero__image { min-height: unset; }
}

.split-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}

.split-hero__image:hover img { transform: scale(1); }

.split-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,20,16,.3) 0%, transparent 60%);
  pointer-events: none;
}

.split-hero__text {
  background: #1a1410;
  color: #f0e8d8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 6vw, 5rem);
  position: relative;
}

.split-hero__text::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: clamp(2rem, 6vw, 5rem);
  width: 48px;
  height: 2px;
  background: var(--gold);
}

.split-hero__eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

.split-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #f0e8d8;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.split-hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
  color: rgba(240, 232, 216, .72);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.btn {
  display: inline-block;
  padding: .85rem 2.25rem;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background .25s var(--ease), color .25s var(--ease);
  align-self: flex-start;
}

.btn:hover {
  background: var(--gold);
  color: #1a1410;
  border-color: var(--gold);
}

.btn--solid {
  background: var(--gold);
  color: #1a1410;
}

.btn--solid:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

/* ── INTRO STRIP ────────────────────────────────────────────── */
.intro-strip {
  background: #111111;
  padding: 3.5rem var(--gutter);
  text-align: center;
}

.intro-strip p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  color: rgba(240, 232, 216, .85);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.7;
}

.intro-strip p span {
  color: var(--gold);
}

/* ── ALTERNATING PANELS ─────────────────────────────────────── */
.panel {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .panel {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }
  .panel--reverse .panel__image { order: 2; }
  .panel--reverse .panel__text  { order: 1; }
}

.panel__image {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease);
}

.panel:hover .panel__image img { transform: scale(1.04); }

.panel__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  background: var(--surface);
}

.panel__label {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .75rem;
  font-family: var(--font-body);
}

.panel__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.panel__body {
  color: var(--ink-mid);
  font-size: .975rem;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

/* ── REVIEWS ────────────────────────────────────────────────── */
.reviews-section {
  background: #1a1410;
  padding: var(--gap) var(--gutter);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-sub {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
  font-family: var(--font-body);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #f0e8d8;
}

.reviews-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(4, 1fr); }
}

.review-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(198, 157, 74, .2);
  padding: 1.75rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.review-card:hover {
  border-color: var(--gold);
  background: rgba(198, 157, 74, .06);
}

.review-stars {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: .75rem;
  letter-spacing: .05em;
}

.review-text {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(240, 232, 216, .78);
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-light);
}

/* ── INFO BAND ──────────────────────────────────────────────── */
.info-band {
  background: var(--bg-alt);
  padding: 4rem var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.info-band .container {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .info-band .container { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .info-band .container { grid-template-columns: repeat(3, 1fr); }
}

.info-item__label {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .5rem;
  font-family: var(--font-body);
}

.info-item__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.info-item__value a {
  color: var(--ink-mid);
}

.info-item__value a:hover { color: var(--gold-dark); }

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  color: var(--ink-mid);
}

.hours-table td {
  padding: .3rem 0;
  vertical-align: top;
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--ink);
  padding-right: 1.25rem;
  text-transform: capitalize;
  min-width: 90px;
}

/* ── BADGES (service flags) ─────────────────────────────────── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.badge {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  padding: .3rem .8rem;
  font-family: var(--font-body);
}

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  background: #1a1410;
  padding: 6rem var(--gutter) 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c69d4a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero__eyebrow {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  display: block;
}

.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #f0e8d8;
  margin-bottom: 1rem;
  line-height: 1.05;
}

.page-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-style: italic;
  color: rgba(240, 232, 216, .65);
}

/* ── MENU PAGE ──────────────────────────────────────────────── */
.menu-body {
  padding: var(--gap) var(--gutter);
}

.menu-section {
  max-width: 960px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.menu-section__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--rule);
}

.menu-section__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.menu-note {
  max-width: 960px;
  margin-inline: auto;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin-bottom: 3rem;
  font-style: italic;
  color: var(--ink-mid);
  font-size: .9rem;
}

/* ── ABOUT PAGE ─────────────────────────────────────────────── */
.about-content {
  padding: var(--gap) var(--gutter);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: var(--gap);
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .about-split {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }
}

.about-split__image {
  position: relative;
  overflow: hidden;
}

.about-split__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-split__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.about-split__text p {
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* ── CONTACT PAGE ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: var(--gap) var(--gutter);
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail__label {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .35rem;
  font-family: var(--font-body);
}

.contact-detail__value {
  font-size: 1rem;
  color: var(--ink-mid);
}

.contact-detail__value a {
  color: var(--ink-mid);
}

.contact-detail__value a:hover { color: var(--gold-dark); }

.map-container {
  overflow: hidden;
  border: 1px solid var(--rule);
}

.map-container iframe {
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  display: block;
  filter: grayscale(.25) contrast(1.05);
  transition: filter .3s;
}

.map-container:hover iframe { filter: none; }

/* ── RATING DISPLAY ─────────────────────────────────────────── */
.rating-display {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.rating-display__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.rating-display__stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: .05em;
}

.rating-display__count {
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #1a1410;
  border-top: 1px solid rgba(198, 157, 74, .2);
  text-align: center;
  padding: 1.25rem var(--gutter);
  font-size: .75rem;
  color: rgba(240, 232, 216, .35);
  font-family: var(--font-body);
}

.site-footer a {
  color: rgba(198, 157, 74, .55);
  transition: color .2s;
}

.site-footer a:hover { color: var(--gold); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up   { animation: fadeUp .8s var(--ease) both; }
.fade-up--1 { animation-delay: .1s; }
.fade-up--2 { animation-delay: .25s; }
.fade-up--3 { animation-delay: .4s; }
.fade-up--4 { animation-delay: .55s; }

/* ── MISC ───────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.divider__ornament {
  color: var(--gold);
  font-size: .85rem;
}
