/* ─── 1. THEME TOKENS ────────────────────────────────────────────── */

/* Default theme – Concept 3: “Graphs & Networks (Modern & Bold)” */
:root {
  /* brand palette */
  --c-bg:            #FAFAFA;   /* Off‑white background */
  --c-text:          #33334D;   /* Deep navy text */
  --c-primary:       #6A0DAD;   /* Bold purple */
  --c-primary-hover: #580b9b;   /* Slightly darker purple for hovers */
  --c-accent-1:      #00B3E6;   /* Aqua blue */
  --c-accent-2:      #FF914D;   /* Zesty orange */

  /* neutrals & surfaces */
  --c-surface:       #F4F4F4;   /* light card background */
  --c-footer-bg:     #33334D;   /* reuse text colour for footer background */
  --c-footer-text:   #FFFFFF;   /* footer foreground */

  /* shared radii / spacing (optional) */
  --radius-sm: 5px;
  --radius-md: 8px;
}

/* Example of an alternate (light‑blue) theme – just swap the class */
.theme-sky {
  --c-bg:            #FFFFFF;
  --c-text:          #1F2937;
  --c-primary:       #0EA5E9;
  --c-primary-hover: #0284C7;
  --c-accent-1:      #14B8A6;
  --c-accent-2:      #F97316;
  --c-surface:       #F1F5F9;
  --c-footer-bg:     #1E3A8A;
  --c-footer-text:   #FFFFFF;
}

/* ─── Theme: Playful Pathways (Warm & Inviting) ───────────────────── */
.theme-playful {
  --c-bg:            #F5F2E7;  /* Soft cream */
  --c-text:          #3C3C3C;  /* Dark charcoal */
  --c-primary:       #FF6F61;  /* Vibrant coral */
  --c-primary-hover: #e25b4e;  /* Slightly darker coral */
  --c-accent-1:      #3A8580;  /* Deep teal */
  --c-accent-2:      #F9DC5C;  /* Sun-kissed yellow */
  --c-surface:       #FAF4E9;  /* Light cream for cards */
  --c-footer-bg:     #3C3C3C;  /* Dark charcoal */
  --c-footer-text:   #FFFFFF;  /* White text */
}

/* ─── Theme: Taste Map (Natural & Earthy) ───────────────────────── */
.theme-taste-map {
  --c-bg:            #EDE0CF;  /* Soft clay */
  --c-text:          #2E2D2B;  /* Dark cocoa */
  --c-primary:       #E27D60;  /* Warm terracotta */
  --c-primary-hover: #cc6c4f;  /* Slightly darker terracotta */
  --c-accent-1:      #77BFA3;  /* Sage green */
  --c-accent-2:      #8C4966;  /* Rich plum */
  --c-surface:       #E4D3BF;  /* Light clay for cards */
  --c-footer-bg:     #2E2D2B;  /* Dark cocoa */
  --c-footer-text:   #FFFFFF;  /* White text */

  --c-font-family: 'Poppins, Nunito, Quicksand, sans-serif';
}

/* ─── 2. GENERAL RESET + TYPOGRAPHY ─────────────────────────────── */

body,
h1, h2, h3, h4, p, ul {
  margin: 0;
  padding: 0;
}

body {
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  font-family: var(--c-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
  line-height: 1.6;
  background-color: var(--c-bg);
  color: var(--c-text);
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── 3. HEADER & NAVIGATION ────────────────────────────────────── */

header {
  background-color: var(--c-primary);
  color: #FFFFFF;
  padding: 20px 0;
}

#header-logo {
  width: 32px;
  height: 32px;
}

#hero-logo {
  width: 248px;
  height: 248px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
}

.logo {
  font-size: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

/* ─── 4. HERO SECTION ───────────────────────────────────────────── */

.hero {
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ─── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--c-primary);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}

.btn:hover,
.btn:focus {
  background-color: var(--c-primary-hover);
}

/* ─── 5. FEATURES SECTION ───────────────────────────────────────── */

.features {
  padding: 60px 0;
  text-align: center;
}

.features h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  flex: 1 1 250px;
  padding: 20px;
  background-color: var(--c-surface);
  border-radius: var(--radius-md);
}

/* ─── 6. SCREENSHOTS SECTION ───────────────────────────────────── */

.screenshots {
  padding: 60px 0;
  text-align: center;
}

.screenshots h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.screenshot-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-gallery img {
  width: 200px;
  height: 400px;
  background-color: #DDD;               /* neutral placeholder */
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* ─── 7. DOWNLOAD SECTION ──────────────────────────────────────── */

.download {
  padding: 60px 0;
  text-align: center;
}

.download h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.download-buttons .btn {
  margin: 10px;
}

/* ─── 8. FOOTER ───────────────────────────────────────────────── */

footer {
  background-color: var(--c-footer-bg);
  color: var(--c-footer-text);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* ─── 9. RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 768px) {
  nav,
  .feature-list,
  .screenshot-gallery {
    flex-direction: column;
  }

  .hero {
    padding: 60px 0;
  }

  .screenshot-gallery img {
    width: 80%;
    height: auto;
  }
}
