/* FONTS */
h1 {
  font-family: "Viaoda Libre", serif;
  font-size: 2.8125rem; /* 45px */
  font-weight: 400;
}

h2, h3, p {
  font-family: "Karla", sans-serif;
}

h2 {
  font-size: 1.5rem; /* 24px */
  font-weight: 400;
}

h3 {
  font-size: 1.25rem;
  font-weight: 400;
}

p {
  font-size: 1.125rem; /* 18px */
  font-weight: 300;
}

  /* Imágenes fluidas en general */
  img {
    max-width: 100%;
    height: auto;
  }

/* BODY */
body {
  background-color: #FFFDF9;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background-color: #FFFDF9;
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
}

.logo-img {
  height: 80px;
  width: auto;
}

.logo-text {
  font-family: "Viaoda Libre", serif;
  font-size: 1.75rem;
  color: #5E3C2B;
  white-space: nowrap;
}

/* DESKTOP MENU */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: "Karla", sans-serif;
  font-size: 1.5rem;
  text-decoration: none;
  color: #5E3C2B;
  transition: color 0.3s ease;
}

.desktop-menu {
  display: flex;
  gap: 5rem;
}

/* HAMBURGER MENU (MOBILE) */
.menu-wrap {
  display: none;
  position: relative;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #5E3C2B;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation for X */
.menu-toggle:checked + .menu-icon span:nth-of-type(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle:checked + .menu-icon span:nth-of-type(2) {
  opacity: 0;
}
.menu-toggle:checked + .menu-icon span:nth-of-type(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* RESPONSIVE FOR SMALL SCREENS */
@media (max-width: 768px) {
  .navbar-container {
    padding: 1rem;
    gap: 0;
  }

  .desktop-menu {
    display: none;
  }

  .menu-wrap {
    display: block;
    align-self: flex-end;
  }

  .menu-icon {
    display: flex;
  }

  .mobile-menu {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 2.5rem;
    background-color: #FFFDF9;
    border: 1px solid #74510b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    z-index: 1000;
    gap: 1rem;
    width: 160px;
  }

  .menu-toggle:checked ~ .mobile-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu a {
    font-size: 1.25rem;
    padding: 0.5rem 0;
  }

  .logo-img {
    height: 60px;
  }

  .logo-text {
    font-size: 1.5rem;
    line-height: 1;
  }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 8rem;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 150px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-slide:not(.active) {
  opacity: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(255, 253, 249, 0.9), transparent);
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: calc(100vh - 150px);
  object-fit: cover;
  object-position: center 2%;
  display: block;
  border-radius: 0;
}

.image-2 {
  object-position: top center;
  border-radius: 0;
}

/* Text over image */
.hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 253, 249, 0.4);
  padding: 1rem 2.5rem 1.5rem 2.5rem;
  box-sizing: border-box;
  border-radius: 0;
  text-align: center;
  color: #5E3C2B;
  z-index: 1;
  animation: fadeUp 0.8s ease forwards;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-text h1 {
  font-family: "Viaoda Libre", serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-family: "Viaoda Libre", serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
}


.hero-button {
  font-family: "Karla", sans-serif;
  font-weight: 300;
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #EAC3CC;
  color: #FFFDF9;
  font-size: 1rem;
  border-radius: 5px;
  transition: transform 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.hero-button:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* Slider arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 4rem;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
  transition: transform 0.3s ease, color 0.3s ease;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.2);
  color: #F39FDA;
}

.arrow.prev {
  left: 1rem;
}

.arrow.next {
  right: 1rem;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.dot {
  all: unset;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 6px;
  transition: background-color 0.3s, transform 0.3s ease;
}

.dot:hover {
  background-color: #EAC3CC;
  transform: scale(1.3);
}

.dot.active {
  background-color: #5E3C2B;
}

.dot:focus {
  outline: 2px solid #5E3C2B;
  outline-offset: 2px;
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
  .hero-image {
    height: 100vh;
    object-fit: cover;
    object-position: center;
  }

  .hero-text {
    padding: 1rem;
    width: 100%;
    background-color: rgba(255, 253, 249, 0.85);
    border-radius: 0;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .arrow {
    padding: 1rem;
    font-size: 2.5rem;
  }

  .hero-button {
    font-size: 1.125rem;
    padding: 0.75rem 1.25rem;
  }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* INFO SECTION */
.info-section-container {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 0 1rem;
}

.info-heading {
  font-family: "Viaoda Libre", serif;
  font-size: 2.8125rem;
  color: #5E3C2B;
  text-align: center;
  margin-bottom: 3rem;
}

/* Blocks container */
.info-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

/* Reverse order on second block */
.info-block.reverse {
  flex-direction: row-reverse;
}

/* Margins for image/text separation */
.info-block.first-block .info-images {
  margin-right: 60px;
  margin-left: 0;
}

.info-block.reverse.second-block .info-images {
  margin-left: 60px;
  margin-right: 0;
}

/* Text and list */
.info-text {
  flex: 1;
  min-width: 280px;
  color: #5E3C2B;
}

.info-text h2,
.info-text h3 {
  font-family: "Karla", sans-serif;
  font-weight: 400;
  margin-bottom: 1rem;
  text-align: center;
  opacity: 1;
  transform: translateY(0px);
  transition: none;
}

.info-text h2,
.info-text h3 {
  opacity: 1;
  transform: none;
}

.info-text h2 {
  font-size: 1.5rem;
}

.info-text h3 {
  font-size: 1.25rem;
}

.info-list-container {
  background-color: #EAC3CC;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 1;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.info-list-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-list-container ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
  font-family: "Karla", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #5E3C2B;
}

.info-list-container ul li:hover {
  color: #A85C6B;
  transition: color 0.3s ease;
}

/* Image slider container */
.info-images {
  flex: 0 1 500px;
  position: relative;
}

/* Slider images */
.image-slider {
  position: relative;
  width: 100%;
  height: auto;
}

.image-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
}

.image-slider .slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Slider dots */
.slider-dots {
  text-align: center;
  margin-top: 6px;
}

.slider-dots .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 6px;
  background-color: #A85C6B;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
  background-color: #5E3C2B;
}

/* INFO SECTION RESPONSIVE */
@media (max-width: 768px) {
  .info-block,
  .info-block.reverse {
    flex-direction: column !important;
    gap: 2rem;
  }

  .info-images {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 0 0 !important;
  }

  .info-text {
    width: 100%;
  }

  .info-text h2,
  .info-text h3 {
    font-size: 1.375rem;
    text-align: center;
  }
}

/* CONTACT SECTION */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding: 50px 20px;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
  box-sizing: border-box;
  background: linear-gradient(180deg, #FFFDF9 0%, #FCE6EB 100%);
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info h2 {
  font-family: "Viaoda Libre", serif;
  font-size: 2.5rem;
  color: #5E3C2B;
  margin-bottom: 1rem;
}

/* FIX: font-size: 200 no es válido. Supongo que querías font-weight */
.contact-info h3 {
  font-family: "Karla", sans-serif;
  font-weight: 200; /* Extra light */
  color: #7a5a46;
  margin-bottom: 2rem;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 200px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-details p {
  margin: 0.5rem 0;
  color: #333;
}

.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-form h2 {
  font-family: "Viaoda Libre", serif;
  font-size: 2.5rem;
  color: #5E3C2B;
  margin-bottom: 1.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Karla", sans-serif;
  font-size: 1rem; /* corregido: 200 no es válido */
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-form button {
  background-color: #EAC3CC;
  color:#fff;
  border: none;
  padding: 0.75rem;
  font-family: "Karla", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.contact-form button:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-form label,
.contact-form button {
  font-family: "Karla", sans-serif;
  font-weight: 200; /* Extra Light */
}

html {
  scroll-behavior: smooth;
}

/* CONTACT RESPONSIVE */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }
}

.contact-info h2,
  .contact-form h2 {
    font-size: 2rem !important;
  }

.contact-form input,
  .contact-form textarea {
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
  }

  .contact-form button {
    font-size: 1.125rem !important;
    padding: 1rem 1.5rem !important;
  }

/* FOOTER */
.footer {
  background-color: #EAC3CC;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: "Viaoda Libre", serif;
  font-size: 1.4rem;
  color: #5E3C2B;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #5E3C2B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #c08457;
}

/* FOOTER RESPONSIVE */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}


/* About Us Section Specific Styles */

/* Contenedor principal con padding y max-width */
.about-section {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 0 1rem;
}

/* Encabezado principal centrado y con color */
.about-section .info-heading {
  font-family: "Viaoda Libre", serif;
  font-size: 2.8125rem;
  color: #5E3C2B;
  text-align: center;
  margin-bottom: 3rem;
}

/* Bloques de info: flexbox para texto + imagen */
.about-section .info-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

/* Reverso para alternar orden */
.about-section .info-block.reverse {
  flex-direction: row-reverse;
}

/* Texto */
.about-section .info-text {
  flex: 1;
  min-width: 280px;
  color: #5E3C2B;
}

/* Titulos secundarios */
.about-section .info-text h2 {
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Párrafos */
.about-section .info-text p {
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: justify;
}

/* Lista de valores */
.about-section .info-list-container {
  background-color: #EAC3CC;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: "Karla", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #5E3C2B;
}

.about-section .info-list-container li {
  margin-bottom: 0.5rem;
  cursor: default;
  transition: color 0.3s ease;
}

.about-section .info-list-container li:hover {
  color: #A85C6B;
}

/* Imágenes */
.about-section .info-images img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Nuevo estilo para About Us, sin animación, visible siempre */
.about-values-list {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

/* Responsive para pantallas menores a 768px */
@media (max-width: 768px) {
  .about-section .info-block,
  .about-section .info-block.reverse {
    flex-direction: column !important;
  }
  
  .about-section .info-images {
    width: 100%;
    margin: 1rem 0 0 0 !important;
    text-align: center;
  }

  .about-section .info-text {
    width: 100%;
  }
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
  line-height: 1.7;
}

.legal-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.legal-container h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
}

.legal-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-page {
  max-width: 850px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.legal-page h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-family: "Viaoda Libre", serif;
  color: #5E3C2B;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
  color: #5E3C2B;
}

.legal-page p {
  margin-top: 1rem;
  line-height: 1.7;
  font-family: "Karla", sans-serif;
  color: #333;
}
