@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.025);
  }
  50% {
    transform: scale(1.05);
  }
  75% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}
html {
  scroll-padding-top: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", Arial, sans-serif;
  background-color: rgb(242, 231, 226);
  color: rgb(92, 18, 54);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding-left: 0;
}

/* Logo de WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  animation: pulse 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}
.whatsapp-btn:hover {
  animation-play-state: paused;
}
.whatsapp-btn img {
  width: 50px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2666666667));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.whatsapp-btn img:hover {
  transform: scale(1.2) translateY(-5px) translateX(-5px);
  filter: drop-shadow(0 0 8px rgb(92, 18, 54));
}

.contact__input-container button[type=submit], .product-card__btn {
  background-color: rgb(186, 34, 95);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3333333333);
  width: 100%;
  padding: 12px;
  font-weight: 600;
}

/* ---------- HEADER SECTION (Mobile) ---------- */
.header {
  background-color: rgb(186, 34, 95);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3333333333);
  position: sticky;
  top: 0px;
  z-index: 10;
}
.header__nav {
  max-width: 1320px;
  margin: auto;
}
.header__logo {
  height: 3rem;
  width: auto;
  filter: drop-shadow(0 0 5px rgb(140, 25, 71));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.header__logo:hover {
  filter: drop-shadow(0 0 5px rgb(242, 231, 226));
  transform: scale(1.15) rotate(720deg);
}
.header__open-nav-button {
  border: none;
}
.header__open-nav-button:focus {
  box-shadow: none;
}
.header__open-nav-button .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 242, 231, 226 %29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: background-image 0.2s ease-out;
}
.header__open-nav-button .navbar-toggler-icon:hover {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 214, 56, 120 %29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.header__nav-list {
  margin-top: 5px;
}
.header__nav-item:hover {
  background-color: rgb(214, 56, 120);
  border-radius: 10px;
}

.nav-link {
  color: rgb(242, 231, 226);
  font-size: 1.15rem;
  font-weight: bold;
  text-align: center;
  transition: color 0.3s ease-in-out, transform 0.3s ease;
}
.nav-link:is(:hover, :focus) {
  color: rgb(255, 255, 255);
  transform: scale(1.06);
}
.nav-link--active {
  color: rgb(255, 255, 255);
  text-shadow: 0 0 5px rgb(255, 255, 255);
}

/* ---------- MEDIA QUERIES ---------- */
@media screen and (min-width: 768px) { /* Tablets en horizontal y portátiles pequeñas (md) */
  .header__nav-list {
    /* margin-left: auto;             /* Reemplazado por la clase 'ms-md-auto' de Bootstrap */
    margin-top: 0px;
    gap: 10px;
  }
  .header__nav-item:is(:hover, :focus) {
    background-color: transparent;
  }
}
/* ---------- HEADER ENDS ---------- */
/* ---------- FOOTER SECTION (Mobile) ---------- */
.footer {
  background-color: rgb(140, 25, 71);
  color: rgb(255, 255, 255);
  padding: 25px 0;
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__column {
  text-align: center;
}
.footer__title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}
.footer__list {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer__list--social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  font-size: 1.3rem;
}
.footer__list-item a {
  transition: color 0.3s ease;
}
.footer__list-item a:hover {
  color: rgb(214, 56, 120);
}

/* ---------- MEDIA QUERIES ---------- */
@media screen and (min-width: 768px) { /* Tablets en horizontal y portátiles pequeñas (md) */
  .footer .container {
    flex-direction: row;
    justify-content: space-around;
    max-width: 1320px;
    margin: 0 auto 15px auto;
  }
  .footer__column {
    flex: 1;
  }
}
/* ---------- FOOTER ENDS ---------- */
/* ---------- HOME SECTION (Mobile) ---------- */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3333333333)), url("../assets/hero.webp");
  background-size: cover;
  background-position: center;
  color: rgb(242, 231, 226);
  text-align: center;
  height: 90vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.hero__title {
  text-wrap: balance;
  font-size: 3rem;
  font-weight: bold;
}
.hero__subtitle {
  text-wrap: pretty;
  font-size: 1.3rem;
  max-width: 600px;
  padding: 0 30px;
}
.hero__btn {
  background-color: rgb(140, 25, 71);
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  margin: 30px;
  transition: transform 0.3s ease;
}
.hero__btn:hover {
  transform: scale(1.1);
}

.home__container {
  padding: 20px 0;
}

.categories__title {
  margin: 30px 0;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
}
.categories__description {
  font-size: 1.25rem;
  font-weight: 600;
}
.categories-flex {
  margin: 20px auto 20px;
  max-width: 600px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: stretch;
  gap: 25px;
}
.categories__item {
  display: grid;
  justify-items: center;
  transition: transform 0.3s ease;
}
.categories__item:hover {
  transform: translateY(-5px);
}
.categories__item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3333333333);
}

/* ---------- PRODUCT SECTION (Mobile) ---------- */
.products {
  padding-top: 20px;
}
.products__section {
  margin-bottom: 3rem;
}
.products__title {
  text-align: center;
  font-size: 2.2rem;
  margin: 30px 0;
  font-weight: 600;
}

.product-card {
  background-color: rgb(255, 255, 255);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3333333333);
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  max-width: 240px;
  margin: auto;
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: scale(1.02);
}
.product-card img {
  height: 200px;
  object-fit: cover;
  object-position: center;
}
.product-card__content {
  display: flex;
  flex-direction: column;
}
.product-card__title {
  color: rgb(140, 25, 71);
  text-align: center;
  font-size: 1.25rem;
}
.product-card__price {
  color: rgb(186, 34, 95);
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  margin-top: auto;
  margin-bottom: 10px;
}
.product-card__btn {
  transition: background-color 0.3s ease;
}
.product-card__btn:hover {
  background-color: rgb(140, 25, 71);
}

/* ---------- PRODUCT ENDS ---------- */
/* ---------- ABOUT SECTION (Mobile) ---------- */
.about {
  padding: 1.25rem 0;
}
.about__data {
  /* La clase 'row' de Bootstrap contiene display: flex */
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}
.about__content {
  margin-bottom: 1.5rem;
  text-align: center;
}
.about__title {
  font-size: 2.2rem;
  margin: 30px 0;
  font-weight: 600;
}
.about__description {
  text-wrap: pretty;
  font-size: 1.2rem;
  margin: 15px 0;
}
.about__img {
  width: 100%;
  height: 100%;
  /* Mantiene la proporción de la imagen recortando el excedente para llenar el contenedor */
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* ---------- MEDIA QUERIES ---------- */
@media screen and (min-width: 992px) { /* Notebooks y PC de escritorio (lg) */
  .about {
    padding: 5.25rem 0;
  }
  .about__data {
    flex-direction: row-reverse;
    align-items: stretch;
  }
  .about__content {
    text-align: left;
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .about__title {
    text-align: center;
  }
  .about__img-container {
    display: flex;
    padding: 0;
    margin-bottom: 0;
  }
  .about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/* ---------- ABOUT ENDS ---------- */
/* ---------- CONTACT SECTION (Mobile) ---------- */
.contact {
  padding: 40px 0;
}
.contact__title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 600;
}
.contact__form {
  background-color: transparent;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.contact__fieldset {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.contact__fieldset:hover {
  border-color: rgb(140, 25, 71);
}
.contact__legend {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.contact__input-container label {
  font-weight: 500;
  margin: 12px 0 5px;
}
.contact__input-container :is(input, textarea, select) {
  color: rgb(92, 18, 54);
  width: 100%;
  padding: 0.6rem;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-family: inherit;
}
.contact__input-container :is(input, textarea, select):focus {
  outline: 1px solid rgb(140, 25, 71);
}
.contact__input-container textarea {
  resize: none;
  min-height: 120px;
}
.contact__input-container button[type=submit] {
  font-size: 1.2rem;
  transition: background-color 0.3s;
}
.contact__input-container button[type=submit]:hover {
  background-color: rgb(140, 25, 71);
}
.contact__address {
  margin: 20px 0;
  margin-bottom: 0;
  border-radius: 8px;
  overflow: hidden;
}

/* ---------- MEDIA QUERIES ---------- */
@media screen and (min-width: 992px) { /* Notebooks y PC de escritorio (lg) */
  .personal-information {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "name lastname" "email phone";
    gap: 20px;
  }
  .name {
    grid-area: name;
  }
  .lastname {
    grid-area: lastname;
  }
  .email {
    grid-area: email;
  }
  .phone {
    grid-area: phone;
  }
}
/* ---------- CONTACT ENDS ---------- */

/*# sourceMappingURL=styles.css.map */
