/* ============================================================
   SMAACK — Stylesheet
   Phase 1 Plan 02: Full visual identity
   ============================================================ */

/* ----------------------------------------
   1. CSS CUSTOM PROPERTIES — Light theme
   ---------------------------------------- */
:root {
  /* Colours */
  --bg-primary: #f0f0f0;
  --bg-secondary: #e8e8e8;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-inverse: #f0f0f0;
  --accent: #90c940;
  --accent-hover: #7ab530;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-padding: 5rem 1.5rem;
  --card-radius: 16px;
  --header-height: 72px;
}

/* ----------------------------------------
   2. DARK THEME OVERRIDES
   ---------------------------------------- */
[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #242424;
  --bg-card: #2c2c2c;
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.4);
}

/* ----------------------------------------
   3. RESET & BASE
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

/* ----------------------------------------
   4. HEADER
   ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* ----------------------------------------
   5. LOGO
   ---------------------------------------- */
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ----------------------------------------
   6. THEME TOGGLE
   ---------------------------------------- */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background-color 0.2s;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
}

/* ----------------------------------------
   7. HERO
   ---------------------------------------- */
#hero {
  min-height: 85vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 2rem 1.5rem;
  color: #ffffff;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

/* ----------------------------------------
   8. CARDS SECTION
   ---------------------------------------- */
.cards-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  transition: background-color 0.3s ease;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  box-shadow: 0 4px 16px var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 28px var(--shadow);
}

.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

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

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.18) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.card-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ----------------------------------------
   9. CATERING SECTION
   ---------------------------------------- */
#catering {
  padding: var(--section-padding);
  background: var(--bg-primary);
  text-align: center;
  transition: background-color 0.3s ease;
}

#catering h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.catering-intro,
.catering-subtext {
  max-width: 640px;
  margin: 0 auto 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.bestellijst-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ----------------------------------------
   10. BUTTON
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--accent);
  color: #1a1a1a;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.bestellijst-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 420px;
  text-align: center;
}

/* ----------------------------------------
   11. CONTACT SECTION
   ---------------------------------------- */
#contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  text-align: center;
  transition: background-color 0.3s ease;
}

#contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-intro {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  font-weight: 600;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-value:hover {
  color: var(--accent-hover);
}

/* ----------------------------------------
   12. FOOTER
   ---------------------------------------- */
.site-footer {
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
