/* ============================================================
   SHARED.CSS — Design-tokens, reset en gedeelde componenten
   Gebruikt door: index.html en menu.html
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --red:          #A0182A;
  --red-dark:     #6B0F1A;
  --red-glow:     #C41E3A;
  --gold:         #D4A017;
  --gold-light:   #E8C547;
  --gold-dark:    #9A7510;
  --bg:           #0D0906;
  --bg-card:      #130C07;
  --bg-el:        #1E1409;
  --bg-raised:    #271A0B;
  --text:         #F5F0E8;
  --text-dim:     #9A8060;
  --text-faint:   #5A4830;
  --border:       rgba(212, 160, 23, 0.12);
  --border-red:   rgba(160, 24, 42, 0.25);
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --shadow-sm:    0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow:       0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-red:   0 12px 40px rgba(160, 24, 42, 0.4);
  --shadow-gold:  0 12px 40px rgba(212, 160, 23, 0.2);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
}

a    { color: inherit; }
button { cursor: pointer; font-family: inherit; }
img  { display: block; max-width: 100%; }

/* ===== GRAIN TEXTURE ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar            { width: 5px; }
::-webkit-scrollbar-track      { background: var(--bg); }
::-webkit-scrollbar-thumb      { background: var(--red-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover{ background: var(--red); }
::selection                    { background: rgba(160, 24, 42, 0.35); color: var(--text); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.125rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition:
    transform    0.18s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow   0.2s,
    background   0.2s;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) !important; }

.btn-red {
  background: var(--red);
  color: white;
  border: 2px solid var(--red);
}
.btn-red:hover {
  background: var(--red-glow);
  border-color: var(--red-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(212, 160, 23, 0.55);
}
.btn-gold-outline:hover {
  background: rgba(212, 160, 23, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(212, 160, 23, 0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ===== SECTION COMMONS ===== */
.section       { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.75;
}
.section-head { margin-bottom: 3.5rem; }

.divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.25rem 0 1.5rem;
}

/* ===== NAVBAR (index) ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
#navbar.scrolled {
  background: rgba(13, 9, 6, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.875rem 2.5rem;
  box-shadow: 0 1px 0 rgba(212, 160, 23, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.025em;
}
.nav-logo span { font-style: italic; color: var(--text); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.375rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--red-glow);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}
.nav-cta:active { transform: translateY(0); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 6, 3, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-nav.open { display: flex; opacity: 1; }
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .tel-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  border: 1px solid rgba(212, 160, 23, 0.3);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta    { display: none; }
  .hamburger  { display: flex; }
}

/* ===== FOOTER (index) ===== */
footer {
  background: #080504;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 2rem 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.f-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.f-tagline  { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }
.f-score    { margin-top: 1.5rem; font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.04em; }

.f-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.375rem;
}
.f-links       { list-style: none; }
.f-links li    { margin-bottom: 0.75rem; }
.f-links a {
  color: rgba(245, 240, 232, 0.62);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.f-links a:hover { color: var(--gold); }

.f-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  color: rgba(245, 240, 232, 0.62);
  font-size: 0.9rem;
}
.f-contact-row a { color: inherit; text-decoration: none; transition: color 0.2s; }
.f-contact-row a:hover { color: var(--gold); }

.f-social {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.55rem 1.125rem;
  border-radius: 50px;
  color: rgba(245, 240, 232, 0.62);
  text-decoration: none;
  font-size: 0.875rem;
  margin-top: 0.875rem;
  transition: border-color 0.2s, color 0.2s;
}
.f-social:hover { border-color: rgba(212, 160, 23, 0.4); color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal-links { display: flex; gap: 1.75rem; }

/* ===== COOKIE BANNER ===== */
#cookie-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  background: var(--bg-raised);
  border: 1px solid rgba(212, 160, 23, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.875rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 720px;
  width: calc(100% - 2rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-wrap: wrap;
}
.cookie-txt {
  flex: 1;
  min-width: 220px;
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.55;
}
.cookie-txt a { color: var(--gold); text-decoration: underline; }
.cookie-btns  { display: flex; gap: 0.75rem; flex-shrink: 0; }

.btn-ck-yes {
  background: var(--red);
  color: white;
  border: none;
  padding: 0.6rem 1.375rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-ck-yes:hover { background: var(--red-glow); }

.btn-ck-no {
  background: transparent;
  color: rgba(245, 240, 232, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.6rem 1.375rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ck-no:hover { border-color: rgba(255, 255, 255, 0.28); color: white; }

/* ===== MODALS ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--bg-raised);
  border: 1px solid rgba(212, 160, 23, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  max-width: 600px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  position: relative;
}
.modal-box::-webkit-scrollbar       { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 2px; }

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  border-radius: 50%;
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.14); }

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.75rem;
  padding-right: 2.5rem;
}
.modal-body          { font-size: 0.9rem; color: rgba(245, 240, 232, 0.78); line-height: 1.85; }
.modal-body p        { margin-bottom: 1rem; }
.modal-body strong   { color: var(--gold); }
.modal-note {
  font-style: italic;
  color: rgba(212, 160, 23, 0.7);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ===== FLOATING CALL BUTTON ===== */
#fab-call {
  display: none;
  position: fixed;
  bottom: 1.625rem;
  right: 1.625rem;
  z-index: 1500;
  width: 62px;
  height: 62px;
  background: var(--red);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(160, 24, 42, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fab-pulse 2.5s ease-out infinite;
}
#fab-call:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 36px rgba(160, 24, 42, 0.65);
}
@keyframes fab-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(160, 24, 42, 0.55), 0 8px 28px rgba(160, 24, 42, 0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(160, 24, 42, 0),   0 8px 28px rgba(160, 24, 42, 0.55); }
  100% { box-shadow: 0 0 0 0   rgba(160, 24, 42, 0),    0 8px 28px rgba(160, 24, 42, 0.55); }
}
@media (max-width: 900px) { #fab-call { display: flex; } }

/* ===== RESPONSIVE PATCHES ===== */
@media (max-width: 480px) {
  .section    { padding: 4rem 1.25rem; }
  #navbar     { padding: 1rem 1.25rem; }
  #navbar.scrolled { padding: 0.75rem 1.25rem; }
}
