/* ============================================
   PAPI JANO — Styles
   Mobile-first, modern-retro design
   ============================================ */

/* --- Local Fonts (RGPD-compliant, no external requests) --- */

/* Playfair Display - Regular */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/playfair-display-regular-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/playfair-display-regular-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display - Bold */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/playfair-display-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/playfair-display-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display - Italic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/playfair-display-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/playfair-display-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Sans 3 - Light */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/source-sans-3-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/source-sans-3-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Sans 3 - Regular */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-sans-3-regular-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-sans-3-regular-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Sans 3 - SemiBold */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-sans-3-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-sans-3-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Custom Properties --- */
:root {
  --color-bg: #1a1a1a;
  --color-card: #2a2a2a;
  --color-gold: #c4a265;
  --color-gold-light: #d4b87a;
  --color-cream: #f5f0e8;
  --color-muted: #c8c0b4;
  --color-border: rgba(196, 162, 101, 0.15);
  --color-border-strong: rgba(196, 162, 101, 0.3);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --sticky-height: 56px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-cream);
  background-color: var(--color-bg);
  padding-bottom: var(--sticky-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-gold);
  text-decoration: none;
}

a:hover {
  color: var(--color-gold-light);
}

address {
  font-style: normal;
}

/* --- Skip Link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  z-index: 300;
}

.skip-link:focus {
  top: 0;
  color: var(--color-bg);
}

/* --- Utility: Icon --- */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  transition: background-color 0.2s, transform 0.15s;
}

.btn--gold {
  background-color: var(--color-gold);
  color: var(--color-bg);
}

.btn--gold:hover {
  background-color: var(--color-gold-light);
  color: var(--color-bg);
  transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
}

.hero__logo {
  width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 30px rgba(196, 162, 101, 0.25));
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: 0.25rem;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2rem;
}

.hero__cta {
  font-size: 1.1rem;
  padding: 0.85rem 2rem;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cream);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--color-gold);
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  color: var(--color-cream);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.section-title em {
  font-style: italic;
  color: var(--color-gold);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 0.75rem auto 0;
}

/* ============================================
   INFO SECTION
   ============================================ */
.info {
  padding: 3rem 1.5rem;
}

.info__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--color-muted);
  font-weight: 300;
  font-size: 0.95rem;
}

.card__link {
  color: inherit;
  display: block;
  transition: color 0.2s;
}

.card__link:hover {
  color: var(--color-gold);
}

.card__link p {
  color: inherit;
}

.card__highlight {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-gold) !important;
  line-height: 1.2;
}

.card__note {
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.15rem;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
  padding: 3rem 1.5rem;
}

.menu__category {
  margin-bottom: 2.5rem;
}

.menu__category-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-strong);
  margin-bottom: 1rem;
}

.menu__category-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.menu__item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.menu__item:last-child {
  border-bottom: none;
}

.menu__name {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-cream);
}

.menu__price {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-cream);
  text-align: right;
  white-space: nowrap;
}

.menu__desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.menu__alcool {
  text-align: center;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--color-muted);
  opacity: 0.6;
  padding: 1rem 1.5rem 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
  gap: 1.25rem;
}

.footer__logo {
  width: 100px;
  height: auto;
  opacity: 0.8;
  filter: drop-shadow(0 0 15px rgba(196, 162, 101, 0.2));
}

.footer__cta {
  font-size: 1rem;
}

.footer__address {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
}

.footer__address a {
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer__address a:hover {
  color: var(--color-gold);
}

.footer__copy {
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 300;
  opacity: 0.6;
  margin-top: 0.5rem;
}

.footer__legal {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-muted);
  opacity: 0.6;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer__legal:hover {
  color: var(--color-gold);
  opacity: 1;
}

/* ============================================
   MODAL (CSS-only with :target)
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal:target {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: block;
  cursor: default;
}

.modal__content {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  max-width: 520px;
  width: calc(100% - 2rem);
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal:target .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-muted);
  transition: color 0.2s;
}

.modal__close:hover {
  color: var(--color-cream);
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.modal__subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-cream);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.modal__content p {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.modal__content p a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   STICKY CTA (mobile)
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sticky-height);
  background: var(--color-gold);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
}

.sticky-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-bg);
  letter-spacing: 0.03em;
}

.sticky-cta__link:hover {
  color: var(--color-bg);
}

/* ============================================
   RESPONSIVE — Tablet (640px+)
   ============================================ */
@media (min-width: 640px) {

  .hero__logo {
    width: 280px;
  }

  .hero__title {
    font-size: 3rem;
  }

  .info__grid {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .menu {
    max-width: 720px;
    margin: 0 auto;
  }
}

/* ============================================
   RESPONSIVE — Desktop (960px+)
   ============================================ */
@media (min-width: 960px) {

  body {
    padding-bottom: 0;
  }

  .hero {
    padding: 4rem 2rem 3rem;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .info {
    max-width: 900px;
    margin: 0 auto;
  }

  .menu {
    max-width: 960px;
    display: block;
  }

  .menu__category {
    column-count: 2;
    column-gap: 2.5rem;
  }

  .menu__category .menu__category-title {
    column-span: all;
  }

  .menu__category .menu__category-note {
    column-span: all;
  }

  .menu__item {
    break-inside: avoid;
  }

  .menu__category--options {
    column-count: 1;
  }

  .sticky-cta {
    display: none;
  }

  .footer {
    padding: 3rem 2rem 2rem;
  }
}
