/* ============================================
   Casa Sambuco — Design Tokens
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colour palette */
  --sacred-blue:   #5F86C8;
  --aged-fig:      #6B5961;
  --celestial-blue:#7FA6D9;
  --cloud-lilac:   #A79AA3;
  --fresco-rose:   #C99692;
  --ochre:         #CBB56E;
  --stone-moss:    #8F9784;
  --cream:         #F5F2ED;
  --off-white:     #FAF8F5;

  /* Typography */
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --radius: 6px;
  --nav-h:  64px;
  --shadow: 0 2px 12px rgba(107, 89, 97, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--aged-fig);
  background: var(--off-white);
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 100;
  border-bottom: 1px solid rgba(167, 154, 163, 0.15);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--aged-fig);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--aged-fig);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s;
  position: relative;
}

.nav-links a:hover { color: var(--fresco-rose); }

.nav-links a.active { color: var(--fresco-rose); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0.75rem; right: 0.75rem;
  height: 2px;
  background: var(--fresco-rose);
  border-radius: 1px;
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff !important;
  background: var(--fresco-rose);
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-align: center;
  white-space: nowrap;
}

.btn:hover { background: #b8817d; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-secondary {
  background: var(--stone-moss);
}
.btn-secondary:hover { background: #7a8570; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--aged-fig);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================
   Page wrapper
   ============================================ */
.page-body { padding-top: var(--nav-h); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--aged-fig);
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: 0.7;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(107, 89, 97, 0.75) 0%,
    rgba(107, 89, 97, 0.15) 55%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2.5rem;
  color: #fff;
  max-width: 700px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

/* ============================================
   Section helpers
   ============================================ */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fresco-rose);
  margin-bottom: 0.75rem;
}

/* ============================================
   Stats bar (Home)
   ============================================ */
.stats-bar {
  background: var(--cream);
  border-bottom: 1px solid rgba(167, 154, 163, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(167, 154, 163, 0.2);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--aged-fig);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--cloud-lilac);
  margin-top: 0.15rem;
}

/* stat colour accents */
.stat-item:nth-child(1) .stat-value { color: var(--cloud-lilac); }
.stat-item:nth-child(2) .stat-value { color: var(--sacred-blue); }
.stat-item:nth-child(3) .stat-value { color: var(--stone-moss); }
.stat-item:nth-child(4) .stat-value { color: var(--ochre); }

/* ============================================
   Intro section (Home)
   ============================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.intro-text {
  grid-column: 1;
  padding-right: 1rem;
}

.intro-text h2 {
  font-size: 1.85rem;
  color: var(--aged-fig);
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 0.95rem;
  color: #7a6a72;
  line-height: 1.75;
}

.intro-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  background: var(--aged-fig);
}

.intro-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}

.intro-card:hover img { opacity: 1; transform: scale(1.02); }

.intro-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(107,89,97,0.85), transparent);
  color: #fff;
}

.intro-card-label strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
}

.intro-card-label span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ============================================
   Page hero (inner pages)
   ============================================ */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.page-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  background: var(--stone-moss);
  color: #fff;
}

.page-hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.page-hero-text p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.page-hero-text .sub {
  font-size: 0.9rem;
  opacity: 0.7;
}

.page-hero-img {
  position: relative;
  overflow: hidden;
}

.page-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Aged Fig variant */
.page-hero-text.aged-fig { background: var(--aged-fig); }
.page-hero-text.celestial-blue { background: var(--celestial-blue); }
.page-hero-text.cloud-lilac { background: var(--cloud-lilac); }
.page-hero-text.fresco-rose-bg { background: var(--fresco-rose); }

/* ============================================
   Card grid (Zimmer)
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.room-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.room-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cloud-lilac);
}

.room-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.room-card:hover .room-card-img img { transform: scale(1.04); }

.room-card-body {
  padding: 1rem 1.25rem;
}

.room-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--aged-fig);
  margin-bottom: 0.25rem;
}

.room-card-body p {
  font-size: 0.825rem;
  color: var(--cloud-lilac);
}

/* ============================================
   Lage cards
   ============================================ */
.lage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.lage-card {
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.lage-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.lage-card p { font-size: 0.9rem; line-height: 1.65; }

.lage-card.stone  { background: var(--stone-moss); color: #fff; }
.lage-card.ochre  { background: var(--ochre); color: var(--aged-fig); }
.lage-card.lilac  { background: var(--cloud-lilac); color: #fff; }
.lage-card.stone h3, .lage-card.lilac h3 { color: rgba(255,255,255,0.9); }
.lage-card.stone p,  .lage-card.lilac p  { opacity: 0.85; }

/* ============================================
   Patricia Highsmith page
   ============================================ */
.highsmith-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.highsmith-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.highsmith-photo-main {
  grid-column: span 2;
}

.highsmith-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
}

.highsmith-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.photo-caption {
  font-size: 0.75rem;
  color: var(--cloud-lilac);
  text-align: center;
  padding: 0.4rem;
}

/* ============================================
   Gästeinfo
   ============================================ */
.gaeste-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--nav-h));
}

.gaeste-image {
  position: relative;
  overflow: hidden;
  background: var(--aged-fig);
}

.gaeste-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.gaeste-content {
  display: flex;
  align-items: flex-start;
  padding: 4rem 3rem;
}

.gaeste-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  width: 100%;
}

.gaeste-card h2 {
  font-size: 1.5rem;
  color: var(--aged-fig);
  margin-bottom: 0.5rem;
}

.gaeste-card p {
  font-size: 0.9rem;
  color: var(--cloud-lilac);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.gaeste-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(167, 154, 163, 0.25);
}

.faq-q {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fresco-rose);
  line-height: 1.5;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--aged-fig);
  line-height: 1.65;
}

.faq-placeholder { color: var(--cloud-lilac); font-style: italic; }

.further-questions {
  background: var(--ochre);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 3rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.further-questions h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--aged-fig);
  margin-bottom: 0.5rem;
}

.further-questions p {
  font-size: 0.875rem;
  color: var(--aged-fig);
  font-style: italic;
  opacity: 0.75;
}

/* ============================================
   Page header band (inner pages)
   ============================================ */
.page-band {
  padding: 2rem 2.5rem;
  color: #fff;
}

.page-band h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.page-band.aged-fig-bg  { background: var(--aged-fig); }
.page-band.celestial-bg { background: var(--celestial-blue); }
.page-band.stone-bg     { background: var(--stone-moss); }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--cream);
  border-top: 1px solid rgba(167, 154, 163, 0.2);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--cloud-lilac);
}

/* ============================================
   Placeholder text style
   ============================================ */
.placeholder {
  color: var(--cloud-lilac);
  font-style: italic;
  opacity: 0.7;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-text { grid-column: span 2; padding-right: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .lage-cards { grid-template-columns: 1fr 1fr; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-img { aspect-ratio: 16/7; }
  .highsmith-grid { grid-template-columns: 1fr; }
  .faq-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .gaeste-layout { grid-template-columns: 1fr; }
  .gaeste-image { aspect-ratio: 4/3; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--off-white);
    border-bottom: 1px solid rgba(167,154,163,0.2);
    padding: 1rem 1.5rem;
    gap: 0;
  }
  .nav-links.open a { padding: 0.75rem 0; border-bottom: 1px solid rgba(167,154,163,0.1); }
  .nav-links.open .btn { margin-top: 0.75rem; text-align: center; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .lage-cards { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-text { grid-column: 1; }
  .highsmith-photos { grid-template-columns: 1fr; }
  .highsmith-photo-main { grid-column: 1; }
  .footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
