/* UNL Club House — deep green & cream. Mobile-first. */

:root {
  --green: #163a2e;
  --green-dark: #0f2a20;
  --green-soft: #2c5446;
  --cream: #f6f2e9;
  --cream-2: #efe8d9;
  --ink: #1c261f;
  --muted: #636d64;
  --gold: #b0894e;
  --gold-dark: #96733d;
  --line: #ddd5c4;
  --white: #fffdf8;
  --max: 1200px;
  --radius: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--green); margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--green-soft); }

.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--gold); margin: 0 0 1em; font-family: var(--sans); }
.lead { font-size: 1.1rem; color: var(--muted); }
.center { text-align: center; }
.center .lead { max-width: 640px; margin-inline: auto; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font: 600 .96rem/1 var(--sans); cursor: pointer; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .05s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; margin-bottom: 12px; }

/* --- Header / Nav --- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(246,242,233,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand-text { font-family: var(--serif); font-weight: 700; color: var(--green); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--green); border-bottom-color: var(--gold); }
.nav-social { display: flex; align-items: center; gap: 14px; }
.nav-social a { color: var(--green); display: inline-flex; }
.nav-social svg { width: 20px; height: 20px; fill: currentColor; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--green); }
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }

/* --- Hero --- */
.hero { position: relative; min-height: clamp(540px, 88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,32,25,.18) 0%, rgba(15,32,25,.06) 45%, rgba(15,32,25,.42) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; justify-content: flex-end; padding-bottom: 120px; }
.hero-overlay { background: rgba(15,32,25,.74); backdrop-filter: blur(2px); padding: 38px 40px; max-width: 500px; border-radius: 4px; }
.hero-overlay .eyebrow { color: #fff; }
.hero-overlay .eyebrow b { color: var(--gold); font-weight: 700; }
.hero-overlay h1 { color: #fff; margin-bottom: .5em; }
.hero-overlay h1 em { color: var(--gold); font-style: normal; }
.hero-overlay .btn { margin-top: 6px; }

/* Right-edge MENU tab (fixed, persistent) */
.menu-tab { position: fixed; right: 0; top: 44%; z-index: 55; background: var(--gold); color: #fff; font: 700 1rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: 20px 22px; border-radius: 8px 0 0 8px; box-shadow: -4px 6px 20px rgba(15,32,25,.28); transition: background .15s, padding .15s; }
.menu-tab:hover { background: var(--gold-dark); color: #fff; padding-right: 28px; }

/* Bottom info bar over hero */
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(22,58,46,.94); color: #e7eee9; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px clamp(22px, 4vw, 56px); font-size: .92rem; }
.hero-bar strong { color: #fff; }
.hero-hours div, .hero-address div { margin-bottom: 2px; }
.hero-hours .fermeture { color: #b7c6bd; font-style: italic; margin-top: 4px; }
.hero-address { text-align: right; }
.hero-address a { color: #fff; }

/* Rotating BRUNCH badge */
.brunch-badge { position: absolute; left: 50%; top: -75px; transform: translateX(-50%); z-index: 3; width: 150px; height: 150px; text-decoration: none; }
.brunch-badge svg { width: 100%; height: 100%; }
.brunch-ring { animation: spin 16s linear infinite; transform-origin: 100px 100px; }
.brunch-ring text { fill: #fff; font: 700 12px var(--sans); letter-spacing: 2px; }
.brunch-center-bg { fill: var(--gold); }
.brunch-center-tx { fill: #10261d; font: 700 20px var(--serif); letter-spacing: 1px; }
.brunch-badge:hover .brunch-center-bg { fill: var(--gold-dark); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .brunch-ring { animation: none; } }

/* --- Sections --- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section-alt { background: var(--cream-2); }
.section-green { background: var(--green); color: #eef2ec; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green .eyebrow { color: var(--gold); }
.section-lead { color: var(--muted); }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.reverse > .split-media { order: 2; } }
.split-media img { border-radius: var(--radius); width: 100%; max-height: 460px; object-fit: cover; box-shadow: 0 14px 40px rgba(15,32,25,.18); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: 0 8px 30px rgba(15,32,25,.06); }
.price-tag { font-family: var(--serif); color: var(--gold); font-size: 2rem; font-weight: 600; margin: 0; }
.cards-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); max-width: 820px; margin: 24px auto 0; text-align: left; }

.pills { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #eef2ec; border-radius: 999px; padding: 6px 15px; font-size: .9rem; }

.formulas { width: 100%; border-collapse: collapse; margin: 8px 0 22px; }
.formulas th, .formulas td { text-align: left; padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.16); }
.formulas th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: #c9d3cb; }
.formulas td:last-child, .formulas th:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: #fff; }
.event-types { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); margin: 10px 0 30px; }
.event-types h3 { color: #fff; }
.event-types p { color: #c9d3cb; margin: 0; }
.extras { font-size: .95rem; color: #c9d3cb; }
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 30px; }
.gallery img { border-radius: var(--radius); max-height: 300px; width: 100%; object-fit: cover; }

/* --- Menu carousel --- */
.carousel { position: relative; margin: 8px 0 28px; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 14px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 auto; width: min(78vw, 300px); scroll-snap-align: center; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 6px 20px rgba(15,32,25,.10); transition: transform .12s; }
.carousel-item:hover { transform: translateY(-3px); }
.carousel-item img { aspect-ratio: 768/1087; object-fit: cover; width: 100%; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--green); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(15,32,25,.28); display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: var(--green-dark); }
.carousel-btn.prev { left: -6px; }
.carousel-btn.next { right: -6px; }
@media (max-width: 600px) { .carousel-btn { display: none; } }

/* --- Contact --- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.info-list { list-style: none; margin: 0 0 1.4em; padding: 0; }
.info-list li { margin-bottom: 1.05em; }
.info-list strong { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--gold); margin-bottom: .2em; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours .closed td:last-child { color: #a4534a; }
.socials { display: flex; gap: 16px; margin-top: 6px; }
.socials a { font-weight: 600; }
.note { font-size: .88rem; color: var(--muted); font-style: italic; }
.section-green .note { color: #b7c6bd; }

/* --- Footer --- */
.site-footer { background: var(--green-dark); color: #b9c6bd; padding: 40px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer img { height: 46px; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: .92; }
.footer-col p { margin: 0 0 .3em; font-size: .92rem; }
.footer-col a { color: #fff; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-overlay { max-width: 440px; padding: 30px 30px; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; box-shadow: 0 12px 24px rgba(15,32,25,.12); display: none; }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links a { padding: 14px 22px; border-bottom: 1px solid var(--line); }
  .nav-links a:hover, .nav-links a.active { border-bottom-color: var(--line); background: var(--cream-2); }
  .nav-social { padding: 14px 22px; }

  .hero { min-height: 0; }
  .hero-inner { justify-content: stretch; padding: 40px 0 190px; }
  .hero-overlay { max-width: none; width: 100%; }
  .hero-bar { flex-direction: column; gap: 12px; font-size: .85rem; padding: 60px 22px 26px; }
  .hero-address { text-align: left; }
  .brunch-badge { width: 96px; height: 96px; top: -48px; }
  .menu-tab { top: auto; bottom: 90px; padding: 12px 16px; font-size: .82rem; }
  .gallery { grid-template-columns: 1fr; }
}
