:root {
  --bg: #ffffff;
  --surface: #f2f4fb;
  --surface-2: #e6eaff;
  --text: #1a1a3e;
  --text-muted: #5a6080;
  --blue: #00d2ff;
  --blue-dark: #00a8cc;
  --blue-light: #66e0ff;
  --pink: #f0149b;
  --pink-light: #f548b0;
  --yellow: #fffc04;
  --yellow-dark: #ccca00;
  --navy: #1a1a3e;
  --border: rgba(0, 210, 255, 0.18);
  --nav-h: 70px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  padding-top: var(--nav-h);
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: normal;
  line-height: 1.2;
}

img { max-width: 100%; height: auto; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0, 210, 255, 0.07);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 62px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
}

.nav-item > a {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 0.8rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
  border-bottom: 3px solid transparent;
}

.nav-item > a:hover,
.nav-item.active > a {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* Dropdowns */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  min-width: 240px;
  list-style: none;
  padding: 0.4rem 0;
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.1);
}

.has-dropdown:hover .dropdown { display: block; }

.dropdown li a {
  display: block;
  padding: 0.6rem 1.3rem;
  color: var(--navy);
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.dropdown li a:hover {
  background: var(--surface);
  color: var(--blue);
}

/* 3rd level submenu */
.has-submenu { position: relative; }

.has-submenu > a {
  padding-right: 2.2rem !important;
  position: relative;
}

.has-submenu > a::after {
  content: '›';
  position: absolute;
  right: 1rem;
  opacity: 0.4;
}

.submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -0.4rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--pink);
  min-width: 240px;
  list-style: none;
  padding: 0.4rem 0;
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.1);
}

.has-submenu:hover .submenu { display: block; }

/* 4th level subsubmenu */
.has-subsubmenu { position: relative; }

.has-subsubmenu > a {
  padding-right: 2.2rem !important;
  position: relative;
}

.has-subsubmenu > a::after {
  content: '›';
  position: absolute;
  right: 1rem;
  opacity: 0.4;
}

.subsubmenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -0.4rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--yellow-dark);
  min-width: 200px;
  list-style: none;
  padding: 0.4rem 0;
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.1);
}

.has-subsubmenu:hover .subsubmenu { display: block; }

/* ===== HERO (homepage) ===== */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240, 20, 155, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 210, 255, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(255, 252, 4, 0.07) 0%, transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 99px,
    rgba(255, 255, 255, 0.015) 100px
  );
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(255, 252, 4, 0.4);
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-style: italic;
  font-family: Georgia, serif;
}

.hero-logo {
  height: 280px;
  width: auto;
  display: block;
  margin: 0 auto 2.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  font-weight: bold;
}

.btn-primary:hover {
  background: var(--yellow-dark);
  color: var(--navy);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--blue);
  color: #ffffff;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.35; }

.page-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: 0.25rem 0.8rem;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--navy);
}

/* ===== CONTENT SECTIONS ===== */
.section { padding: 4rem 0; }

.section-title {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--blue);
  margin-top: 0.8rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
  color: var(--text);
}

.card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.1);
  color: var(--text);
}

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.8rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-arrow {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Content block (leaf pages) */
.content-block { max-width: 780px; }

.content-block h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  color: var(--navy);
}

.content-block h2:first-child { margin-top: 0; }

.content-block p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.placeholder-notice {
  background: rgba(255, 252, 4, 0.1);
  border: 1px dashed rgba(204, 202, 0, 0.5);
  border-left: 3px solid var(--yellow-dark);
  padding: 1.2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.placeholder-notice strong {
  color: var(--yellow-dark);
  font-style: normal;
}

.placeholder-notice code {
  font-family: monospace;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1em 0.4em;
  font-style: normal;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* News/events */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  border-bottom: 2px solid var(--border);
  padding-bottom: 2rem;
}

.news-date {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.news-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--navy); }
.news-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  appearance: auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.08);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-info strong { color: var(--navy); font-weight: bold; }

/* ===== ENTRY BLOCKS ===== */
.entry {
  border-left: 3px solid var(--blue);
  padding: 0 0 2rem 1.8rem;
  margin-bottom: 2.5rem;
}

.entry:last-child { padding-bottom: 0; margin-bottom: 0; }

.entry-meta {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.entry h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.entry h3 em {
  font-style: italic;
  color: var(--navy);
}

.entry p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.entry-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: 0.8rem;
}

.entry .entry-price {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--yellow);
  padding: 0.25rem 0.7rem;
  font-weight: bold;
}

/* Info list */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1.2rem;
}

.info-list li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

/* Schedule */
.schedule {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.3rem 1rem;
  margin: 0.8rem 0 1.2rem;
  font-size: 0.9rem;
}

.schedule dt { color: var(--blue); font-weight: bold; }
.schedule dd { color: var(--text-muted); }

/* Alert */
.alert {
  background: rgba(255, 252, 4, 0.1);
  border: 1px solid rgba(204, 202, 0, 0.35);
  border-left: 4px solid var(--yellow-dark);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.alert strong { color: var(--navy); }

/* Bio block */
.bio-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--pink);
  padding: 1.5rem;
  margin-top: 1rem;
}

.bio-block h4 {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.8rem;
  font-family: inherit;
  font-weight: bold;
}

.bio-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  border-top: 4px solid var(--blue);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-brand p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); }

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.social-link {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  padding: 0.3rem 0.8rem;
  border: 1px solid transparent;
}

.social-link:hover {
  color: var(--yellow);
  border-color: rgba(255, 252, 4, 0.4);
}

.footer-copy {
  text-align: right;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    overflow-y: auto;
    padding: 0.5rem 0 3rem;
    height: auto;
    z-index: 999;
    border-top: 1px solid var(--border);
  }

  .nav-menu.open { display: flex; }

  .nav-item { width: 100%; }

  .nav-item > a {
    height: auto;
    padding: 0.9rem 2rem;
    border-bottom: 1px solid var(--border);
    border-left: none;
    width: 100%;
  }

  .dropdown {
    position: static;
    display: block;
    background: var(--surface);
    border: none;
    border-left: 3px solid var(--blue);
    margin-left: 2rem;
    box-shadow: none;
    min-width: 0;
  }

  .submenu {
    position: static;
    display: block;
    background: var(--surface-2);
    border: none;
    border-left: 2px solid rgba(240, 20, 155, 0.5);
    margin-left: 1.5rem;
    box-shadow: none;
    min-width: 0;
    padding: 0;
  }

  .has-submenu > a::after { display: none; }

  .subsubmenu {
    position: static;
    display: block;
    background: var(--surface-2);
    border: none;
    border-left: 2px solid rgba(204, 202, 0, 0.5);
    margin-left: 1.5rem;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }

  .has-subsubmenu > a::after { display: none; }

  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-social { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .btn-outline { margin-left: 0; margin-top: 0.8rem; display: block; text-align: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}
