/* CaféCulture Köln — Design Tokens & Shared Styles
   Palette: Cream dominant + Bordeaux key sections + Gold/Brass accents
*/

:root {
  /* Brand colors */
  --bordeaux: #6B2737;
  --bordeaux-dark: #4A1822;
  --bordeaux-soft: #8C3B4D;
  --gold: #B8893E;
  --gold-bright: #D4A256;
  --gold-soft: #C9A35C;

  /* Neutrals */
  --cream: #F5EFE4;
  --cream-warm: #EDE3CE;
  --cream-deep: #E0D2B6;
  --espresso: #2E1F18;
  --espresso-soft: #4A3528;
  --ink: #1C140F;

  /* Lines & overlays */
  --line-cream: rgba(46, 31, 24, 0.15);
  --line-bordo: rgba(245, 239, 228, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Fraunces', Georgia, serif; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

a { color: inherit; }

/* ============ SOCIAL ICONS ============ */
.social-icons {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--espresso);
  border: 1px solid var(--line-cream);
  transition: all 0.2s;
  text-decoration: none;
}
.social-icons a:hover {
  background: var(--bordeaux);
  color: var(--cream);
  border-color: var(--bordeaux);
}
.social-icons svg { width: 16px; height: 16px; }
/* In bordeaux footer context */
.site-footer .social-icons a {
  color: var(--cream);
  border-color: rgba(245, 239, 228, 0.3);
}
.site-footer .social-icons a:hover {
  background: var(--gold);
  color: var(--bordeaux-dark);
  border-color: var(--gold);
}

/* ============ NAV ============ */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 228, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-cream);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}
.nav-logo img {
  display: block;
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  color: var(--espresso);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--bordeaux); }
.nav-cta {
  background: var(--bordeaux);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--bordeaux-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--espresso);
  margin: 5px 0;
  transition: 0.3s;
}

/* ============ BUTTONS ============ */
.btn-primary {
  background: var(--bordeaux);
  color: var(--cream);
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--bordeaux-dark); transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--espresso);
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost {
  color: var(--espresso);
  padding: 16px 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--espresso);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover { color: var(--bordeaux); border-color: var(--bordeaux); }

/* ============ EYEBROW ============ */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.no-line::before { display: none; }

/* ============ HEADINGS ============ */
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; }
h1.display {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
h1.display em { font-style: italic; font-weight: 400; color: var(--gold-bright); }
h2.section {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--espresso);
}
h2.section em { font-style: italic; color: var(--bordeaux); font-weight: 400; }

/* ============ SECTIONS ============ */
section { padding: 100px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head h2 { max-width: 640px; }
.section-head a.see-all {
  color: var(--espresso);
  text-decoration: none;
  border-bottom: 1px solid var(--espresso);
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.section-head a.see-all:hover { color: var(--bordeaux); border-color: var(--bordeaux); }

/* On bordeaux background */
.on-bordeaux {
  background: var(--bordeaux);
  color: var(--cream);
}
.on-bordeaux h2.section { color: var(--cream); }
.on-bordeaux h2.section em { color: var(--gold-bright); }
.on-bordeaux .eyebrow { color: var(--gold-bright); }
.on-bordeaux .eyebrow::before { background: var(--gold-bright); }
.on-bordeaux .section-head a.see-all { color: var(--cream); border-color: var(--cream); }
.on-bordeaux .section-head a.see-all:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ============ FOOTER ============ */
footer.site-footer {
  background: var(--bordeaux-dark);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 20px;
  filter: brightness(0) saturate(100%) invert(95%) sepia(8%) saturate(369%) hue-rotate(8deg) brightness(102%) contrast(92%);
}
.footer-tag { color: rgba(245, 239, 228, 0.7); font-size: 14px; max-width: 320px; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.footer-col a, .footer-col p {
  color: rgba(245, 239, 228, 0.75);
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  line-height: 1.65;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-bordo);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(245, 239, 228, 0.45);
  flex-wrap: wrap;
  gap: 12px;
  letter-spacing: 0.04em;
}

/* ============ FORMS ============ */
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
  color: var(--espresso-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--line-cream);
  background: var(--cream);
  padding: 14px 16px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  color: var(--espresso);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(46, 22, 31, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  background: var(--bordeaux-dark);
  transform: scale(0.95);
  transition: transform 0.35s ease;
}
.lightbox.open .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 239, 228, 0.15);
  border: 1px solid rgba(245, 239, 228, 0.2);
  color: var(--cream);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.lightbox-close:hover {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
  transform: rotate(90deg);
}
.lightbox-caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(245, 239, 228, 0.85);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  text-align: center;
  max-width: 90vw;
  background: rgba(46, 22, 31, 0.6);
  padding: 8px 18px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.lightbox-caption:empty { display: none; }

/* Cursor on lightbox-eligible images */
.gallery-item img,
.about-img img,
.menu-card-img img,
.menu-row-thumb img,
.detail-card-img img,
.fund-img img,
.hero-visual img {
  cursor: zoom-in;
}

/* ============ UTILITIES ============ */
.divider-gold {
  height: 1px;
  background: var(--gold);
  width: 60px;
  margin: 16px 0;
}
.fade-up { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px 32px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    gap: 20px;
    margin: 0;
    border-bottom: 1px solid var(--line-cream);
  }
  .form-row { grid-template-columns: 1fr; }
}
