/* ============================================================
   MomentVibes – Design System
   Dark, warm, energetic – mobile-first
   ============================================================ */

/* ── Local Fonts (Inter Variable – 1 file, all weights 100–900) ── */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --bg-primary:    #0d0d0f;
  --bg-surface:    #141418;
  --bg-card:       #1a1a20;
  --bg-glass:      rgba(255, 255, 255, 0.04);
  --border-glass:  rgba(255, 255, 255, 0.08);

  /* Exact colors extracted from the logo */
  --accent-orange: #eb4225; /* Red-Orange from the 'M' and sun */
  --accent-gold:   #f4941c; /* Golden Yellow from the 'V' and sun */
  --accent-green:  #596b45; /* Olive Green from the trees and mountains */
  --accent-brown:  #463124; /* Dark Brown from the text */
  --accent-tiktok: #ffffff;
  
  --glow-orange:   rgba(235, 66, 37, 0.30);
  --glow-gold:     rgba(244, 148, 28, 0.25);
  --glow-green:    rgba(89, 107, 69, 0.25);

  --text-primary:  #fdfdfc; /* Slightly warmer white to fit logo */
  --text-muted:    #a09f98; /* Warmer grey */
  --text-subtle:   #6b6a65;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  --in-oklch: ;
}

@supports (background: linear-gradient(in oklch, red, blue)) {
  :root { --in-oklch: in oklch; }
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

/* ── Language switching ──────────────────────────────────── */
:root[lang="de"] .lang-en { display: none !important; }
:root[lang="en"] .lang-de { display: none !important; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 60px;
  background: rgba(13, 13, 15, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-highlight {
  background: linear-gradient(120deg var(--in-oklch), var(--accent-orange), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-img {
  border-radius: 50%; /* Make the logo circular to look nice */
  object-fit: cover;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 4px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-btn.active {
  background: var(--accent-orange);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 1.5rem 4rem;
  overflow: hidden;
}

/* Animated mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255, 107, 53, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(245, 166, 35, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
  animation: meshPulse 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes meshPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
}

.hero-logo {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 12px 32px var(--glow-gold);
  object-fit: cover;
  -webkit-animation: logoFloat 6s ease-in-out infinite;
  animation: logoFloat 6s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.1);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

@-webkit-keyframes logoFloat {
  0%, 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  50%      { -webkit-transform: translate3d(0, -8px, 0); transform: translate3d(0, -8px, 0); }
}

@keyframes logoFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -8px, 0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 10vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.2rem;
  word-break: break-word;
}

.hero-title span {
  background: linear-gradient(135deg var(--in-oklch), var(--accent-orange) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-text {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 56px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition);
  border-radius: inherit;
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.06);
}

.btn:active {
  transform: scale(0.97);
}

/* Instagram – gradient orange */
.btn-instagram {
  background: linear-gradient(135deg var(--in-oklch), #f77737, #fd1d1d 50%, #833ab4);
  color: #fff;
  box-shadow: 0 4px 24px rgba(253, 29, 29, 0.25);
}
.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(247, 119, 55, 0.40);
}

/* TikTok – dark with white text */
.btn-tiktok {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.btn-tiktok:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
}

/* T-Shirt Store – gold accent */
.btn-store {
  background: linear-gradient(135deg var(--in-oklch), var(--accent-gold), #e8930a);
  color: #0d0d0f;
  box-shadow: 0 4px 24px var(--glow-gold);
}
.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.45);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Scroll Fade-In Animation ────────────────────────────── */
.section-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Base ────────────────────────────────────────── */
section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 860px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}

/* ── About Section ───────────────────────────────────────── */
.about {
  background: var(--bg-surface);
}

.about-inner {
  display: grid;
  gap: 2.5rem;
}

.about-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-tag {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: background var(--transition), border-color var(--transition);
}

.about-tag:hover {
  background: var(--glow-green);
  border-color: var(--accent-green);
}

/* ── Events Section ──────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: 0 8px 32px var(--glow-orange);
}

.event-icon {
  font-size: 2rem;
  line-height: 1;
}

.event-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ── FAQ Section ─────────────────────────────────────────── */
.faq {
  background: var(--bg-surface);
}

.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Enable smooth height animation for details */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
}

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

details.faq-item[open] {
  border-color: rgba(255, 107, 53, 0.25);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary:hover {
  color: var(--accent-orange);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}

details.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Smooth height animation via interpolate-size */
@supports (interpolate-size: allow-keywords) {
  details.faq-item .faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }
  details.faq-item[open] .faq-answer {
    height: auto;
  }
}

/* ── Disclaimer Banner ───────────────────────────────────── */
.disclaimer {
  background: linear-gradient(135deg var(--in-oklch), var(--glow-gold), var(--glow-orange));
  border-top: 1px solid rgba(244, 148, 28, 0.2);
  border-bottom: 1px solid rgba(244, 148, 28, 0.2);
  padding: 2rem 1.5rem;
}

.disclaimer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.disclaimer-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.disclaimer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.disclaimer-text strong {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 3rem 1.5rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
}

.footer-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--accent-orange);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg var(--in-oklch), var(--accent-orange), var(--accent-gold));
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* ── Responsive: Tablet ──────────────────────────────────── */
@media (min-width: 600px) {
  .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 600px;
  }

  .btn {
    width: auto;
    flex: 1;
    min-width: 180px;
  }

  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ── Responsive: Desktop ─────────────────────────────────── */
@media (min-width: 900px) {
  .nav {
    padding: 0 3rem;
  }

  section {
    padding: 7rem 3rem;
  }

  .cta-group {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .section-fade { opacity: 1; transform: none; transition: none; }
  .btn          { transition: none; }
  .event-card   { transition: none; }
}
