root {
    --video-zoom: 1;
  }


/* ================== General Reset ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button, a.shop-btn {
    font-family: inherit;
    vertical-align: middle;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }


/* ================== Body Styling ================== */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #15202B; /* Unifying theme */
}

html, body {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    height: 100%;
}

/* Global Video Background */
#hero-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    transform: scale(var(--video-zoom));
    transition: transform 0.3s ease-out;
    will-change: transform;
    pointer-events: none;
}

/* Global Dark Overlay */
#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    pointer-events: none;
}

body.noscroll {
    overflow: hidden;
  }


/* ------------------- HERO SECTION ------------------- */
.hero {
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #939862;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-family: "Pacifico", cursive;
    margin-bottom: 15px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, .8);
}

.hero-content p {
  font-size: 1.5rem;
  font-family: 'Quicksand', sans-serif;
  margin-bottom: 10px;
  color: #939862;
  text-shadow:
    1px 1px 4px rgba(0, 0, 0, 0.9),
    2px 2px 6px rgba(0, 0, 0, 0.7),
    3px 3px 10px rgba(0, 0, 0, 0.5);
}


.play-btn {
    background-color: transparent;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    margin-bottom: 20px;
    opacity: 0.3;
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.play-btn i {
    color: #fff;
    font-size: 2rem;
    position: absolute;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.play-btn .play-icon {
    opacity: 1;
}

.play-btn.playing .play-icon {
    opacity: 0;
}

.play-btn.playing .pause-icon {
    opacity: 1;
}

.play-btn:hover {
    transform: scale(1.1);
}

/*.cta-btn {*/
/*    padding: 10px 20px;*/
/*    font-size: 1.2rem;*/
/*    font-family: 'Quicksand', sans-serif;*/
/*    color: white;*/
/*    background-color: #a5b853;*/
/*    text-decoration: none;*/
/*    border-radius: 5px;*/
/*    transition: background-color 0.3s ease;*/
/*    opacity: 0.8;*/
/*}*/

/*.cta-btn:hover {*/
/*    background-color: #2d2a1f;*/
/*    opacity: 1;*/
/*}*/

/* ------------------- SECTION NAVIGATION ------------------- */

section {
  scroll-snap-align: start;
}

/* Scroll Cue Container - centered at bottom */
.scroll-cue-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  text-align: center;
}

/* "Explore" Text Styling */
.scroll-label {
  font-size: 1.5rem;
  color: #faffcc;
  margin-bottom: 12px;
  animation: pulseGlow 2.5s ease-in-out infinite;
  font-family: 'Quicksand', sans-serif;
  transition: opacity 0.5s ease;
/*  background-color: rgba(0, 0, 0, 0.08);*/
/*  border-radius: 30px;*/
/*  padding: 8px 16px;*/
/*  backdrop-filter: blur(0px);*/
/*  display: block;*/
  text-shadow: 0 0 6px #a5b853, 0 0 12px #faffcc;
}



.scroll-down {
  font-family: 'Quicksand', sans-serif;
  border: none;
  cursor: pointer;

  /* Circle */
  width: 64px;
  height: 64px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2rem;
  color: #faffcc;
  position: relative;

  /* ✨ New gradient + glassmorphism background */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 15px rgba(165, 184, 83, 0.3),
    0 0 40px rgba(165, 184, 83, 0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.05);

  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.4s ease;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-down::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(250, 255, 204, 0.3) 0%,
    transparent 70%
  );
  z-index: -1;
  transition: opacity 0.3s ease;
}

.scroll-down:hover {
  transform: scale(1.15);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow:
    0 0 25px #faffcc,
    0 0 50px #a5b853,
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.scroll-down svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 6px #a5b853) drop-shadow(0 0 12px #faffcc);
  transition: transform 0.3s ease;
}

.scroll-down:hover svg {
  transform: translateY(2px);
  filter: drop-shadow(0 0 12px #faffcc) drop-shadow(0 0 24px #a5b853);
}


/* ------------------- FEATURES SECTION ------------------- */
.features {
    scroll-snap-align: start;
    position: relative;
    padding-top: 100px; /* Add this for spacing from top */
    padding-bottom: 60px;
    overflow: hidden;
    text-align: center;
}

.features::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    transform-origin: center;
    transition: transform 0.1s ease-out;
    z-index: -1;
    will-change: transform;
}

.features h2 {
    font-size: 2.8rem;
    font-family: "Pacifico", cursive;
    margin-bottom: 40px;
    color: #d1d7c0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.feature-cards {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: rgba(92, 96, 69, 0.4); /* 🔥 bump from 0.2 to 0.4 */
    backdrop-filter: blur(10px);            /* 🔥 increase blur a bit */
    -webkit-backdrop-filter: blur(10px);    /* 🔥 ensure Safari sees it */
/*    background-color: rgba(92, 96, 69, 0.2);*/
    padding: 20px;
    border-radius: 8px;
    width: 450px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
/*    backdrop-filter: blur(6px);*/
}

.feature-card h3 {
    font-size: 1.6rem;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 20px;
    color: #d1d7c0;
}

.feature-card p {
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    color: #d1d7c0;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.youtube-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.donate-btn {
    display: inline-block;
    background-color: #5e6244;
    color: #d1d7c0;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background-color: #4a4f2f;
}

@media (max-width: 768px) {
    .features {
        background-attachment: scroll;
        animation: none;
    }

    .feature-card {
        width: 100%;
        max-width: 300px;
    }

    .features h2 {
        font-size: 1.8rem; /* Smaller, cleaner for mobile */
        padding: 0 20px;   /* Add side padding to prevent edge collisions */
        line-height: 1.3;
      }
}

/* ------------------- LOGIN AND CONTACT BUTTONS ------------------- */
/* Button Container */
#login-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: transparent;
    padding: 20px;
    flex-wrap: wrap; /* Allows buttons to stack on smaller screens */
}

/* Button Styling */
.login-btn, .contact-btn, .shop-btn {
    background-color: rgba(92, 96, 69, 0.4); /* 🔥 bump from 0.2 to 0.4 */
    backdrop-filter: blur(10px);            /* 🔥 increase blur a bit */
    -webkit-backdrop-filter: blur(10px);    /* 🔥 ensure Safari sees it */
/*    background-color: rgba(92, 96, 69, 0.2);*/
    color: #d1d7c0;
    padding: 15px 20px; /* Consistent padding for all buttons */
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 200px; /* Fixed width for all buttons */
    height: 50px; /* Fixed height for all buttons */
/*    backdrop-filter: blur(6px);*/
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}

/* Hover Effects */
.login-btn:hover, .contact-btn:hover, .shop-btn:hover {
    background-color: #5e6244;
    transform: scale(1.05);
}

/* Responsive Styling for Smaller Screens */
@media (max-width: 768px) {
    .login-btn, .contact-btn, .shop-btn {
        width: 100%; /* Full width for mobile */
        max-width: 300px; /* Limit max width to avoid oversized buttons */
    }

    #login-contact {
        flex-direction: column; /* Stack buttons vertically on small screens */
        gap: 1px; /* Reduce spacing for mobile */
    }
}



/* ------------------- FORM POPUPS ------------------- */
.contact-form-popup,
.login-form-popup {
  display: none; /* ✅ Hides them on page load */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Initial Hidden State for Popups */
@media (max-width: 768px) {
  .contact-form-popup,
  .login-form-popup {
      /* ✅ Remove display override so JS can show it */
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100dvh;
      background-color: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
      z-index: 1000;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: manipulation;
  }

  .contact-form-container,
  .login-form-container {
      max-height: 90vh;
      overflow-y: auto;
      touch-action: manipulation; /* Less bounce + jitter */
      -webkit-overflow-scrolling: touch;
  }
}

      body.blur-active {
          scroll-snap-type: none !important
      }

      html.blur-active {
  scroll-snap-type: none !important;
  height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none;
      }



/* Form Container Styling */
.contact-form-container,
.login-form-container {
  background: rgba(92, 96, 69, 0.25); /* Greenish tint */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px; /* Keep a nice limit on large screens */
  max-height: 90vh; /* Prevent it from spilling off small screens */
  overflow-y: auto; /* Scroll if content exceeds height */
  text-align: center;
  position: relative;
  box-shadow:
    0 0 20px rgba(165, 184, 83, 0.2),
    0 0 40px rgba(0, 0, 0, 0.4);
  color: #d1d7c0;
}



/* Form Input/Textarea Styling */
.contact-form-container input,
.contact-form-container textarea,
.login-form-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #d1d7c0;
    border-radius: 5px;
}

/* Submit Button Styling */
.submit-btn {
  display: block;
  margin: 20px auto 0; /* centers the button inside the form */
  background-color: #5e6244;
  color: #faffcc;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  font-family: 'Quicksand', sans-serif;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 8px rgba(165, 184, 83, 0.3),
    0 0 12px rgba(250, 255, 204, 0.15);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #6c744c;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow:
    0 0 12px #a5b853,
    0 0 24px #faffcc,
    inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;              /* Equal width and height */
  height: 36px;
  font-size: 20px;
  color: #d1d7c0;
  cursor: pointer;
  background-color: rgba(165, 184, 83, 0.1);
  border: none;
  border-radius: 50%;       /* Ensures perfect circle */
  backdrop-filter: blur(6px);
  display: flex;            /* Center icon inside */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow:
    0 0 6px rgba(165, 184, 83, 0.4),
    0 0 12px rgba(250, 255, 204, 0.1);
}

.close-btn:hover {
  animation: softPulse 2s infinite;
  background-color: rgba(250, 255, 204, 0.1);
  color: #faffcc;
  box-shadow:
    0 0 10px #a5b853,
    0 0 20px #faffcc;
}

  @keyframes softPulse {
      0% { box-shadow: 0 0 6px #a5b853; }
      50% { box-shadow: 0 0 12px #faffcc; }
      100% { box-shadow: 0 0 6px #a5b853; }
    }



/* Blur effect on background */
body.blur-active #main-content {
  filter: blur(8px);
  transition: filter 0.4s ease;
  pointer-events: none; /* Optional: Prevent interaction while blurred */
  position: relative;
  z-index: 1;
}

/* Optional dim overlay */
body.blur-active::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .3); /* Soft dimming */
  z-index: 0; /* 👈 LOWER than the main content */
}

.form-title {
    font-size: 2.8rem;
    font-family: "Pacifico", cursive;
    color: #d1d7c0;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0);
  }

  .signup-line {
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  margin-top: 25px;
  color: #d1d7c0;
}

.signup-link {
  display: inline-block; /* Makes it fully clickable */
  font-weight: bold;
  margin-left: 6px;
  color: #faffcc;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 0 6px #a5b853, 0 0 12px #faffcc;
  transition: text-shadow 0.3s ease, transform 0.2s ease;
}

.signup-link:hover {
  text-shadow: 0 0 12px #faffcc, 0 0 24px #a5b853;
  transform: scale(1.05);
}


/* ------------------- SOCIAL MEDIA SECTION ------------------- */
/* Social Media Section Styling */
.social-media {
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px; /* not too large */
    text-align: center;
    z-index: 1;
}

.social-media::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -1;
}


/* Social Media Section Heading */
.social-media h2 {
    font-size: 2.5rem;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 40px;
    color: #191c11;
}

/* Social Media Icons Styling */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    font-size: 2rem;
    color: #d1d7c0;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #a5b853;
}


/* ------------------- FOOTER SECTION ------------------- */
/* Footer Styling */
.footer {
    background-color: transparent;
    padding-top: 20px;
    padding-bottom: 10px; /* not too large */
    text-align: center;
    font-family: 'Quicksand', sans-serif;
}

/* Footer Paragraph Styling */
.footer p {
    color: #d1d7c0;
    font-size: 1rem;
}


/* Portfolio Styling */

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background: #f8f9fa;
  color: #333;
}

.portfolio-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* left: home icon, center: title */
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}


.portfolio-header h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.8rem;
  font-family: 'Pacifico', cursive;
  margin: 0;
  color: #000;
}


.home-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.home-icon {
  width: 28px;
  height: 28px;
  stroke: #a5b853;
  transition: stroke 0.3s ease;
}

.home-btn:hover .home-icon {
  stroke: #333;
}


.upload-section {
  text-align: center;
  margin: 10px 0 5px; /* reduced spacing above and below */
}

.upload-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* remove fixed height */
  margin: 0 auto;
}

.upload-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 8px;
  padding: 10px 12px;
  stroke: #a5b853;
  transition: transform 0.3s ease;
}

.upload-icon svg {
    width: 28px;
    height: 28px;
    stroke: #a5b853;
    display: block;
  }

.upload-label {
  font-size: 0.85rem;
  color: #a5b853;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: 'Quicksand', sans-serif;
}


.upload-icon:hover {
    transform: scale(1.1);
  }

  .upload-icon:hover svg {
      transform: scale(1.15);

  }

  .upload-icon:hover .upload-label {
      opacity: 1;
    }


.upload-trigger {
  display: inline-block;
  background: #ffffff;
  color: #a5b853;
  border: 2px dashed #a5b853;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Quicksand', sans-serif;
}

.upload-trigger:hover {
  background: #faffcc;
  border-color: #a5b853;
  color: #333;
}

.arrow {
  margin-left: 8px;
  font-weight: bold;
}

.upload-vine {
  margin-top: 4px;       /* Already minimal, you can even try 0 */
  margin-bottom: 8px;    /* Tight space before the grid */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.vine-divider {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  opacity: 0.9;
}


/* Hide file input */
#photo-upload {
  display: none;
}

/* Grid layout */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding-top: 10px;
  max-width: 1200px;
  margin: 0 auto;
}


.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  object-fit: cover;
  max-height: 100%;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

/* ------------------- RESPONSIVE STYLING ------------------- */
/* Media Query for iPhones */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    #login-contact {
        flex-direction: column; /* Stack buttons vertically */
    }

    .login-btn, .contact-btn, .shop-btn {
        width: 80%; /* Full width for buttons */
        margin: 10px 0;
    }


    .contact-form-container input,
    .contact-form-container textarea,
    .login-form-container input {
        font-size: 1rem;
        padding: 12px;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .contact-form-container,
    .login-form-container {
        padding: 24px;
    }

    .portfolio-header h1 {
        font-size: 2rem;
      }

      .upload-trigger {
        padding: 12px 20px;
        font-size: 0.95rem;
      }

      .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        padding: 10px;
        gap: 10px;
      }

}

.success-animation {
  position: fixed; /* Changed from absolute so it floats over all content */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: #a5b853;
  border-radius: 16px;
  padding: 28px 40px;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 0 60px rgba(165, 184, 83, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: -1; /* hide from stacking when inactive */
  transition: opacity 0.4s ease, transform 0.4s ease;
}


.success-animation.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  z-index: 3000; /* higher than form popup */
}

.success-animation .checkmark {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.3),
    0 0 18px rgba(255, 255, 255, 0.2);
  margin-bottom: 14px;
  animation: pop 0.5s ease-out forwards;
}

.success-animation p {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 500;
}

/* Pop animation for checkmark */
@keyframes pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

html,
body {
  overscroll-behavior: auto;
}


