    /* Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Georgia', serif;
      color: #f5f0e8;
      background-color: #0b1c2e;   /* solid blue fallback */
      min-height: 100vh;
      margin: 0;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
    }
/* === Fixed ocean background (bottom-right, 240% zoom) === */
    .page-bg {
      position: fixed;
      inset: 0;                          /* top:0 right:0 bottom:0 left:0 */
      z-index: -1;                       /* sit behind everything */
      background: #0b1c2e url("images/ocean.jpg") right bottom / 240% no-repeat;
      pointer-events: none;              /* clicks go through */
      transform: translateZ(0);          /* keeps it crisp on mobile */
    }
    /* On phones/tablets, fill the screen so no blue shows */
    @media (max-width: 768px) {
    .page-bg {
      background: #0b1c2e url("images/ocean.jpg") right bottom / cover no-repeat;
      }
    }

    /* Animations */
    @keyframes fadeUp {
      0% { opacity: 0; transform: translateY(40px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    @keyframes slideInDown {
      0% { opacity: 0; transform: translateY(-40px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    /* Header (Nav) — unified for all pages */
header, .cv-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex; justify-content: center;
  z-index: 1000;
  background: rgba(0,0,0,.30);          /* slight glass so text is readable */
  backdrop-filter: blur(6px);
  animation: slideInDown 1s ease forwards;
}

    nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;                /* <-- lets it wrap on small screens */
  gap: 1.2rem 2rem;
  justify-content: center;
  margin: 0; padding: 0;
}

    nav a {
      text-decoration: none;
      color: #ccc;
      font-size: 1.1rem;
      transition: color 0.3s ease;
    }

    nav a:hover, nav a.active {
      color: #d2b48c;
    }
/* Space below the fixed header on scrolling pages */
:root { --navH: 110px; }            /* header height; tweak if needed */
body:not(.home) { padding-top: var(--navH); }
@media (max-width: 400px) { :root { --navH: 130px; } }  /* a bit more on tiny phones */


    /* Hero Section */
    .hero {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 1rem;
      flex-direction: column;
    }

    .hero img {
      width: clamp(120px, 20vw, 200px); /* responsive logo size */
      height: auto;
      margin-bottom: 1.5rem;
      opacity: 0;
      animation: fadeUp 1.2s ease forwards;
    }

    .hero h1 {
      font-size: clamp(1.2rem, 3vw, 2rem);
      letter-spacing: 1px;
      color: #f5f0e8;
      margin-bottom: 1rem;
      opacity: 0;
      animation: fadeUp 1.4s ease forwards;
      animation-delay: 0.4s;
    }

    .hero p {
      font-size: clamp(0.9rem, 2vw, 1.2rem);
      color: #d2c9b6;
      line-height: 1.6;
      opacity: 0;
      animation: fadeUp 1.6s ease forwards;
      animation-delay: 0.8s;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 1rem 0;
      background: transparent; /* transparent footer */
      color: #ccc;
      font-size: 0.9rem;
      margin-top: auto;
    }

    footer p {
      margin-bottom: 0.5rem;
    }

    .socials {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 0.5rem;
    }

    .socials a {
      color: #ccc;
      font-size: 1.2rem;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .socials a:hover {
      color: #d2b48c;
    }

    /* Responsive */
    @media (max-width: 768px) {
      nav ul {
        gap: 1.2rem;
      }
      nav a {
        font-size: 1rem;
      }
    }

/* Events wrapper (no extra background; .page-bg handles it) */
.events-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem 2rem 4rem;
}

/* Toggle Buttons */
.events-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.events-toggle button {
  padding: 0.6rem 1.2rem;
  border: none;
  background: rgba(210,180,140,0.2);
  color: #f5f0e8;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.events-toggle button.active,
.events-toggle button:hover {
  background: rgba(210,180,140,0.8);
  color: #000;
}

/* Sections */
.events-section {
  display: none;
}

.events-section.active {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Photo Gallery Masonry */
.photo-gallery {
  column-count: 4;      /* number of columns, adjust for screen size */
  column-gap: 1rem;     /* gap between columns */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-gallery .event-img {
  width: 100%;
  height: auto;        /* keep aspect ratio */
  margin-bottom: 1rem; /* vertical gap between images */
  display: block;
  border-radius: 8px;
  transition: transform 0.3s;
}

.photo-gallery .event-img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .photo-gallery {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .photo-gallery {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    column-count: 1;
  }
}


/* Video Gallery */
.video-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-gallery video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.hero img {
  width: 400px;
  height: auto;
}

/* About Section */
.about-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 1rem 2rem;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.about-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #d2b48c;
  text-align: center;
}

.about-content h2 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.8rem;
  color: #d2b48c;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.about-text ul {
  list-style: none;
  padding-left: 1rem;
}

.about-text li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5rem;
}

.about-text li:before {
  content: "•";
  color: #d2b48c;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -0.1rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-section {
    padding: 5rem 1rem 2rem;
  }
  
  .about-container {
    flex-direction: column-reverse;
    gap: 2rem;
  }
  
  .about-content h1 {
    font-size: 2rem;
  }
  
  .about-content h2 {
    font-size: 1.3rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }

}

/* === HOME page: fixed, non-scrolling screen === */
body.home {
  height: 100dvh;    /* fill one screen */
  overflow: hidden;  /* stop scrolling */
}

/* Small-phone polish */
@media (max-width: 768px) {
  nav a { font-size: 1rem; }
}
@media (max-width: 400px) {
  nav a { font-size: .95rem; }
}

/* === CV (clean) — background comes from .page-bg, not here === */
.cv-wrapper { width: 100%; min-height: 100vh; }

.cv-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.cv-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1; /* behind images */
}

.cv-section img.cv-page {
  position: relative;
  z-index: 2;                  /* above overlay */
  width: 90%;
  max-width: 800px;
  height: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border-radius: 8px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
}

.cv-wrapper { width: 100%; min-height: 100vh; }





