/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #fafafa;
    color: #333;
    font-size: 16px;
  }
  
  /* Color Palette */
  :root {
    --primary-color: #2e9c87; /* Green */
    --secondary-color: #0077cc; /* Blue */
    --text-color: #333333;
    --background-color: #f9f9f9;
    --cta-bg-color: #2e9c87;
    --cta-hover-color: #24897a;
    --footer-bg-color: #212121;
    --footer-text-color: #ffffff;
    --card-bg-color: #ffffff;
    --border-color: #e1e1e1;
  }
  
  /* Reset */
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  /* Header Section */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  header .logo img {
    height: 50px;
    width: auto;
  }
  
  .nav-links {
    display: flex;
    gap: 5px;
    position: relative;
}

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  transition: color 0.3s ease;
  margin-left: 30px;
}
.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    padding: 0px 0;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 11; /* Ensure it stays above the dropdown menu */
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: 0.4s;
}

/* Rotate hamburger icon into X when active */
.hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
  
  .cta-btn {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .cta-btn:hover {
    background-color: var(--cta-hover-color);
  }

/* Hero Section */
.hero {
    background-image: url('https://www.stanley1913.com/cdn/shop/files/WaterBottle_Hero_Desktop_d8ae9287-94c8-4914-a304-859074aeca99.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  
  .hero-text {
    z-index: 2;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 400;
  }
  
  .hero .cta-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    text-transform: none;
  }
  
  
  .shipping-banner {
    text-align: center;
  }

  /* Warranty Information Section */
.warranty-info {
    padding: 60px 50px;
    background-color: #fff;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Warranty Boxes */
.warranty-box {
    background: #f9f9f9;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.warranty-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.warranty-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

.warranty-box ul {
    padding-left: 20px;
}

.warranty-box ul li {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

/* Contact Section */
.warranty-box a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
}

.warranty-box a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 40px 50px;
    text-align: center;
  }
  
  .footer-links ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
  }
  
  .footer-links ul li a {
    color: var(--footer-text-color);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .footer-links ul li a:hover {
    color: var(--primary-color);
  }

  /* Responsive Design */
@media (max-width: 900px) {
    .nav-links {
      list-style: none;
      display: flex;
      gap: 20px;
      flex-direction: column;
      position: fixed;
      top: 100px;
      left: 0px;
      width: 100%;
      height: 100%;
      background-color: rgb(255, 255, 255); /* Slightly transparent background */
      justify-content: center;
      align-items: start;
      display: none;
      padding-top: 0px; /* Adjust this value if necessary to account for the header height */
  }
  
  .nav-links.active {
      display: flex;
      width: 100%;
      height: 100%;
      border-bottom: 1px solid #000000;
  }
  
  .hamburger {
      display: flex;
      z-index: 11;
      position: sticky;
      top: 43px;
      right: 40px;
  }
  
  header.active {
      position: fixed;
      top: 25px;
      left: 0px;
      width: 100%;
      z-index: 10;
  }
  }

@media (max-width: 768px) {
    .nav-links {
        list-style: none;
        display: flex;
        gap: 20px;
        flex-direction: column;
        position: fixed;
        top: 100px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: rgb(255, 255, 255); /* Slightly transparent background */
        justify-content: center;
        align-items: start;
        display: none;
        padding-top: 0px; /* Adjust this value if necessary to account for the header height */
    }
  
    .nav-links.active {
        display: flex;
        width: 100%;
        height: 100%;
        border-bottom: 1px solid #000000;
    }
  
    .hamburger {
        display: flex;
        z-index: 11;
        position: sticky;
        top: 43px;
        right: 40px;
    }
  
    header.active {
        position: fixed;
        top: 25px;
        left: 0px;
        width: 100%;
        z-index: 10;
    }
  }