/* Google Font import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* CSS Variables for easy theming */
:root {
  --color-primary: #0a3d62; /* navy blue */
  --color-primary-hover: #174ea6; /* lighter navy */
  --color-accent: #f9ca24; /* warm yellow */
  --color-bg-header: #0a3d62; /* navy */
  --color-bg-hero: linear-gradient(135deg, #0a3d62 0%, #2e86de 100%);
  --color-text-light: #f4f6f9;
  --color-text-dark: #1f2937;
  --border-radius: 12px;
  --font-family: 'Inter', sans-serif;
}

/* Reset and box-sizing */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: #f9fafb;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background-color: var(--color-bg-header);
  padding: 1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Container layout fix */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Group hamburger and label */
.menu-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-link:hover img,
.logo-link:focus img {
  transform: scale(1.05);
  outline: none;
}

nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

nav a:hover,
nav a:focus {
  background-color: rgba(249, 202, 36, 0.15);
  color: var(--color-accent);
  outline: none;
}

nav a.active {
  background-color: rgba(249, 202, 36, 0.25);
  color: var(--color-accent);
  font-weight: 700;
}

.hero {
  background: var(--color-bg-hero);
  color: var(--color-text-light);
  padding: 6rem 1rem 4rem;
  text-align: center;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg-header);
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(249, 202, 36, 0.5);
  user-select: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #f6b93b;
  box-shadow: 0 6px 18px rgba(249, 202, 36, 0.7);
  outline: none;
}

main {
  padding: 2rem 1rem 4rem;
}

section {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  transition: box-shadow 0.3s ease;
}

section:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

h2, h3 {
  margin-top: 0;
  font-weight: 600;
  color: var(--color-text-dark);
}

footer {
  background-color: var(--color-bg-header);
  color: var(--color-text-light);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  margin-top: 4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gallery {
  padding: 2rem;
  text-align: center;
}

.gallery h2 {
  font-size: 28px;
  margin-bottom: 2rem;
}

.event-group {
  margin-bottom: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-grid a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 6px;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.media-gallery {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.media-item {
  margin-bottom: 2rem;
  text-align: center;
}

.media-item img {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.media-item iframe {
  width: 100%;
  height: 800px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.small-img {
  width: 70%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.small-img:hover {
  transform: scale(1.03);
}

.swiper {
  max-width: 900px;
  margin: 2rem auto;
}

.swiper-slide img {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--color-primary);
}

.swiper-pagination-bullet {
  background: var(--color-primary);
}

.lightboxOverlay {
  background: rgba(0, 0, 0, 0.9) !important;
}

.lb-data .lb-caption {
  color: #fff;
  font-size: 16px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 1rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  nav {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero {
    padding: 3rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 320px;
  }

  section {
    padding: 1.5rem;
    margin: 1rem;
  }

  .swiper-slide img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  color: var(--color-text-light);
  border: none;
  cursor: pointer;
}

/* Responsive hamburger nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bg-header);
    padding: 1rem 0;
  }

  nav.show {
    display: flex;
  }

  .header-inner {
    align-items: flex-start;
  }
}

/* Label visibility */
.current-page-label {
  display: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-light, #fff);
  white-space: nowrap;
}

/* Mobile styling */
@media (max-width: 768px) {
  .current-page-label {
    display: block;
  }

  nav {
    width: 100%;
  }
}

