:root {
  --dark: #0b0b0c;
  --light: #ffffff;
  --accent: #6ba8c9;
  --glass: rgba(255,255,255,0.08);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  height: 80px;              /* 👈 controls logo height */
  padding: 0 60px;           /* remove vertical padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}


.logo {
  display: flex;
  align-items: center;
  height: 150%;
}

.logo img {
  height: 100%;        /* 👈 fill navbar height */
  max-height: 100%;    /* 👈 safety cap (adjust if needed) */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}


.navbar nav a {
  margin-left: 30px;
  color: white;
  text-decoration: none;
  font-weight: 300;
}

.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 30px;
}

@media (max-width: 768px) {
  .navbar {
    height: 68px;
    padding: 0 24px;
  }

  .logo img {
    max-height: 52px;
  }
}



/* HERO */
.hero {
  height: 100vh;
  position: relative;

  background-image: url("/static/lyp/images/hero4.webp");
  background-repeat: no-repeat;
  background-size: cover;

  /* 👇 MOVE IMAGE DOWN */
  background-position: center 25%;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.13), rgba(0,0,0,0.95));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 8vw;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 6vw, 3rem);
  line-height: 1.1;
}

.hero-title span {
  color: var(--accent);
}

/* =========================
   SCROLL DOWN ARROW
   ========================= */

.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 32px;
  text-decoration: none;

  color: var(--accent);/* 🔴 CHANGE ARROW COLOR HERE */

  animation: bounce 1.6s infinite;
  opacity: 0.85;

  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}


/* Bounce animation */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(10px);
  }
  60% {
    transform: translateX(-50%) translateY(5px);
  }
}


/* TYPING EFFECT */

#typed-text {
  color: var(--accent);
  position: relative;
}

#typed-text::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
#typed-text.done-typing::after {
  display: none;
}


.hero-subtitle {
  margin: 20px 0;
  font-size: 1.5rem;
  opacity: 0.8;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 50px;        /* ≈ 10px wide, ≈ 8px high */
  font-size: 20px;         /* REQUIRED for this size to work */
  line-height: 1;

  border-radius: 60px;
  border: 1px solid var(--accent);
  color: white;
  text-decoration: none;

  align-self: flex-start;  /* forces LEFT alignment in hero flex */
  margin-top: 16px;
}



/* SECTIONS */
.section {
  padding: 120px 10vw;
  text-align: center;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.section-text {
  max-width: 700px;
  margin: auto;
  opacity: 0.8;
}

.dark {
  background: #070707;
}

      /* ABOUT SECTION */ 
      .about-camps {
          padding: 100px 6%;
          background: linear-gradient(
              to bottom,
              #6ba8c96b,
              #6ba8c936,
              #6ba8c96b
          );
      }

      .about-container {
          max-width: 1200px;
          margin: 0 auto;
          text-align: center;
      }

      .about-container span {
        color: var(--accent);
      }

      .about-camps h2 {
          font-size: 2.8rem;
          margin-bottom: 16px;
          letter-spacing: -0.5px;
      }

      .about-intro {
          max-width: 700px;
          margin: 0 auto 60px;
          font-size: 1.1rem;
          color: rgba(255,255,255,0.75);
          line-height: 1.6;
      }

      .about-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
          gap: 32px;
      }

      .about-card {
          padding: 36px 32px;
          background: rgba(255,255,255,0.06);
          backdrop-filter: blur(12px);
          border-radius: 20px;
          border: 1px solid rgba(255,255,255,0.08);
          box-shadow: 0 18px 40px rgba(0,0,0,0.45);
          text-align: left;
          transition: 
              transform 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease;
      }

      .about-card:hover {
          transform: translateY(-6px);
          box-shadow: 0 18px 40px rgba(0,0,0,0.45);
          border-color: rgba(201,164,107,0.35);
      }

      .about-line {
          display: block;
          width: auto;
          height: 3px;
          background: var(--accent);
          margin-bottom: 16px;
          border-radius: 2px;
      }

      .about-card h3 {
          font-size: 1.4rem;
          margin-bottom: 12px;
          color: var(--accent);
          text-align: center;
      }

      .about-card p {
          font-size: 1rem;
          line-height: 1.6;
          color: rgba(255,255,255,0.8);
      }

      .contact-links {
        display: flex;
        flex-direction: column;
        gap: 14px; /* 👈 space between buttons */
        margin-top: 16px;
      }

      /* Reference links under About text */
          .ref-links {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 14px;
          }

          /* Subtle reference-style button */
          .ref-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;

            padding: 8px 18px;
            border-radius: 22px;
            border: var(--accent);

            font-size: 0.85rem;
            text-decoration: none;
            color: var(--accent);
            background: #6ba8c910;

            transition:
              background 0.25s ease,
              color 0.25s ease,
              transform 0.25s ease,
              box-shadow 0.25s ease;
          }

          .ref-btn:hover {
            background: var(--accent);
            color: #0b0b0c;
            transform: translateY(-1px);
            box-shadow:var(--accent);
          }

          .ref-btn::after {
              content: "↗";
              margin-left: 6px;
              font-size: 0.75em;
              opacity: 0.7;
            }



      /*MEDIA RESPONSIVENESS*/
      @media (min-width: auto) {
        .contact-links {
          flex-direction: row;
          flex-wrap: wrap;
          gap: 16px;
        }
      }




/* APPLY FOR CAMP SECTION */

  /* APPLY FOR CAMP HEADING WOW FACTOR */

    .apply-heading {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.8rem, 5vw, 3.6rem);
      letter-spacing: -0.5px;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
      text-shadow: 0 8px 30px rgba(0,0,0,0.6);
    }

    .apply-heading span {
      color: var(--accent);
    }

    /* Accent underline */
    .apply-heading::after {
      content: "";
      display: block;
      width: 72px;
      height: 4px;
      margin: 18px auto 0;
      background: var(--accent);
      border-radius: 3px;
      box-shadow: 0 18 40px rgba(107,168,201,0.6);
    }

      /* APPLY / REGISTER BUTTON */

        .apply-btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          margin-top: 22px;
          padding: 10px 28px;

          font-size: 0.95rem;
          font-weight: 500;
          letter-spacing: 0.3px;

          color: var(--light);
          text-decoration: none;

          border: 1px solid var(--accent);
          border-radius: 40px;
          background: transparent;

          align-self: flex-start;

          transition:
            background 0.3s ease,
            color 0.3s ease,
            transform 0.3s ease,
            box-shadow 0.3s ease;
        }

        .apply-btn:hover {
          background: var(--accent);
          color: #0b0b0c;
          transform: translateY(-2px);
          box-shadow: 0 5px 15px rgba(107,168,201,0.4);
        }


    /* APPLY FOR CAMP SECTION BACKGROUND */

    #registrations {
      position: relative;
      background-image: url("/static/lyp/images/applyforcamp1.jpeg");
      background-size: cover;
      background-position: center;
      background-attachment: scroll;

      @media (min-width: 1200px) {
        #registrations {
          background-attachment: fixed;
        }
      }
      overflow: hidden;
    }

    /* Dark overlay for readability */
    #registrations::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.562),
        rgba(11, 11, 12, 0.167),
        rgba(11, 11, 12, 0.167)
      );
      z-index: 0;
    }

    /* Ensure content stays above overlay */
    #registrations > * {
      position: relative;
      z-index: 1;
    }


    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 32px;
      margin-top: 60px;
    }

    .image-card {
      display: flex;
      flex-direction: column;
      height: 650px; /* forces equal card height */
      border-radius: 22px;
      overflow: hidden;
      background: #6ba8c9b5;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 15px 40px rgba(0,0,0,0.45);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .image-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    }

    /* TEXT AREA */
    .service-content {
      padding: 34px 30px;
      z-index: 2;
      background: linear-gradient(
        to bottom,
        rgba(11,11,12,0.95),
        rgba(11,11,12,0.85),
        rgba(11,11,12,0.6)
      );
    }

    .service-content h3 {
      font-size: 1.5rem;
      margin-bottom: 12px;
      color: var(--accent);
    }

    .service-content p {
      font-size: 1rem;
      line-height: 1.6;
      color: rgba(255,255,255,0.85);
    }

    /* IMAGE AREA */
    .service-image {
      flex: 1;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    /* IMAGE FADE INTO TEXT */
    .service-image::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(11,11,12,0.95),
        rgba(11,11,12,0.6),
        rgba(11,11,12,0.15)
      );
    }


/* CAMP PHOTOS – ROLLING BLADE */
/* SHARED GRADIENT BACKGROUND */
.gradient-section {
    background: linear-gradient(
        to bottom,
        #6ba8c96b,
        #6ba8c936,
        #6ba8c96b
    );
}


.camp-photos {
  overflow: hidden;
}

    .camp-heading {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.8rem, 5vw, 3.6rem);
      letter-spacing: 0.5px;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
      text-shadow: 0 8px 30px rgba(0,0,0,0.6);
    }

.camp-heading span {
    color: var(--accent);
}

.photo-blade {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.blade-track {
  display: flex;
  width: max-content;

  animation: bladeScroll 70s linear infinite;
  animation-play-state: paused; /* ⬅ paused by default */

  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .blade-track {
    animation: none;
  }
}


.photo-blade:hover .blade-track {
  animation-play-state: paused;
}

.blade-item {
  width: 340px;
  height: 220px;
  margin-right: 24px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;

  box-shadow: 0 10px 20px rgba(0,0,0,0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blade-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.65);
}

/* Continuous scroll animation */
@keyframes bladeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* QUESTIONS & NEXT STEPS SECTION */

.next-steps {
  padding: 120px 8vw;
  text-align: center;
        position: relative;
      background-image: url("/static/lyp/images/camp2.webp");
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      overflow: hidden;
}

.next-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

.next-heading span {
    color: var(--accent);
}

.next-intro {
  max-width: 700px;
  margin: 0 auto 70px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  text-shadow: #000 0 4px 12px;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.next-card {
  padding: 40px 34px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 15px 40px rgba(0,0,0,0.45);
  text-align: left;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.next-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}

.next-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--accent);
}

.next-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
}

/* BUTTONS */

.next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 26px;
  border-radius: 40px;
  border: 1px solid var(--accent);

  font-size: 0.9rem;
  text-decoration: none;
  color: var(--light);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.next-btn:hover {
  background: var(--accent);
  color: #0b0b0c;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(107,168,201,0.4);
}

/* Primary emphasis button */
.next-btn.primary {
  background: var(--accent);
  color: #0b0b0c;
  font-weight: 600;
}

.spotify-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 24px;
  border-radius:30px;
  background: var(--accent);
  color:#000;
  font-weight:600;
  text-decoration:none;
}

.spotify-btn:hover {
  background: var(--accent);
  color: #0b0b0c;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(107,168,201,0.4);
}



    /* FOOTER */


    /* =========================
      LYP FOOTER
      ========================= */
    .lyp-footer{
      background:#0b0b0c;
      color:rgba(255,255,255,0.85);
      padding: 0px 0 0;
      margin-top:auto;
    }

    .lyp-footer-container{
      width:min(1200px, 90vw);
      margin:0 auto;
      display:grid;
      grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
      gap:50px;
    }

    /* Footer columns */
    .lyp-footer-col h4{
      font-size:1.2rem;
      margin-bottom:18px;
      color:var(--accent);
    }

    .lyp-footer-col p{
      line-height:1.7;
      font-size:0.95rem;
    }

    .lyp-footer-col ul{
      list-style:none;
      padding:0;
      margin:0;
    }

    .lyp-footer-col ul li{
      margin-bottom:12px;
    }

    .lyp-footer-col a{
      color:rgba(255,255,255,0.85);
      text-decoration:none;
      transition:color .25s ease;
    }

    .lyp-footer-col a:hover{
      color:var(--accent);
    }

    /* Bottom bar */
    .lyp-footer-bottom{
      margin-top:60px;
      border-top:1px solid rgba(255,255,255,0.1);
      padding:22px 0;
      text-align:center;
      font-size:0.85rem;
      opacity:0.7;
    }


    /* =========================
   FOOTER LOGOS
   ========================= */

    .site-footer {
      padding: 40px 20px;
      background: #0b0b0c; /* 🔴 CHANGE BACKGROUND COLOR HERE */
      justify-content: center;
    }

    .footer-logos {
      max-width: 1200px;
      margin: 0 auto;

      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 5px;
    }

    .footer-logos a {
      display: flex;
      align-items: center;
      justify-content: center;

      opacity: 0.8;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .footer-logos a:hover {
      opacity: 1;
      transform: translateY(-2px);
    }

    .footer-logos img {
      max-height: 175px; /* 🔴 CONTROL LOGO SIZE HERE */
      width: auto;
    }

    /* =========================
      MOBILE
      ========================= */
    @media (max-width: 768px) {
      .footer-logos {
        flex-direction: column;
        gap: 24px;
      }

      .footer-logos img {
        max-height: 40px;
      }
    }


/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


    /* BACKGROUND MUSIC CONTROL */
    .music-control {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 2000;

      padding: 10px 18px;
      border-radius: 30px;

      font-size: 0.85rem;
      letter-spacing: 0.3px;

      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(10px);

      border: 1px solid rgba(255,255,255,0.25);
      color: white;

      cursor: pointer;
      user-select: none;

      transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    }

    .music-control:hover {
      background: rgba(107,168,201,0.8);
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    }

/* MOBILE RESPONSIVENESS */
    @media (max-width: 1024px) {
  .about-card,
  .next-card {
    backdrop-filter: none !important;
    background: rgba(0,0,0,0.65) !important;
  }
}

@media (max-width: 768px) {
  .fade-in,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================
   MOBILE NAVBAR FIX (LYP)
   ========================= */

@media (max-width: 768px) {

  /* Let navbar grow naturally */
  .navbar {
    height: auto;              /* overrides height: 80px */
    padding: 12px 24px;        /* replaces 0 24px */
    align-items: flex-start;
  }

  /* Stop logo from overflowing navbar */
  .logo {
    height: auto;              /* overrides height: 150% */
  }

  .logo img {
    height: auto;              /* overrides height: 100% */
    max-height: 48px;
  }

  /* Stack nav links vertically */
  .navbar nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 10px;
  }

  /* Remove desktop spacing that causes overlap */
  .navbar nav a {
    margin-left: 0;            /* overrides margin-left: 30px */
    padding: 6px 0;
  }
}
