/*-------------------------------------
   Variables
-------------------------------------*/
:root {
  --main-black: #1b1a1a;
  --dark-grey: #54595f;
  --gray: #333333;
  --white: #ffffff;
  --red: #f13030;
  --lite-grey: #ccc;
  --light-blue: #6ec1e4;
  --main-blue: #00b3ff;
}

/*-------------------------------------
   Global Styles
-------------------------------------*/
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

body {
  margin: 0;
  font-family: "Anybody", sans-serif;
  color: var(--gray);
  text-align: center;
  background-color: var(--white);
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  text-align: center;
}

section {
  width: 100%;
}

section .container {
  padding: 50px 20px;
}

/*-------------------------------------
   Hero Section
-------------------------------------*/

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  transition: background-image 0.5s ease-in-out;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 179, 255, 0.7), rgba(48, 77, 241, 0.5));
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  text-align: center;
  color: var(--white);
  padding: 60px 20px 0 20px;
}

.hero h1 {
  font-family: "Permanent Marker", sans-serif;
  font-size: 6rem;
  line-height: 1.2;
  margin: 0;
}

.hero h1 .registered {
  font-family: sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  vertical-align: super;
}

.cans-image {
  margin-top: 100px;
  max-width: 80%;
  height: auto;
}
.cans-image img {
  width: 100%;
  height: auto;
  display: block;
}

/*-------------------------------------
   Header Styles
-------------------------------------*/
.section-header {
  position: relative;
  width: 100%;
  height: 325px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-header h2 {
  background-color: rgba(241, 48, 48, 0.9);
  color: var(--white);
  padding: 10px 20px;
  font-size: 3rem;
  font-weight: bold;
}
.products-header {
  background-color: var(--main-blue);
  background-image: url("../img/flavors.webp");
  border-bottom: solid 10px var(--red);
  background-size: cover;
  background-attachment: fixed;
}
.where-to-buy-header {
  background-color: var(--main-blue);
  background-image: url("../img/skater.webp");
  border-bottom: solid 10px var(--red);
  background-size: cover;
  background-attachment: fixed;
}

.social-media-header {
  background-color: var(--main-blue);
  background-image: url("../img/phone.webp");
  border-bottom: solid 10px var(--red);
  background-size: cover;
  background-attachment: fixed;
}

.contact-header {
  background-color: var(--main-blue);
  background-image: url("../img/motorbike.webp");
  border-bottom: solid 10px var(--red);
  background-size: cover;
  background-attachment: fixed;
}

.faq-header {
  background-color: var(--main-blue);
  background-image: url("../img/surfer.webp");
  border-bottom: solid 10px var(--red);
  background-size: cover;
  background-attachment: fixed;
}
.resources-header {
  background-color: var(--main-blue);
  background-image: url("../img/skater.webp");
  border-bottom: solid 10px var(--red);
  background-size: cover;
}
/*-------------------------------------
   Ingredients Section
-------------------------------------*/
.ingredients {
  background-color: var(--main-black);
}

.ingredients .container {
  padding: 50px 20px;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.ingredients-image img {
  width: 80%;
  height: auto;
}

.ingredients-text h2 {
  font-size: 4rem;
  color: var(--red);
  margin-bottom: 10px;
}

.ingredients-text p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.ingredients-list ul {
  font-family: "Permanent Marker", sans-serif;

  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 50px;
  color: var(--white);
}

.ingredients-list ul li {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
}

.ingredients-list ul li i {
  color: var(--red);
  margin-right: 10px;
}

/*-------------------------------------
   Social Media Section
-------------------------------------*/

.social-media-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.social-media p {
  font-size: 1.6rem;
  font-family: "Permanent Marker", sans-serif;
  color: var(--main-black);
}

/* Social Buttons Container */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

/* Individual Social Button Wrapper */
.social-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header for Each Social Media */
.social-button-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--main-black);
}

/* Social Button Styles */
.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--main-black);
  color: var(--white);
  text-decoration: none;
  border: none;
  font-size: 1.2rem;
  transition: background-color 0.3s, transform 0.3s;
  min-width: 200px; /* Ensures consistent button widths */
}

/* Icon Styles */
.social-button i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Specific Styles for Facebook Button */
.social-button.facebook {
  background-color: var(--white);
  border: solid 1px #3b5998;
  color: #3b5998;
}

.social-button.facebook:hover {
  background-color: #3b5998;
  color: var(--white);
}

/* Specific Styles for Instagram Button */
.social-button.instagram {
  background-color: var(--white);
  border: solid 1px #8134AF;
  color: #8134AF;
}

.social-button.instagram:hover {
  background-color: #8134AF;
  color: var(--white);
}

/* Instagram Feed */
.instagram-feed {
  max-width: 1000px;
  margin: 0 auto;
}

.lightwidget-widget {
  width: 100%;
  height: 500px;
  border: 0;
  overflow: hidden;
}
.facebook-cl {
  color: #00b3ff;
  
}

/*-------------------------------------
   Contact Section
-------------------------------------*/
.contact {
  background-color: var(--white);
  text-align: center;
  padding: 40px 0;
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--white);
  border: 1px solid var(--lite-grey);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--lite-grey);
  font-size: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 25px;
  font-size: 1.5rem;
  color: var(--dark-grey);
  border: 1px solid var(--lite-grey);
  border-radius: 0;
  box-sizing: border-box;
  background-color: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--main-blue);
  outline: none;
}
.contact-form textarea {
  width: 100%;
  height: 250px;
  padding: 25px;
  font-size: 1.5rem;
  color: var(--dark-grey);
  border: 1px solid var(--lite-grey);
  border-radius: 0;
  box-sizing: border-box;
  background-color: var(--white);
  resize: vertical;
  max-width: 100%;
}
.contact-form button {
  background-color: var(--white);
  color: var(--red);
  padding: 15px 0;
  font-size: 1.8rem;
  border: solid 1px var(--red);
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: var(--red);
  color: var(--white);
}

.availability-text {
  color: var(--red);
  font-size: 1.2rem;
  margin-top: 15px;
}

.availability-text a {
  color: var(--red);
  text-decoration: none;
  font-weight: bold;
}

.availability-text a:hover {
  color: var(--main-blue);
}

.contact-info p {
  margin: 20px 0;
  font-size: 1.6rem;
  line-height: 1.5;
}

.notice-section {
  background-color: #000;
  color: #fff;
  padding: 20px;
  margin-top: 30px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.notice-section p {
  margin: 0;
}
.form-message {
  margin-top: 20px;
  font-size: 1.2rem;
}

/*-------------------------------------
   Notice Section
-------------------------------------*/
.notice {
  background-color: var(--gray);
}

.notice h2 {
  font-size: 1.85rem;
  color: var(--white);
  margin-bottom: 20px;
}

.notice p {
  font-size: 1.1rem;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7rem;
}

/*-------------------------------------
   FAQ Section
-------------------------------------*/
.faq {
  background-color: var(--white);
}

.faq-item {
  max-width: 800px;
  margin: 10px auto;
  border: 1px solid var(--lite-grey);
}

.faq-question {
  width: 100%;
  background-color: var(--white);
  border: none;
  outline: none;
  text-align: left;
  padding: 30px 25px;
  font-size: 1.5rem;
  color: var(--red);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--white);
  background-color: var(--main-black);
  transition: 0.2s ease;
}

.faq-question.active {
  color: var(--white);
  background-color: var(--main-blue);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

.faq-answer-content {
  padding: 20px 25px;
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--gray);
  text-align: left;
}

.faq-answer-content p {
  margin: 0;
}

.faq-answer-content a {
  color: var(--main-blue);
  text-decoration: none;
  font-weight: bold;
}

.faq-answer-content a:hover {
  color: var(--dark-grey);
}

.faq-question .fas {
  transition: transform 0.3s ease;
}

.faq-question.active .fas {
  transform: rotate(180deg);
}

/* Arrow Icon */
.faq-question i {
  font-size: 1rem;
  color: var(--red);
}

/*-------------------------------------
   WTB Section
-------------------------------------*/
.where-to-buy .container {
  min-height: 60vh;
}

.where-to-buy {
  background-color: var(--white);
}

.state-selector {
  margin-bottom: 30px;
  text-align: center;
}

.state-selector label {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--gray);
}

.state-selector select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 25px;
  font-size: 1.5rem;
  border: 2px solid var(--gray);
  width: 100%;
  max-width: 525px;
  margin: 0 auto;
  background-color: var(--white);
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 15px;
  cursor: pointer;
}

.state-selector select:focus {
  outline: none;
  border-color: var(--red);
  background-color: var(--white);
}

.state-selector select:hover {
  border-color: var(--red);
}

.state-selector select option {
  background-color: var(--white);
  color: var(--main-black);
}

/* Customize the select dropdown for different browsers */
select::-ms-expand {
  display: none;
}

select::-moz-focus-inner {
  border: 0;
}

select::-webkit-inner-spin-button,
select::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* State Message and Stores */
.state-message,
.state-stores {
  text-align: center;
}
.state-empty {
  font-size: 1.4rem;
  line-height: 1.6rem;
}
.default-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
}

.state-stores {
  display: none;
}

.state-stores.active {
  display: block;
}

.state-stores h3 {
  font-size: 3rem;
  color: var(--red);
  margin: 20px 0px;
  font-family: "Permanent Marker", sans-serif;
}
.state-default {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 800px;
  font-size: 2rem;
  color: var(--gray);
  line-height: 3rem;
  margin: 0 auto;
}
.store-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.store-item {
  display: block;
  border: 1px solid var(--lite-grey);
  padding: 20px;
  width: 90%;
  text-align: center;
  background-color: var(--white);
  color: var(--main-black);
  text-decoration: none;
  cursor: pointer;
}

.store-item:hover {
  background-color: var(--main-black);
  color: var(--white);
}

.store-disclaimer {
  font-size: 0.8rem;
  color: var(--dark-grey);
  margin-top: 20px;
  padding-top: 10px;
}

.hidden {
  display: none;
}

/*-------------------------------------
   Products Section
-------------------------------------*/
.products {
  background: rgb(255, 113, 149);
  background: linear-gradient(
    0deg,
    rgba(255, 113, 149, 1) 0%,
    rgba(191, 95, 255, 1) 50%,
    rgba(12, 200, 255, 1) 100%
  );
  color: var(--white);
  padding-bottom: 100px;
}

.products-header h2 {
  color: var(--white);
}

.product-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 200px;
}

.product-links a img {
  width: 150px;
  height: auto;
  transition: transform 0.3s;
}

.product-links a img:hover {
  transform: scale(1.1);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "name name name name"
    "image info1 info2 details";
  gap: 20px;
  align-items: center;
  margin: 0 auto;
}

/* Assign grid areas */
.product-name {
  grid-area: name;
  font-family: "Permanent Marker", sans-serif;
}

.product-image {
  grid-area: image;
}

.caffeine-info {
  grid-area: info1;
}

.vitamin-info {
  grid-area: info2;
}

.product-details {
  grid-area: details;
}

/* Styling Elements */
.product-name h3 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
}

.product-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.product-info {
  text-align: center;
}

.product-info i {
  font-size: 5rem;
  margin-bottom: 10px;
  color: var(--red);
}

.product-info .counter {
  font-size: 6rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.product-info p {
  font-size: 1.2rem;
  color: var(--light-grey);
}

.product-details {
  text-align: center;
}

.product-details p {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-details strong {
  color: var(--red);
}

/* Red Color */
.color-red i {
  color: #e74c3c;
}

/* Whote Color */
.color-white i {
  color: #ffc0a1;
}

/* Green Color */
.color-green i {
  color: #2ecc71;
}

/* Orange Color */
.color-orange i {
  color: #ff9456;
}

/* Purple Color */
.color-purple i {
  color: #e377f4;
}

/*-------------------------------------
   Product Navigation Buttons
-------------------------------------*/
.product-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.product-nav-button {
  display: inline-block;
  padding: 10px;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--white);
  transition: background-color 0.3s, color 0.3s;
}

.product-nav-button:hover {
  background-color: var(--main-black);
}
.others {
  font-family: "Permanent Marker", sans-serif;
  font-size: 2rem;
}

/*-------------------------------------
   Resources Section
-------------------------------------*/
.resources {
  background-color: var(--white);
  text-align: center;
}

.resources .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Resource Item */
.resource-item {
  margin: 40px auto;
  border: solid 1px var(--main-black);
  max-width: 1200px;
}

.resource-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

/* Reverse the order on items with 'reverse' class */
.resource-inner.reverse {
  flex-direction: row-reverse;
}

/* First Container */
.resource-content {
  flex: 1 1 50%;
  box-sizing: border-box;
}

.resource-left-border {
  border-left: 1px solid var(--main-black);
}

.resource-right-border {
  border-right: 1px solid var(--main-black);
}

.resource-image {
  width: 100%;
  min-height: 310px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: solid 1px var(--main-black);
}

.resource-title {
  background-color: var(--red);
  padding: 20px;
  color: var(--white);
}

.resource-title h3 {
  margin: 0;
}

/* Second Container */
.resource-download {
  flex: 1 1 48%;
  box-sizing: border-box;
  text-align: left;
  padding: 0 20px;
}

.resource-download h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--main-black);
  position: relative;
}

.download-underline {
  width: 50px;
  height: 5px;
  background-color: var(--red);
  margin-bottom: 20px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-button {
  display: flex;
  align-items: center;
  padding: 25px;
  border: 1px solid var(--lite-grey);
  text-decoration: none;
  color: var(--main-black);
  transition: background-color 0.3s, color 0.3s;
}

.download-button:hover {
  background-color: var(--red);
  color: var(--white);
}

.download-button i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Password Protection Styles */
.password-protect {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background-color: var(--main-black);
  color: var(--white);
}

.password-protect h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.password-protect form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.password-protect input[type="password"] {
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
  width: 250px;
  border: 1px solid var(--lite-grey);
  border-radius: 5px;
}

.password-protect button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.password-protect button:hover {
  background-color: var(--main-blue);
}

.error-message {
  color: var(--red);
  margin-top: 10px;
}

/* Logout Button Styles */
.logout-button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.download-button {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--lite-grey);
  text-decoration: none;
  color: var(--main-black);
  transition: background-color 0.3s, color 0.3s;
}

.download-button:hover {
  background-color: var(--red);
  color: var(--white);
}

.download-button i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/*-------------------------------------
   Back to Top Button Styles
-------------------------------------*/
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
  background-color: var(--red);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1000;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
  background-color: var(--main-blue);
  transform: translateY(-5px);
}

.back-to-top i {
  font-size: 1.5rem;
}
.show-back-to-top {
  display: flex;
}

/*-------------------------------------
   Responsive Styles
-------------------------------------*/

/*           1024px Screens          */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "image"
      "info1"
      "info2"
      "details";
    justify-items: center;
  }
  .product-grid > * {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .product-name h3 {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .product-links a img {
    width: 100px;
  }

  .product-info i {
    font-size: 4rem;
  }

  .product-info .counter {
    font-size: 4rem;
  }
  .state-message p {
    font-size: 1.5rem;
    color: var(--gray);
    line-height: 2rem;
  }
  .resource-download {
    padding: 0 20px 20px;
  }
}

/*           768px Screens          */
@media (max-width: 768px) {
  /* Ingredients Section */
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
  .ingredients-list ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0 auto;
  }
  .ingredients-list ul li {
    display: block;
    font-size: 2rem;
    text-align: center;
    width: auto;
  }
  .ingredients-list ul li i {
    margin-right: 10px;
  }
  .hero {
    background: url("../img/hero-img-mob3.webp") center center / cover no-repeat;
  }
  .hero h1 {
    font-size: 4rem;
  }
  .hero h1 .registered {
    font-size: 1.5rem;
  }
  /* Hide the hero video on smaller screens */
  .hero-video {
    display: none;
  }
  /* Adjust the cans image margin */
  .cans-image {
    margin-top: 50px;
    max-width: 90%;
  }
  .back-to-top {
    display: none !important;
  }
  .contact-info p {
    font-size: 1.2rem;
  }
  .faq-question {
    font-size: 1.1rem;
  }
  .contact-content {
    border-top: 1px solid var(--lite-grey);
    border-bottom: 1px solid var(--lite-grey);
    border-left: none;
    border-right: none;
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    font-size: 1.2rem;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 1.2rem;
  }
  .products-header {
    background-attachment: inherit;
  }
  .where-to-buy-header {
    background-attachment: inherit;
  }
  .social-media-header {
    background-attachment: inherit;
  }
  .contact-header {
    background-attachment: inherit;
  }
  .faq-header {
    background-attachment: inherit;
  }
  .resources-header {
    background-attachment: inherit;
  }
  .ingredients-text h2 {
    font-size: 2rem;
  }
  .social-buttons {
    flex-direction: row;
    gap: 20px;
  }
}

/*           480px Screens          */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero h1 .registered {
    font-size: 1rem;
  }
  .cans-image {
    margin-top: 30px;
    max-width: 100%;
  }
  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .social-button {
    width: 100%;
    max-width: 300px;
    min-width: unset;
  }
}
