/* -------------------- START GLOBAL STYLING -------------------- */

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	font-family: Arial, Helvetica, sans-serif;
	background: linear-gradient(155deg, #CCDCD8, #B0E0E6, #93E9BE);
}

nav {
	background-color: #E4E4E4;
	height: 80px;
}

nav {
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 5px 5px 22px rgba(0, 0, 0, 0.3);
  margin-bottom: 50px;
}

nav a {
  font-size: clamp(0.5rem, 1.2vw, 1rem);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 20px;
	width: 100px;
	height: 10px;
	padding: 10px 20px;
	margin: 15px;
  white-space: nowrap;
	background-color: #4A4A4A;
	color: #FFFFFF;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	transition: background-color 0.6s ease, color 0.6s ease;
}

nav a:hover {
	background-color: #BBCBC7;
	color: #000000;
}

/* Hide mobile dropdown by default */
.nav-dropdown {
  display: none;
}

.footer {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #E4E4E4;
	height: 80px;
}

.footer a {
	margin-right: 20px;
	font-size: 28px;
	color: #4A4A4A;
	transition: color 0.3s ease;
}

.footer a:hover {
  	color: #63c795;
}

.buttonLink {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 130px;
	height: 45px;
	border: none;
	border-radius: 8px;
	background-color: #4A4A4A;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.buttonLink:hover {
	background-color: #63c795;
}

/* -------------------- END GLOBAL STYLING -------------------- */


/* -------------------- START NUEVA PRODUCTS STYLING -------------------- */
.header {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 4% 2% 2% 2%;
  box-sizing: border-box;
}

.header.nuevabody {
  background: url("../images/nuevabody_header.png") center / contain no-repeat;
}

.header.nuevanitro {
    background: url("../images/nuevanitro_header.png") center / contain no-repeat;
}

.header.nuevasnowcollagen {
    background: url("../images/nuevasnowcollagen_header.png") center / contain no-repeat;
}

.header.nuevabeauty {
  background: url("../images/nuevabeauty_header.png") center / contain no-repeat;
}

.header .content {
  background-color: rgba(249, 249, 249, 0.85);
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 5px 5px 22px rgba(0,0,0,0.15);
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  box-sizing: border-box;
}

.header h1 {
  color: #2a2a2a;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.header h2 {
  color: #2a2a2a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.header h3 {
  color: #1a7f5a;
  margin-bottom: 0.5rem;
}

.header h4 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.header p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.highlight {
  background-color: rgba(147, 233, 190, 0.2);
  border-left: 4px solid #93E9BE;
  padding: 1rem;
  margin: 1rem 0;
  font-style: italic;
}

.comparison {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.comparison > div {
  background-color: rgba(249, 249, 249, 0.9);
  padding: 1rem;
  flex: 1;
  min-width: 280px;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.1);
}

.comparison ul {
  margin: 0.5rem 0 0 1.5rem;
}

.button-container {
  margin-top: 1.5rem;
  display: flex;
  gap: 14.7rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.buttonLink {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #93E9BE;
  color: #2a2a2a;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.buttonLink:hover {
  background-color: #76c89a;
}

.content .buttonLink {
	width: 200px;
}

.ordering {
  background-color: rgba(249, 249, 249, 0.85);
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 0 auto 2rem auto;
  max-width: 800px;
  width: 90%;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.1);
  box-sizing: border-box;
  padding: 0 2rem
}


.ordering h2 {
  color: #1a7f5a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.ordering ol {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.7;
  font-size: 1rem;
  color: #2a2a2a;
}

.ordering li {
  margin-bottom: 0.75rem;
}

.ordering a {
  color: #1a7f5a;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ordering a:hover {
  color: #0f4d37;
  text-decoration: underline;
}

/* -------------------- END NUEVA PRODUCTS STYLING -------------------- */

/* -------------------- TABLET MEDIA QUERY -------------------- */

@media (max-width: 925px) {
  .header.nuevabody,
  .header.nuevanitro,
  .header.nuevasnowcollagen,
  .header.nuevabeauty {
    background: none;
  }

  .nav {
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
  }

  .nav > a {
    display: none;
    width: 100%;
  }

  .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 25px;
      cursor: pointer;
      z-index: 1000;
      margin-left: auto;
      margin-right: 1rem;
  }

  .nav-dropdown {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 80px;
      left: 0;
      width: 100%;
      background-color: rgba(228, 228, 228, 0.95);
      border-radius: 0 0 5px 5px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      z-index: 999;
  }

  .nav-dropdown a {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  padding: 0.75rem 1.5rem;
	  text-align: center;
	  color: #FFFFFF;
	  background-color: #4A4A4A;
	  text-decoration: none;
	  font-weight: bold;
	  border-radius: 5px;
	  margin: 0.5rem auto;
	  width: 70%;
  	transition: background-color 0.3s ease;
  }

  .nav-dropdown a:last-child {
      border-bottom: none;
      margin-bottom: 1rem;
  }

    /* Show dropdown when active */
  .nav-dropdown.active {
      display: flex;
  }

  .hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #4A4A4A;
    border-radius: 2px;
  }

  .nav a.active {
    display: block;
    background-color: rgba(228, 228, 228, 0.95);
    border-radius: 5px;
    padding: 0.75rem 0;
    text-align: center;
    margin: 0.25rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .header {
    padding: 6% 5% 3% 5%;
    background-size: cover;
  }

  .header .content {
    padding: 1.5rem;
    max-width: 95%;
  }

  .header h1 {
    font-size: 1.6rem;
  }

  .header h2 {
    font-size: 1.3rem;
  }

  .header h3 {
    font-size: 1.1rem;
  }

  .comparison {
    flex-direction: column;
    gap: 1rem;
  }

  .button-container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 1rem;
    box-sizing: border-box;
  }

  .button-container .buttonLink {
    width: 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .ordering {
    width: 81%;
    max-width: 800px;
    padding: 1.5rem;
    margin: 0 auto 2rem auto;
    box-sizing: border-box;
  }

  .ordering h2 {
    font-size: 1.2rem;
  }

  .footer {
    height: auto;
    padding: 1rem;
    gap: 0.5rem;
  }

  .footer a {
    margin-right: 0;
    font-size: 24px;
  }
}

/* -------------------- END TABLET MEDIA QUERY -------------------- */

/* -------------------- MOBILE MEDIA QUERY -------------------- */

@media (max-width: 480px) {

  nav {
    height: 50px;
  }

  .nav-dropdown {
      top: 50px;
  }

  .header .content {
    padding: 1rem;
    width: 95%;
    box-sizing: border-box;
  }

  .header h1 { font-size: 1.4rem; }
  .header h2 { font-size: 1.1rem; margin-top: 1.5rem; }
  .header h3 { font-size: 1rem; }
  .header h4 { font-size: 0.95rem; }

  .highlight {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .comparison {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .comparison > div {
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  .button-container {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .button-container .buttonLink {
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    text-align: center;
    box-sizing: border-box;
  }

  .ordering {
    width: 85%;
    padding: 1rem;
    margin: 0 auto 2rem auto;
  }

  .ordering h2 { font-size: 1rem; }
  .ordering ol { font-size: 0.9rem; line-height: 1.5; }

  .footer {
	  height: 25px;
  }
}

/* -------------------- END MOBILE MEDIA QUERY -------------------- */