:root {
  --red: #e63946;
  --yellow: #f7c948;
  --blue: #1d4ed8;
  --dark: #0b1b2b;
  --light: #f5f7fb;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--light);
  color: #1c1c1c;
  line-height: 1.6;
}

.slide-in-banner {
  max-width: var(--max-width);
  margin: 1rem auto 0;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(63, 187, 102, 0.08));
  border: 1px solid rgba(29, 78, 216, 0.15);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  transform: translateX(-18px);
  opacity: 0;
  animation: slideInBanner 0.9s ease-out forwards;
}

.slide-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: white;
  box-shadow: inset 0 0 0 2px rgba(247, 201, 72, 0.4);
  font-size: 1.25rem;
}

.slide-copy {
  display: grid;
  gap: 0.15rem;
}

.slide-title {
  font-weight: 800;
  color: #0b1b2b;
}

.slide-detail a {
  color: var(--blue);
  font-weight: 700;
}

.slide-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slide-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

@keyframes slideInBanner {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

a:hover {
  color: var(--blue);
}

header {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--red);
}

.logo span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(29, 78, 216, 0.1);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 1.25rem;
}

.hero .text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.hero .text p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.tagline {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(120deg, var(--red), var(--yellow));
  color: #0b1b2b;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0.75rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.hero img,
.banner img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.announcement-slider {
  padding-top: 0;
}

.announcement-slide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(29, 78, 216, 0.06);
}

.badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.badge-green {
  background: rgba(63, 187, 102, 0.15);
  color: #1f9d5f;
}

.badge-outline {
  border: 1px solid rgba(29, 78, 216, 0.3);
  background: transparent;
  color: #1d4ed8;
}

.slide-text h2 {
  margin: 0.75rem 0 0.5rem;
}

.slide-text p {
  margin-top: 0;
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
  color: #0b1b2b;
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #5b6a82;
  font-weight: 700;
}

.value {
  font-weight: 700;
  color: #0b1b2b;
}

.slide-visual {
  display: grid;
  place-items: center;
}

.neon-frame {
  width: 100%;
  border-radius: 16px;
  padding: 1.25rem;
  background: radial-gradient(circle at 20% 20%, rgba(63, 187, 102, 0.15), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(247, 201, 72, 0.25), transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(29, 78, 216, 0.2), transparent 45%),
    linear-gradient(135deg, #0b1b2b, #162c45 60%, #0b1b2b);
  color: #e5edff;
  position: relative;
  box-shadow: 0 15px 45px rgba(11, 27, 43, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.time-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.time-block .date {
  font-size: 1.6rem;
  color: #f7c948;
}

.time-block .time {
  color: #8ae4b6;
}

.headline {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}

.neon-frame ul {
  padding-left: 1.1rem;
  margin: 0 0 0.5rem;
}

.neon-frame li {
  margin: 0.15rem 0;
  color: #d4e4ff;
}

.sparkle {
  position: absolute;
  bottom: 12px;
  right: 16px;
  color: #8ae4b6;
  font-size: 1.4rem;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.section h2 {
  margin-bottom: 0.5rem;
  font-size: 1.9rem;
}

.section p {
  margin-top: 0;
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.preview-strip img {
  width: 100%;
  border-radius: 10px;
  height: 120px;
  object-fit: cover;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(0, 0, 0, 0.03);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  cursor: pointer;
  height: 200px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.modal.open {
  display: flex;
}

.modal .close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.modal img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.table-wrapper {
  overflow-x: auto;
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 0.75rem;
  border-bottom: 1px solid #ececec;
  text-align: left;
}

table th {
  color: var(--blue);
  font-weight: 800;
}

.hours-note {
  margin: 0.75rem 0 0;
  color: #444;
  font-weight: 600;
}

.form {
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.inline-form {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: end;
}

.form label {
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  font-size: 1rem;
}

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

.footer {
  background: #0b1b2b;
  color: #dfe6f1;
  padding: 1.25rem;
  text-align: center;
  margin-top: 3rem;
}

.banner {
  margin: 0 auto 2rem;
  max-width: var(--max-width);
  padding: 0 1.25rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 768px) {
  .slide-in-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.35rem;
  }

  .slide-icon {
    justify-self: center;
  }

  .slide-action {
    justify-self: center;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 1rem;
    background: white;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
  }

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

  .menu-toggle {
    display: block;
  }
}
