:root {
  --primary: #175cff;
  --accent: #ffcb05;
  --background: #f8f9fa;
  --text: #222;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--background);
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

/* HEADER */
header {
  background: var(--primary);
  color: white;
  padding: 32px 0 18px 0;
  text-align: center;
}
header h1 {
  margin: 0 0 10px 0;
  font-size: 2.6em;
  font-weight: 700;
  letter-spacing: -1px;
}
header p {
  margin: 0;
  font-size: 1.13em;
  font-weight: 400;
}

/* NAVIGATION */
nav {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 99;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 1rem;
  position: relative;
}
.nav-logo {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.15em;
  letter-spacing: 0.5px;
  display: none; /* Set to block if you want a logo or text at left */
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  padding: 0.3em 0;
  transition: color 0.18s;
}
.nav-links a.don-btn {
  color: var(--accent);
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

/* Hamburger Icon */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 0.5rem;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero {
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.22);
  padding: 100px 0 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.8em;
  margin: 0 0 20px 0;
  font-weight: 700;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.35em;
  margin: 0;
}
.cta {
  background: var(--accent);
  color: var(--primary);
  display: inline-block;
  padding: 1rem 2.1rem;
  border-radius: 40px;
  margin-top: 32px;
  font-size: 1.15em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(255,203,5,0.09);
  transition: background 0.2s;
}
.cta:hover,
.cta:focus {
  background: #ffe57f;
}

/* THEMES SECTION */
.themes-section {
  max-width: 1000px;
  margin: 60px auto 0 auto;
  padding: 0 1rem;
}
.themes-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: 700;
  color: var(--primary);
}
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}
.theme-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(23,92,255,0.05);
  transition: transform 0.22s;
  text-decoration: none;
  color: inherit;
}
.theme-card:hover,
.theme-card:focus {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 6px 30px rgba(23,92,255,0.09);
}
.theme-card img {
  width: 100%; height: 160px; object-fit: cover;
}
.theme-card h3 {
  margin: 18px 18px 0 18px;
  font-size: 1.22em;
  font-weight: 700;
}
.theme-card p {
  margin: 12px 18px 22px 18px;
  color: #555;
  font-size: 1em;
}

/* THEME DETAIL PAGE */
.theme-detail-header {
  position: relative;
  width: 100%;
  height: 220px;
  background: #e3e8fa;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-bottom: 32px;
}
.theme-detail-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  position: absolute;
  top: 0; left: 0;
}
.theme-detail-header .theme-title {
  position: relative;
  z-index: 2;
  color: white;
  margin: 0 0 34px 30px;
  font-size: 2.1em;
  font-weight: bold;
  text-shadow: 0 2px 16px rgba(0,0,0,0.24);
}
.theme-detail-content {
  max-width: 800px;
  margin: 0 auto 40px auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px 16px;
  box-shadow: 0 4px 24px rgba(23,92,255,0.07);
}
.theme-detail-content h2 {
  margin-top: 0;
  color: var(--primary);
}
.theme-detail-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}
.theme-detail-media img,
.theme-detail-media video,
.theme-detail-media iframe {
  border-radius: 10px;
  max-width: 100%;
  box-shadow: 0 4px 20px rgba(23,92,255,0.04);
}

/* FOOTER */
footer {
  background: #1a1a1a;
  color: #eee;
  text-align: center;
  padding: 24px 0;
  margin-top: 60px;
  font-size: 1em;
  letter-spacing: 0.02em;
}

/* -------- MOBILE STYLES -------- */
@media (max-width: 700px) {
  header {
    padding: 18px 0 12px 0;
  }
  header h1 {
    font-size: 1.5em;
  }
  .hero {
    padding: 50px 0 28px 0;
  }
  .hero h1 {
    font-size: 1.15em;
  }
  .hero p {
    font-size: 1em;
  }
  .cta {
    padding: 0.8rem 1.4rem;
    font-size: 1em;
    margin-top: 18px;
  }
  .themes-section {
    margin-top: 30px;
    padding: 0 4vw;
  }
  .themes-section h2 {
    font-size: 1.15em;
  }
  .themes-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .theme-card h3 {
    font-size: 1em;
    margin-top: 12px;
  }
  .theme-detail-header {
    height: 110px;
    margin-bottom: 16px;
  }
  .theme-detail-header .theme-title {
    font-size: 1em;
    margin-left: 12px;
    margin-bottom: 8px;
  }
  .theme-detail-content {
    padding: 10px 3px;
    border-radius: 8px;
  }
  .theme-detail-media {
    gap: 10px;
  }
  /* --- Responsive navigation --- */
  .nav-container {
    padding: 0.7rem 1rem 0.7rem 1rem;
  }
  .nav-logo {
    font-size: 1em;
    display: block; /* Show if you want a logo */
  }
  .nav-links {
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1.3rem 1rem 0.5rem 1.3rem;
    display: none;
    box-shadow: 0 8px 24px rgba(23,92,255,0.11);
    border-radius: 0 0 16px 16px;
    z-index: 150;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1em;
    font-weight: 600;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #f0f3fa;
    margin: 0;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-toggle {
    display: flex;
  }
}

a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
