/* ============================================================
   IRL Dating — Stylesheet
   Farvepalette: dyb aubergine + varm koral + lys creme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-bg:         #faf7f2;
  --color-surface:    #ffffff;
  --color-primary:    #3d2645;   /* dyb aubergine */
  --color-accent:     #e8614d;   /* varm koral */
  --color-accent-alt: #f0a07a;   /* blød fersken */
  --color-text:       #2a1f2d;
  --color-muted:      #7a6b80;
  --color-border:     #e8e0ec;
  --color-hero-gradient: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(61,38,69,0.08);
  --shadow-md: 0 8px 32px rgba(61,38,69,0.12);
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 400; }

p { color: var(--color-muted); max-width: 62ch; }

/* ---- Layout ---------------------------------------------- */
.container {
  width: min(100%, 1160px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

section { padding-block: clamp(3rem, 8vw, 6rem); }

/* ---- Nav ------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg, rgba(250,247,242,0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav__logo span { color: var(--color-accent); }

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--color-primary); }

.nav__cta {
  background: var(--color-accent);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav__cta:hover {
  background: var(--color-primary) !important;
  transform: translateY(-1px);
}

/* ---- Hero ------------------------------------------------ */
.hero {
  padding-block: clamp(4rem, 12vw, 9rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,97,77,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(61,38,69,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent-alt);
  color: var(--color-primary);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero__title {
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__sub {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

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

.btn--primary:hover { background: #d4503d; }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

/* ---- Section headers ------------------------------------- */
.section-header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* ---- Events grid ----------------------------------------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.event-card__tag {
  background: white;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.event-card__body { padding: 1.25rem; }

.event-card__date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.event-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.event-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-muted);
}

.event-card__price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
}

/* ---- How it works ---------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  counter-increment: steps;
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; }

/* ---- Testimonials ---------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
}

.testimonial__text {
  font-style: italic;
  margin-bottom: 1.25rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.testimonial__author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.testimonial__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ---- CTA Banner ------------------------------------------ */
.cta-banner {
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}

.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-inline: auto; }
.cta-banner .btn--primary { margin-top: 2rem; background: var(--color-accent); }

/* ---- Footer ---------------------------------------------- */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: 3rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.footer__logo span { color: var(--color-accent); }

.footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer__links a:hover { color: var(--color-primary); }

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-muted);
  width: 100%;
}

/* ---- Content pages (about, faq) -------------------------- */
.content-page { max-width: 720px; margin-inline: auto; }

.content-page h1 { margin-bottom: 0.75rem; }
.content-page h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.4rem; }
.content-page p  { margin-bottom: 1rem; color: var(--color-text); max-width: 100%; }

/* ---- FAQ ------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item__question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-item__question::after { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-item__answer { max-height: 400px; }

.faq-item__answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  max-width: 100%;
}

/* ---- Responsive ------------------------------------------ */
@media (max-width: 640px) {
  .nav__links { display: none; }
  .hero__stats { gap: 1.5rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
