@import url("https://use.typekit.net/uvu8uml.css");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");


:root {
    --red: #e81e25;
    --red-dark: #a42c35;
    --yellow: #f0b800;
    --green: #81b842;
    --blue: #4d73ae;
    --brown: #855937;
    --orange: #d98332;
    --lightGray: #D9D9D9;
    --midGray: #7E7B7E;
    --black: #000000;
    --white: #ffffff;
    
    --rainbow: linear-gradient(160deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue));
    --gradTR: linear-gradient(200deg, var(--black), var(--midGray));
    --gradBL: linear-gradient(20deg, var(--black), var(--midGray));
    --gradBR: linear-gradient(-20deg, var(--black), var(--midGray));
    --gradColor: linear-gradient(90deg, var(--purple), var(--green));
  }
  


body {
    padding:0;
    margin:0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color:var(--white);
    -webkit-font-smoothing: antialiased;
    background-color: var(--black);
  }
  
  h1, h2, h3, h4, h5, h6 {
    color:var(--white);
    font-family: "beaufort-pro", serif;
    font-weight: 600;
    font-style: normal;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  /* Head */
header {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: linear-gradient(to bottom, #000000 0%,  rgba(0, 0, 0, 0) 100%);
  }
  header a.site-logo {
    display: block;
    height: 5.5rem;
    margin-top: 1rem;
    padding: 0;
    transition: height 0.4s;
  }
  header a.site-logo img {
    height: 100%;
    width: auto;
    display: block;
  }
  body.scrolled header a.site-logo {
    height: 4.2rem;
  }


  .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--rainbow);
    color: #fff;
    text-decoration: none;
    border-radius: 3em;
    position: relative;
    font-weight: 600;
    border: 0px;
  }

  .btn.strawberry {
    background: var(--red);
  }
  .btn.apple {
    background: var(--red-dark);
  }
  .btn.raw-for-dogs {
    background: var(--orange);
  }

  .coming-soon {
    display: inline-block;
    margin-top: 1rem;
    font-family: "beaufort-pro", serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--white);
    opacity: 0.9;
  }
  
  
  
  .btn:hover {
   background: var(--blue);
  }
  .btn.cart::after {
    content: '→'; /* You can also use '\2192' */
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
  }
  
  .btn:hover::after {
    transform: translateX(4px); /* optional hover effect */
  }
  
  .btn.secondary {
    background: unset;
    border: 2px solid var(--rainbow);
    color: var(--rainbow);
  }
  
  .btn.secondary:hover {
   border: 2px solid var(--blue);
  }


/* --------------------------- */
/*      Content Sections       */
/* --------------------------- */

main {
  position: relative;
  margin-top: -85px;
}

/* Homepage has no header logo — don't pull content up */
body:not(:has(header)) main {
  margin-top: 0;
}
  
/* Hero Video background */
.video-background-section {
  position: relative;
  width: 100vw;
  height: 80vh;
  overflow: hidden;
  align-items: center;
  color: #fff;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 85vw;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
  transform: translateX(-50%);
}

.video-gradient {
  position: absolute;
  top: 0;
  left: 50%;
  width: 85vw;
  height: 100%;
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.6) 100%),
    linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.0) 15%, rgba(0,0,0,0.0) 85%, rgba(0,0,0,1) 100%);
  pointer-events: none;
  z-index: -1;
  transform: translateX(-50%);
}



.content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 80px auto;
  height: 100%; 
  display: flex; 
  align-items: center; 
  justify-content: center;    
  z-index: 1; 
}

.content-inner {
  max-width: 1400px;
  padding: 2rem;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.content-inner p {
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.7; 
  font-size: 1.5rem;
  line-height: 1.75rem;
}

.content-inner .logo {
  max-width: 500px;
  display: block; /* Show by default */
  transition: opacity 0.5s ease;
}

/* Hide logo when video is playing */
.video-playing .content-inner .logo {
  display: none;
}


section.intro {
  max-width: 1400px;
  margin: -4em auto 0 auto;
  padding: 2rem;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

section.intro p {
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.7; 
  font-size: 1.5rem;
  line-height: 1.75rem;
}

/* Logo Slider */
.logo-slider {
  margin: 2em auto;
}


/* Product Area */

.product-into h2 {
  font-size: 3.5rem;
  color: var(--green);
  margin: 2em auto;
  text-align: center;
}

.product-area {
  margin: 5em auto;
  padding: 2em 0;
  text-align: center;
}

.product-area::after {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0; */
  pointer-events: none;
  /* Adjust the gradient direction and stops as needed */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.8) 100%
  );
  z-index: 2;
}

/* Background image layer with independent opacity */
.product-area::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 100% auto; /* ensure full width, maintain aspect ratio */
  background-repeat: no-repeat;
  background-position: center calc(50% + var(--parallax-offset, 0px));
  opacity: 0.7; /* ~70% opacity for background image only */
  z-index: 1;
}

.product-area.strawberry, .product-area.rainbow, .product-area.apple, .product-area.raw-for-dogs {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100vw;
  overflow: hidden;
}

.product-area.strawberry::before {
  background-image: url('./img/strawberry-background.jpg');
}

.product-area.rainbow::before {
  background-image: url('./img/rainbow-background.jpg');
}

.product-area.apple::before {
  background-image: url('./img/apple-background.jpg');
}

.product-area.raw-for-dogs::before {
  background-image: url('./img/raw-for-dogs-background.jpg');
}

.product-content {
  position: relative;
  z-index: 10;
}

.product-content .hero-product {
  max-height: 84vh;
}

/* Meet Ellen */
.meet-ellen {
  max-width: 1100px;
  margin: 5em auto 2em;
  padding: 2rem 1.5rem 1rem;
  text-align: center;
}

.meet-ellen h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--green);
  margin: 0 0 2rem;
}

.meet-ellen-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
  text-align: left;
}

.meet-ellen-photo {
  flex: 0 0 auto;
}

.meet-ellen-photo img {
  display: block;
  max-height: 600px;
  width: auto;
  height: auto;
  max-width: min(280px, 40vw);
  object-fit: contain;
}

.meet-ellen-copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 640px;
}

.meet-ellen-copy p {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.8;
}

.meet-ellen-copy p:last-child {
  margin-bottom: 0;
}



/* Logo Slider */
.logo-slider {
  width: 100%;
  height: 120px;
  overflow: hidden;
  position: relative;
  margin: 2em 0;
}

.slider-track {
  display: flex;
  width: calc(200px * 12); /* 6 logos × 2 (duplicated) × 200px width */
  animation: scroll 30s linear infinite;
}

.slide {
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slide img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;

  transition: all 0.3s ease;
}

.slide img:hover {

}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 6)); /* Move by exactly 6 slides */
  }
}

/* Pause animation on hover (optional) */
.logo-slider:hover .slider-track {
  animation-play-state: paused;
}


/* Product Subpages */

main.product-page {
  background-image: url(./img/starry-background.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding-top: 5em;
}

main.product-page h3 {
  color: var(--green);
  font-size: 1.5rem;
}

main.product-page h4 {
  font-size: 1.5rem;
}

main.product-page .product-desc {
  opacity: 0.8;
}

main.product-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.product-page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 2em auto;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 10;
  text-align: center;
}

.product-heading {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.product-heading h3 {
  margin-bottom: 0.35em;
}

.product-heading h1 {
  margin-top: 0;
}

.product-images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
  width: 100%;
}

.product-image {
  flex: 1 1 280px;
  max-width: 560px;
  display: flex;
  justify-content: center;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: crosshair;
  color: inherit;
}

.product-image img {
  max-height: 84vh;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.zoom-lens {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(129, 184, 66, 0.18);
  pointer-events: none;
  display: none;
  z-index: 2;
  box-sizing: border-box;
}

.product-image.is-zooming .zoom-lens {
  display: block;
}

.image-zoom-pane {
  position: fixed;
  z-index: 1000;
  width: min(380px, 42vw);
  height: min(380px, 42vw);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.35rem;
  background-color: #000;
  background-repeat: no-repeat;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.image-zoom-pane.is-visible {
  opacity: 1;
  visibility: visible;
}

.product-details {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.product-page-content h1 {
  font-size: 4.125rem;
  font-family: "beaufort-pro", serif;
  font-weight: 600;
}

.product-page-content h2 {
  font-size: 1.75rem;
  color: var(--green);
}

  .product-description {
    opacity: 0.7;
  }

/* Buy box (Stripe checkout) */
.buy-box {
  margin: 1.5em 0;
}

.pack-options {
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pack-option {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2em;
  padding: 0.55em 1.1em;
  cursor: pointer;
}

.pack-option.is-active,
.pack-option:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.buy-box .product-price {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.25em 0;
  min-height: 1.2em;
}

.shipping-note {
  margin: 0 0 1em 0;
  opacity: 0.75;
  font-size: 0.95rem;
}

.buy-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.qty-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.qty-select {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.5em;
  padding: 0.5em 0.75em;
  cursor: pointer;
}

.qty-select option {
  color: var(--black);
}

.buy-controls .btn {
  margin-top: 0;
  font-size: 1rem;
  cursor: pointer;
}

.buy-controls .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.buy-error {
  color: var(--yellow);
  font-weight: 600;
}

/* Testimonials rotator */
.testimonials {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
}

.testimonials-eyebrow {
  font-family: "beaufort-pro", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 1.25rem;
}

.testimonials-quote {
  margin: 0;
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonials-quote blockquote {
  margin: 0;
  font-family: "beaufort-pro", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--white);
  max-width: 38ch;
}

.testimonials-quote cite {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-quote.is-fading {
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonials-quote.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

  /* Fade Up Animations */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
  }

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

  /* Staggered animation delays for multiple elements */
  .fade-up:nth-child(1) { transition-delay: 0.1s; }
  .fade-up:nth-child(2) { transition-delay: 0.2s; }
  .fade-up:nth-child(3) { transition-delay: 0.3s; }
  .fade-up:nth-child(4) { transition-delay: 0.4s; }
  .fade-up:nth-child(5) { transition-delay: 0.5s; }
  .fade-up:nth-child(6) { transition-delay: 0.6s; }

  /* Footer */
.footer-rainbow {
  background-image: url(./img/color-swatch.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-attachment: scroll;
  text-align: center;
  min-height: 150px;
  width: 100vw; /* Ensure full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
}

.footer-rainbow p {
  margin: auto;
  font-size: 1.25rem;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  margin: 2em auto;
  max-width: 1200px;

}

/* Footer nav column hidden until page content is ready */
.footer-content > div:has(.footer-nav) {
  display: none;
}

.footer-content .logo {
  max-width: 250px;
  height: auto;
}

.footer-content ul li {
  list-style-type: none;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-content ul li a {
  color: var(--white);
  text-decoration: none;
}

.footer-content ul li:hover a {
  color: var(--green);
  text-decoration: underline;
}

/* --------------------------- */
/*   RESPONSIVE QUERIES BELOW  */
/* --------------------------- */


/* Responsive - mobile */
@media (max-width: 30em){

  section:not(.video-background-section) {
     max-width: 90%;
   }
 
   .video-background-section {
   height: 55vh;
 }

  .product-image img {
    max-height: 54vh;
  }

  .image-zoom-pane {
    width: min(280px, 72vw);
    height: min(280px, 72vw);
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    bottom: 1rem;
    top: auto !important;
  }

  .product-page-content h1 {
    font-size: 3rem;
  }

  .meet-ellen-layout {
    flex-direction: column;
    align-items: center;
  }

  .meet-ellen-photo img {
    max-height: 420px;
    max-width: 220px;
  }

  .meet-ellen-copy {
    text-align: left;
  }
 
 }
 
 
 /* Responsive - tablet */
 @media (max-width: 40em){
 
     .video-background-section {
   height: 75vh;
 }

  .product-images {
    gap: 1rem;
  }
  
 }
 
 
 
 
 /* Responsive - larger screens */
 @media (min-width: 75em){ 
   .content-inner {
     
   }
   
 }
 
    /* Ensure video wrapper takes at least full viewport height if needed */
    @media (min-aspect-ratio: 16/9) {
      .video-wrapper {
        height: 100vh;
        aspect-ratio: auto;
      }
    }
