@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

* {
  font-family: 'Bebas Neue', sans-serif;
}

html, body {
  overflow-x: hidden;
}

.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

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

.container *:not(header):not(header *):not(nav):not(nav *):not(.menu-toggle):not(.swiper-container):not(.swiper-container *):not(.swiper-section):not(.swiper-section *):not(footer):not(footer *):not(.contact-form):not(.contact-form *).container *:not(header):not(header *):not(nav):not(nav *):not(.menu-toggle):not(.swiper-container):not(.swiper-container *):not(.swiper-section):not(.swiper-section *):not(footer):not(footer *):not(.contact-form):not(.contact-form *):not(.contact-title):not(.contact-title *):not(.contact-subtitle):not(.contact-subtitle *) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}



.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}




/* Header */
header {
  width: 100%;
  height: 130px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.logo img {
  height: 110px;
  margin-top: 15px;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  text-decoration: none;
  letter-spacing: 2px;
  padding: 10px 20px;
  border: 2px solid #D14A27;
  border-radius: 4px;
  color: #D14A27;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: #D14A27;
  color: #fff;
}

/* Imagen principal */
.container-img {
  width: 100%;
  max-width: 2560px;
  margin: 150px auto;
  height: 650px;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  position: absolute;
  top: 0;
  left: 0;
  transition: filter 1s ease !important;
}

.text-img {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 30px;
  letter-spacing: 5px;
  
}

.container-img:hover img {
  filter: blur(6px);
}

.container-img:hover .text-img {
  transform: scale(1.2);
  letter-spacing: 6px;
  transition: transform 1s ease, color 0.8s ease, letter-spacing 0.8s ease;
}

/* Section intermedia */
.intro-text-title {
  text-align: center;
  font-size: 3rem;
  letter-spacing: 2px;
  color: #D14A27;
}

.intro-text {
  max-width: 2560px;
  margin-top: 60px;
  padding: 20px;
  letter-spacing: 2px;
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.6;
  border: 2px solid #ffffff;
  background-color: #D14A27;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Swiper section */
.swiper-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 250px auto;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.title-swiper {
  flex: 1;
  text-align: left;
  max-width: 400px;
}

.title-swiper h1 {
  font-size: 4rem;
  line-height: 1.2;
  color: #D14A27;
  margin: 0;
  transform: rotate(-5deg);
  transform-origin: left top;
  letter-spacing: 2px;
}

.swiper-container {
  flex: 2;
  max-width: 700px;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: #D14A27 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }

  .text-img {
    padding: 12px;
    font-size: 20px;
  }

  .container-img:hover .text-img {
    transform: scale(1.1);
    padding: 32px;
  }

  .swiper-container {
    width: 100%;
    object-fit: none;
    height: auto;
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .swiper-section {
    flex-direction: column;
    gap: 20px;
  }

  .title-swiper {
    text-align: center;
    max-width: 100%;
  }

  .title-swiper h1 {
    font-size: 3rem;
    transform: none;
  }

  .menu-toggle {
    display: block !important;
    cursor: pointer;
    font-size: 3rem;
    top: 20px;
    right: 20px;
    color: #D14A27;
    position: relative;
    z-index: 11;
  }

  nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    border-top: 2px solid #D14A27;
    border-radius: 4px;
    z-index: 10;
    text-align: center;
    justify-content: center;
    width: 90%;
  }

  nav.show {
    display: flex;
    padding: 50px;
    gap: 40px;
    min-height: 300px;
  }

  .logo img {
    height: 105px;
  }

   .container-history {
    flex-direction: column;
    align-items: center;
  }

  .history-texts p:last-of-type {
    text-align: center;
  }

 .history-image {
    max-width: 100%;
    display: flex;         
    justify-content: center;
    align-items: center;    
    margin-top: 20px;        
  }

  .history-image img {
    width: auto;
    max-width: 300px;
    height: auto;
  }
}

.container-ratings {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* centra todo horizontalmente */
}

.section-ratings h3 {
  font-size: 3rem;
  color: #D14A27;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-ratings p {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 50px;
}

/* Swiper */
.ratings-swiper {
  width: 100%;
  max-width: 900px;
  padding: 0; /* quitar padding para que las flechas se alineen */
  box-sizing: border-box;
}

.rating-slide {
  background-color: #fff;
  padding: 40px 35px; /* padding menor */
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 200px;
}

.rating-slide .stars {
  font-size: 1.8rem;
  color: #FFD700;
}

.rating-slide p {
  margin-top: 10px;
  font-size: 1.6rem;
  margin: 0;
}

.rating-slide span {
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-weight: bold;
  color: #D14A27;
}

/* Swiper buttons 
.swiper-button-next,
.swiper-button-prev {
  color: #D14A27 !important;
  top: 50%; /* centra verticalmente 
  transform: translateY(-50%);
}*/

/* Swiper pagination 
.swiper-pagination-bullet {
  background-color: #D14A27 !important;
}*/

/* Responsive */
@media (max-width: 768px) {
   .ratings-swiper {
    max-width: 100%;
  }

  .rating-slide {
    padding: 15px;
  }

  .section-ratings h3 {
    font-size: 2.2rem;
  }

  .section-ratings p {
    font-size: 1rem;
  }

  .rating-slide p {
    font-size: 1.6rem;
  }
  .rating-slide span{
    font-size: 1.4rem;
    padding-top: 20px;
  }
  .info-text .email-text{
    font-family: 'League Spartan', sans-serif; /* fuente parecida pero con minúsculas */
    text-transform: none;
    font-size: 15px;
  }
}



  footer.container-footer {
    flex-direction: column-reverse;
    height: auto;
    text-align: center;
  }

  .img-footer {
    width: 150px !important;
    height: 150px !important;
  }

  footer.container-footer .info {
    flex: none;
  }

  footer.container-footer .info .info-text {
    font-size: 17px;
  }
  .info-text .email-text{
    font-family: 'League Spartan', sans-serif; /* fuente parecida pero con minúsculas */
    text-transform: none;
    font-size: 15px;
  }

@media(max-width: 375px) {
  .img-footer {
    width: 106px !important;
    height: 106px !important;
  }
  footer.container-footer .info .info-text {
    font-size: 14px;
  }
  .info-text .email-text{
    font-family: 'League Spartan', sans-serif; /* fuente parecida pero con minúsculas */
    text-transform: none;
    font-size: 15px;
  }
}

@media(min-width: 768px){

  .menu-toggle.about-none{
    display:none;
  }
}

/* Footer */
footer.container-footer {
  width: 100%;
  margin: 0;
  height: 300px;
  background-color: #D14A27;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  box-sizing: border-box;
}

footer.container-footer .info {
  flex: 1;
}

footer.container-footer .info-text {
  color: white;
  letter-spacing: 4px;
  margin: 10px 30px;
  font-size: 1.2rem;
}

.img-footer {
  width: 300px;
  height: 300px;
  border-radius: 4px;
  right: 10px;
}

/* Sección sobre mí */

.entry-title {
  text-align: center;
  color: #D14A27;
  margin-top: 150px;
  letter-spacing: 2px;
  font-size: 60px;
}

.container-history {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1600px;
  margin: 65px auto;
  padding: 20px;
  gap: 40px; /* espacio entre textos e imagen */
  box-sizing: border-box;
  flex-wrap: wrap; /* para móviles, que se apilen */
}

.history-texts {
  flex: 2; /* ocupa más espacio */
}

.history-texts p:first-of-type {
  font-size: 1.8rem;
  color: #333;
  line-height: 1.8rem;
  text-align: left;
}

.history-texts p:last-of-type {
  font-size: 1.7rem;
  color: #D14A27;
  padding-top: 20px;
  margin-bottom: 0;
  text-align: left;
}

.history-image {
  flex: 1; /* ocupa menos espacio que los textos */
  max-width: 300px; /* tamaño de la imagen */
}

.history-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.history-texts p.fade-in,
.history-image img.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.contact-section {
  background-color: #fff;
  color: #D14A27;
  padding: 100px 20px;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
}

.contact-title {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.contact-subtitle {
  font-size: 1.5rem;
  margin-bottom: 50px;
  line-height: 1.6;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  background-color: #D14A27;
  color: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 22px;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #D14A27;
  border-radius: 5px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff7f50;
  box-shadow: 0 0 10px rgba(209, 74, 39, 0.5);
}

.contact-button {
  background-color: #fff;
  color: #D14A27;
  padding: 15px 30px;
  border: 2px solid #D14A27;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.contact-button:hover {
  background-color: #D14A27;
  color: #fff;
  border: 2px solid #fff;
}

/* Sección productos */
    .productos-section {
      max-width: 1200px;
      margin: 150px auto;
      padding: 0 20px;
      text-align: center;
    }

    .productos-title {
      font-size: 3rem;
      letter-spacing: 2px;
      color: #D14A27;
      margin-bottom: 50px;
    }

    .productos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }

    /* Tarjeta */
    .producto-card {
      background-color: #d85f41;
      border: 2px solid #fff;
      border-radius: 10px;
      padding: 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .producto-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 15px;
    }

    .producto-card h3 {
      font-size: 2rem;
      color: #fff;
      margin-bottom: 10px;
    }

    .producto-card .personas {
      font-size: 1.2rem;
      color: #333;
      margin-bottom: 5px;
    }

    .producto-card .precio {
      font-size: 1.6rem;
      color: #fff;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .ver-detalles,
    .cerrar-detalles {
      background: #fff;
      color: #d85f41;
      border: none;
      padding: 8px 15px;
      margin-top: 10px;
      border-radius: 5px;
      cursor: pointer;
    }

    /* Overlay detalles */
    .detalles-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255,255,255,0.97);
      color: #333;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .detalles-content {
      text-align: left;
      padding: 20px;
      max-width: 90%;
    }

    .detalles-content h4 {
      font-size: 1.5rem;
      margin-bottom: 10px;
      color: #d85f41;
    }

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

    .detalles-content ul li {
      position: relative;
      padding-left: 25px;
      margin-bottom: 8px;
    }

    .detalles-content ul li::before {
      content: "✓";
      position: absolute;
      left: 0;
      color: #d85f41;
      font-weight: bold;
    }

    .producto-card.show-overlay .detalles-overlay {
      opacity: 1;
      pointer-events: auto;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .productos-title {
        font-size: 2.2rem;
      }

      .producto-card h3 {
        font-size: 1.8rem;
      }

      .producto-card .precio {
        font-size: 1.5rem;
      }
    }
