/* -----------------------------
   ROOT: COLOR SYSTEM & GLOBALS
----------------------------- */
:root {
  --background-colour:#2C0703;
  --color-burgundy: #890620;
  --color-rose:#B6465F;
  --color-roseybrown:#DA9F93;
  --color-pale:#EBD4CB;
  --color-primary: #2F4B6D;
  --color-secondary:#F4C914;
  --color-dark-secondary: #B6465F;
  --color-white: #fff;
  --color-muted: #111;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-logo: 'Dancing Script', cursive;
  --dark-red:#C52837;
  --bright-red:#ED2C40;
  --light-yellow:#F4EF84;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-muted);
}

/* -----------------------------
   HERO LAYOUT - Fixed for all screen sizes
----------------------------- */
.tea-hero {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for better mobile support */
  width: 100%;
  position: relative;
}

.side-panel {
  flex: 1 1 35%; /* More flexible flex basis */
  min-width: 100px; /* Ensure minimum width */
  position: relative;
  
  /* DEFAULT: Red pattern background */
  background-color: var(--dark-red);
  background-image: repeating-linear-gradient(
    45deg,
    #ED2C40,
    #ED2C40 10px,
    #C52837 10px,
    #C52837 20px
  );
}

/* TOGGLE OPTION 1: Background Images - Uncomment to use images instead of pattern */
/*
.side-panel.left {
  background-image: url('../images/bgs/left-side.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.side-panel.right {
  background-image: url('../images/bgs/right-side.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
*/

/* TOGGLE OPTION 2: Background Images with overlay - Uncomment for images with color overlay */
/*
.side-panel.left {
  background-image: 
    linear-gradient(rgba(237, 44, 64, 0.5), rgba(197, 40, 55, 0.3)),
    url('../images/bgs/left-side.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.side-panel.right {
  background-image: 
    linear-gradient(rgba(254, 0, 25, 0.5), rgba(197, 40, 55, 0.3)),
    url('../images/bgs/right-side.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
*/
/* TOGGLE OPTION 3: Background Images with transparent diagonal lines - Uncomment for images with pattern overlay */

.side-panel.left {
  background-image: 
    repeating-linear-gradient(
      45deg,
      rgba(237, 44, 64, 0.4),
      rgba(237, 44, 64, 0.4) 10px,
      rgba(197, 40, 55, 0.4) 10px,
      rgba(197, 40, 55, 0.4) 20px
    ),
    url('../images/bgs/left-side.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: repeat, no-repeat;
}

.side-panel.right {
  background-image: 
    repeating-linear-gradient(
      45deg,
      rgba(237, 44, 64, 0.4),
      rgba(237, 44, 64, 0.4) 10px,
      rgba(197, 40, 55, 0.4) 10px,
      rgba(197, 40, 55, 0.4) 20px
    ),
    url('../images/bgs/right-side.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: repeat, no-repeat;
}

.hero-content {
  flex: 2 1 60%; /* More flexible flex basis */
  background-color: var(--color-white);
  text-align: center;
  padding: 4rem clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* Allow shrinking */
  position: relative;
}

/* -----------------------------
   LOGO + TEXT
----------------------------- */
.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-logo);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.logo-wrap2 {
  display: flex;
  justify-content: left;
  font-family: var(--font-logo);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.logo-icon {
  width: min(350px, 70vw);
  height: auto;
  max-width: 100%;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-family: var(--font-heading);
  color: var(--dark-red);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-text .h1-text{
 font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-family: var(--font-heading);
  color: var(--dark-red);
  margin-bottom: 1rem;
  line-height: 1.2;  
  font-weight: bold;
}
.hero-text h2 {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: normal;
  color: var(--color-burgundy);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.hero-text p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
  color: #222;
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* -----------------------------
   BUTTON
----------------------------- */
.btn {
  background: var(--color-white);
  color: var(--dark-red);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1rem);
  border: 2px solid var(--dark-red);
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
  display: inline-block;

}

.btn:hover,
.btn:focus {
  background: var(--bright-red);
  border-color: var(--bright-red);
  color: var(--color-white);
  outline: none;
}

/* SIDE PANELS w/ GRAPHICS + DIVIDER LINE */
.side-panel::after,
.side-panel::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 8px;
  background-color: var(--light-yellow);
  z-index: 2;
}

.side-panel::before {
  width: 16px;
  background-color: var(--color-white);
}

.side-panel.left::before {
  right: 8px;
}

.side-panel.left::after {
  right: 0;
}

.side-panel.right::before {
  left: 8px;
}

.side-panel.right::after {
  left: 0;
}

/* DECORATIVE GRAPHICS INSIDE SIDE PANELS */

.side-graphic {
  position: absolute;
  z-index: 3;
  opacity: 1;
}

.side-panel.left .side-graphic {
  right: 0;
  top: 50%;
  transform: translateX(27%) translateY(-50%);
  max-height: min(60rem, 80vh);
}

/* And update the right side for consistency: */
.side-panel.right .side-graphic {
  left: 0;
  top: 50%;
  transform: translateX(-42%) translateY(-50%);
  max-height: min(68rem, 100vh);
}

/* Base hidden state for mobile graphics */
.mobile-graphic {
  display: none;
  position: absolute;
  z-index: 10;
}

.mobile-graphic img {
  width: 160px;
  height: auto;
  opacity: 1;
}

.mobile-graphic.mobile-top {
  top: 0;
  left: 0;
}

.mobile-graphic.mobile-bottom {
  bottom: 0;
  right: 0;
}
.unicode-checkmark {
  color: var(--dark-red); /* Adjust color as desired */
  font-size: 2rem; /* Adjust size as desired */
}
/* -----------------------------
   FOOTER
----------------------------- */
.site-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  font-size: 0.875rem;
  text-align: center;
  color: var(--color-muted);
  border-top: 1px solid #eee;
}

.site-footer a {
  color: var(--dark-red);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  .site-footer {
    font-size: 0.75rem;
    padding-top: 1.5rem;
  }
}

  /* -----------------------------
     Back to top button
  ----------------------------- */
  #backToTop {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary); 
    color: var(--color-white);
    font-size: 1.5rem;
    line-height: 1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #backToTop.show {
    opacity: 1;
    visibility: visible;
  }
  
  #backToTop:hover {
    background-color: var(--color-dark-secondary)
  }

  /* -----------------------------
   TEA SURVEY FORM STYLING
----------------------------- */
.tea-form {
  max-width: 600px;
  margin: 1rem auto 0;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  text-align: left;
}

.tea-form fieldset {
  border: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.tea-form legend {
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark-red);
}

.tea-form label {
  display: block;
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.tea-form input[type="text"],
.tea-form input[type="email"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-top: 0.3rem;
}

.tea-form input[type="radio"],
.tea-form input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: var(--dark-red);
}

.tea-form .btn {
  width: 100%;
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}
/* -----------------------------
   BANNER IMAGE STYLING
----------------------------- */
.image-wrap {
  width: 100%;
  max-width: 600px;
  margin: 1.5rem auto;
  border-radius: 8px;
  overflow: hidden;
}

.image-baner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 300px; /* Prevents the image from being too tall */
}

/* Responsive adjustments for banner image */
@media screen and (max-width: 960px) {
  .image-wrap {
    max-width: 100%;
    margin: 1rem auto;
  }
  
  .image-baner {
    max-height: 250px;
  }
}

@media screen and (max-width: 480px) {
  .image-wrap {
    margin: 0.75rem auto;
    border-radius: 6px;
  }
  
  .image-baner {
    max-height: 200px;
  }
}
/* -----------------------------
   RESPONSIVE FIXES
----------------------------- */
@media screen and (max-width: 480px) {
  .tea-form {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}
/* Large desktop screens */
@media screen and (min-width: 1400px) {
  .hero-content {
    padding: 6rem 8rem;
  }
  
  .logo-icon {
    width: 400px;
  }
}

/* Tablet and smaller desktop */
@media screen and (max-width: 1200px) {
  .side-panel.left .side-graphic {
    max-height: min(45rem, 60vh);
    /* Remove the top: 150px since we're now using translateY(-50%) */
  }
  
  .side-panel.right .side-graphic {

  }
}

/* Mobile breakpoint */
@media screen and (max-width: 960px) {
  .tea-hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
  }

  .side-panel {
    flex: 1 0 80px; /* Fixed height for mobile */
    min-height: 80px;
    max-height: 120px;
    overflow: hidden;
    position: relative;
  }

  .side-panel::before,
  .side-panel::after,
  .side-graphic {
    display: none;
  }

  .hero-content {
    flex: 1 1 auto;
    padding: 3rem 1.5rem;
    min-height: calc(100vh - 200px); /* Account for side panels */
    min-height: calc(100dvh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-white);
    position: relative;
    z-index: 1;
  }

  .mobile-graphic {
    display: block;
    position: absolute;
    z-index: 10;
  }

  .mobile-graphic img {
    width: 120px;
    height: auto;
  }

  .mobile-graphic.mobile-top {
    top: clamp(50px, 8vh, 140px);
    left: 20px;
    transform: translateY(-50%);
  }

  .mobile-graphic.mobile-bottom {
    bottom: clamp(60px, 12vh, 140px);
    right: 20px;
    transform: translateY(75%);
  }

  .logo-icon {
    width: min(220px, 60vw);
  }

  .logo-wrap {
    margin-bottom: 1rem;
  }
}

/* Small mobile */
@media screen and (max-width: 480px) {
  .hero-content {
    padding: 2rem 1rem;
  }

  .mobile-graphic img {
    width: 100px;
  }

  .mobile-graphic.mobile-top {
    left: 15px;
  }

  .mobile-graphic.mobile-bottom {
    right: 15px;
  }

  .logo-icon {
    width: min(200px, 50vw);
  }
}

/* Very wide screens - prevent over-stretching */
@media screen and (min-width: 1800px) {
  .tea-hero {

  }
}

/* Fix for very short screens */
@media screen and (max-height: 600px) and (min-width: 961px) {
  .tea-hero {
    min-height: 600px;
  }
  
  .hero-content {
    padding: 2rem clamp(2rem, 5vw, 4rem);
  }
  
  .side-panel.left .side-graphic,
  .side-panel.right .side-graphic {
    max-height: 400px;
  }
}
@media screen and (max-width: 938px) {
  .lead-content {
    flex-direction: column; /* Stack vertically on mobile */
    gap: 2rem;
    text-align: center;
  }

  .content-left {
    padding-right: 0;
    order: 1;
    min-height: auto; /* Remove the forced height on mobile */
  }

  .content-right {
    order: 2;
    padding: 2rem;
    position: static; /* Remove sticky on mobile */
    flex: none; /* Reset flex properties */
    width: 95%; /* Reset fixed width */
    
  }

  .main-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .container {
    padding: 0 1rem;
  }
}
    /* Lead magnet hero layout */
.lead-magnet-hero {
  min-height: auto; /* Change from 100vh to auto */
  display: flex;
  align-items: flex-start; /* Change from center to flex-start */
  background-color: var(--color-white);
  position: relative;
  overflow: visible; /* Make sure this isn't hidden */
  padding: 2rem;
}

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      width: 100%;
      position: relative;
      z-index: 1;
    }

.lead-content {
  display: flex; /* Change from grid */
  gap: 4rem;
  align-items: flex-start; /* Add this */
}

    /* Left content */
.content-left {
  flex: 1;
  padding-right: 2rem;
  min-height: 150vh; /* Add this to force scrollable content */
}

    .free-badge {
      display: inline-block;
      background: var(--dark-red);
      color: var(--color-white);
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 1.5rem;
      font-family: var(--font-heading);
    }
     .comp-badge {
      display: inline-block;
      background: var(--color-secondary);
      color: var(--color-muted);
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 1.5rem;
      font-family: var(--font-heading);
    }

    .main-headline {
      font-family: var(--font-heading);
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 700;
      line-height: 1.1;
      color: var(--dark-red);
      margin-bottom: 1.5rem;
    }

    .main-headline .highlight {
      color: var(--color-burgundy);
    }

    .subtitle {
      font-size: 1.125rem;
      line-height: 1.6;
      color: var(--color-muted);
      margin-bottom: 2rem;
    }

    /* Right content - Form area */
.content-right {  
  background: var(--color-white);
  border: 2px solid var(--color-pale);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 0rem 1.5rem;
  position: sticky;
  top: 10px;
  align-self: flex-start;
  box-shadow: 0 10px 30px rgba(197, 40, 55, 0.1);
  flex: 0 0 475px; /* Fixed width instead of max-height */
}

    .form-container {
      position: relative;
      z-index: 2;
    }

    .tea-form {
      margin: 0;
      padding: 0;
      background: transparent;
      text-align: left;
    }

    .tea-form label {
      display: block;
      margin-bottom: 1rem;
      font-size: 0.95rem;
      color: var(--color-muted);
      font-weight: 500;
    }

    .tea-form input[type="text"],
    .tea-form input[type="email"] {
      width: 100%;
      padding: 0.875rem 1rem;
      border: 2px solid var(--color-pale);
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 1rem;
      margin-top: 0.5rem;
      background: var(--color-white);
      color: var(--color-muted);
      transition: all 0.3s ease;
    }

    .tea-form input[type="text"]:focus,
    .tea-form input[type="email"]:focus {
      outline: none;
      border-color: var(--dark-red);
      box-shadow: 0 0 0 3px rgba(197, 40, 55, 0.1);
      transform: translateY(-2px);
    }

    .tea-form input[type="text"]::placeholder,
    .tea-form input[type="email"]::placeholder {
      color: var(--color-roseybrown);
    }

    .tea-form fieldset {
      border: none;
      margin: 1.5rem 0;
      padding: 0;
    }

    .tea-form legend {
      font-weight: 600;
      font-family: var(--font-heading);
      font-size: 1rem;
      margin-bottom: 1rem;
      color: var(--dark-red);
    }

    .tea-form input[type="radio"],
    .tea-form input[type="checkbox"] {
      margin-right: 0.75rem;
      accent-color: var(--dark-red);
      transform: scale(1.2);
    }

    /* Custom radio and checkbox styling */
    .radio-group,
    .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .radio-item,
    .checkbox-item {
      display: flex;
      align-items: center;
      padding: 0.75rem;
      border: 1px solid var(--color-pale);
      border-radius: 8px;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .radio-item:hover,
    .checkbox-item:hover {
      background: var(--color-pale);
      border-color: var(--color-roseybrown);
      transform: translateY(-1px);
    }

    .radio-item label,
    .checkbox-item label {
      margin: 0;
      cursor: pointer;
      flex: 1;
    }

    /* Submit button */
    .submit-btn {
      width: 100%;
      background: var(--dark-red);
      color: var(--color-white);
      padding: 1rem 2rem;
      font-family: var(--font-heading);
      font-size: 1rem;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 1.5rem;
      position: relative;
      overflow: hidden;
    }

    .submit-btn:hover {
      background: var(--bright-red);
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(197, 40, 55, 0.3);
    }

    .submit-btn:active {
      transform: translateY(0);
    }

    /* Privacy text */
    .privacy-text {
      font-size: 0.8rem;
      color: var(--color-burgundy);
      line-height: 1.4;
      margin-top: 1rem;
      text-align: center;
    }

    /* Floating elements using your color scheme */
    .floating-element {
      position: absolute;
      border-radius: 50%;
      opacity: 0.1;
      animation: float 6s ease-in-out infinite;
    }

    .floating-element:nth-child(1) {
      width: 60px;
      height: 60px;
      background: var(--dark-red);
      top: 20%;
      left: 10%;
      animation-delay: 0s;
    }

    .floating-element:nth-child(2) {
      width: 40px;
      height: 40px;
      background: var(--color-burgundy);
      top: 70%;
      right: 15%;
      animation-delay: 2s;
    }

    .floating-element:nth-child(3) {
      width: 80px;
      height: 80px;
      background: var(--color-rose);
      bottom: 20%;
      left: 20%;
      animation-delay: 4s;
    }

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

    /* Form input labels animation */
    .input-wrapper {
      position: relative;
      transition: transform 0.3s ease;
    }

    .input-wrapper:focus-within {
      transform: translateY(-2px);
    }

    /* Responsive design */
    @media screen and (max-width: 768px) {
      .lead-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
      }

      .content-left {
        padding-right: 0;
        order: 1;
      }

      .content-right {
        order: 2;
        padding: 2rem;
      }

      .main-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
      }

      .container {
        padding: 0 1rem;
      }
    }

    @media screen and (max-width: 480px) {
      .content-right {
        padding: 1.5rem;
      }

      .tea-form input[type="text"],
      .tea-form input[type="email"] {
        padding: 0.75rem;
      }
    }

 .card-btn {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--light-yellow) 100%);
  color: var(--color-muted);
  text-decoration: none;
  padding: 4rem 1.5rem;
  border-radius: 12px;
  margin: 1rem;
  box-shadow: 0 4px 15px rgba(244, 201, 20, 0.3);
  transform: translateY(0);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
  flex: 1;

}

.card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(244, 201, 20, 0.4);
  text-decoration: none;
  color: var(--color-muted);
}

.card-btn:hover::before {
  left: 100%;
}

.card-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(244, 201, 20, 0.3);
}

/* Card image styling */
.card-btn .card-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bright-red), var(--dark-red));
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
  box-shadow: 0 3px 10px rgba(197, 40, 55, 0.3);
}

/* Alternative styling for second card */
.card-btn:nth-child(2) {
  background: linear-gradient(135deg, var(--bright-red) 0%, var(--dark-red) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(197, 40, 55, 0.3);
}

.card-btn:nth-child(2):hover {
  box-shadow: 0 8px 25px rgba(197, 40, 55, 0.4);
  color: var(--color-white);
}

.card-btn:nth-child(2) .card-image {
  background: linear-gradient(135deg, var(--color-secondary), var(--light-yellow));
  color: var(--color-muted);
  box-shadow: 0 3px 10px rgba(244, 201, 20, 0.3);
}


/* Container for side-by-side layout */
.card-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
  }
  
  .card-btn {
    margin: 0.5rem 0;
    padding: 1.25rem;
    font-size: 1rem;

  }
  
  .card-btn .card-image {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}