/* ============================================================
   BASE.CSS — Shared across all 30 pages
   Bingo Tour · Côte d'Azur
   ============================================================ */

/* TOKENS */
:root {
  --azure:  #8f1d1d;
  --gold:   #c9a84c;
  --sand:   #f5f0e8;
  --deep:   #960000;
  --mid:    #2c4a5e;
  --light:  #e8eff5;
  --white:  #ffffff;
  --text:   #1a2a35;
  --muted:  #6b8090;
  --radius: 4px;
  --nav-h:  72px;
  --nav-expanded-h: 96px;
  --nav-logo-h: 56px;
  --nav-logo-expanded-h: 76px;
  --ease:   cubic-bezier(.4,0,.2,1);
}

/* RESET */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: 'Google Sans Flex', sans-serif; font-weight: 300; color: #242424; background: var(--white); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* TYPOGRAPHY */
h1,h2,h3,h4 { font-family: 'Roboto Serif', serif; font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; color: var(--deep); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
p  { line-height: 1.75; font-weight: 300; color: #4d6170; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Google Sans Flex', sans-serif; font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--radius);
  transition: all .3s var(--ease); cursor: pointer; border: none;
  text-decoration: none;
  -webkit-text-fill-color: currentColor;
}
.btn:link, .btn:visited { color: inherit; }
.btn-primary { background: var(--gold); color: var(--deep); }
.btn-primary:hover { background: #b8922f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.35); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-wa { background: #25d366; color: var(--white); }
.btn-wa:hover { background: #1fb858; transform: translateY(-2px); }
.btn-hero-alt { background: rgba(255,255,255,.14); color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.btn-hero-alt:hover { background: rgba(255,255,255,.22); border-color: var(--white); transform: translateY(-2px); }
a.btn-wa,
a.btn-wa:link,
a.btn-wa:visited,
a.btn-hero-alt,
a.btn-hero-alt:link,
a.btn-hero-alt:visited {
  color: var(--white) !important;
  -webkit-text-fill-color: var(--white);
}

a.btn-hero-alt {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.55);
}

/* LABELS & TAGS */
.section-label {
  font-family: 'Google Sans Flex', sans-serif; font-size: .7rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.tag {
  display: inline-block; font-family: 'Google Sans Flex', sans-serif; font-size: .65rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); padding: 4px 10px; border-radius: 2px;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-expanded-h); z-index: 1000;
  background: rgba(150,0,0,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
  transition: height .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
nav.scrolled {
  height: var(--nav-h);
  background: rgba(150,0,0,1);
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.nav-inner { display: flex; align-items: center; height: 100%; padding: 0 32px; }
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img {
  display: block;
  height: var(--nav-logo-expanded-h);
  width: auto;
  transition: height .4s var(--ease), transform .4s var(--ease);
}
nav.scrolled .nav-logo img { height: var(--nav-logo-h); }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--white); padding-bottom: 2px; border-bottom: 1px solid transparent; transition: all .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-book {
  margin-left: 16px;
  transition: padding .4s var(--ease), font-size .4s var(--ease);
}
nav.scrolled .nav-book { font-size: .75rem; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--deep);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: 'Roboto Serif', serif; font-size: 2rem; color: var(--white); transition: color .2s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 24px; right: 28px; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* PAGE HERO (listing & content pages) */
.page-hero { padding-top: var(--nav-expanded-h); background: var(--deep); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--page-hero-image); background-size: cover; background-position: center; opacity: .18; }
.page-hero-inner { position: relative; z-index: 1; padding: 72px 0 64px; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p { color: var(--white); max-width: 560px; margin: 0 auto 28px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.breadcrumb a { color: var(--white); transition: color .2s; }
.breadcrumb a:hover, .breadcrumb .active { color: var(--gold); }

/* FOOTER */
footer { background: var(--deep); color: var(--white); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; margin-bottom: 60px; }
.footer-logo { display: block; width: 132px; height: auto; }
.footer-brand p { color: var(--white); font-size: .88rem; max-width: 300px; margin: 16px 0 24px; }
.footer-social { display: flex; gap: 12px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; color: var(--white); transition: all .25s; }
.social-link svg { width: 18px; height: 18px; display: block; }
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.footer-col h5 { font-family: 'Google Sans Flex', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: var(--white); transition: color .25s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact li { font-size: .85rem; color: var(--white); margin-bottom: 12px; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: .78rem; color: var(--white); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .78rem; color: var(--white); transition: color .25s; }
.footer-links a:hover { color: var(--white); }

/* REVEAL ANIMATION — visible by default, animated when JS adds .js-reveal */
.reveal { opacity: 1; transform: none; }
.js-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media(max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  html { font-size: 18px; }
  :root {
    --nav-h: 68px;
    --nav-expanded-h: 84px;
    --nav-logo-h: 48px;
    --nav-logo-expanded-h: 62px;
  }
  .nav-links, .nav-book { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
