
/* ====================== header con nav var o encabezado ====================== */
.header {
  width: 100%;
  height: 10vh;
  min-height: 70px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
  position: relative;
  background-color: transparent;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.title-container {
  text-align: center;
  flex: 1;
  display: none; /* Oculto si no se usa */
}

.title-container h1 {
  color: white;
  font-size: 1.5rem;
  margin: 0;
  font-style: italic;
  font-size: 2rem;
}

.header .d-flex {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
  flex-shrink: 0;
}

/* ====================== main seccion video letras ======================= */
.video-container {
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Ocupa toda la pantalla */
  overflow: hidden;
}
.video-container video {
  width: 100%;
  height: 100vh; /* Se ajusta a la altura de la pantalla */
  object-fit: cover; /* Cubre sin deformarse */
}
/* Estilos de .text-overlay movidos a index.html para evitar conflictos */
/* Los estilos específicos para .video-section .text-overlay están en el HTML inline */
/* ====================== contenido de las secciones ====================== */
.parent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 20px;
  padding: 30px;
  max-width: 100%;
  margin: auto;
  background: #f9f9f7;
  position: relative;
}

.parent div {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  text-align: justify;
  color: #1a1a1a;
  line-height: 1.8;
}

.div1 {
  grid-column: span 2;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  border: 3px solid #8b6914;
  box-shadow: 0 4px 20px rgba(45, 80, 22, 0.15);
}
.div1 h3 {
  color: #2d5016;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.div2 {
  grid-row-start: 2;
  padding: 30px;
  padding-bottom: 0px;
  background: #ffffff;
  border-radius: 12px;
  border: 3px solid #8b6914;
  box-shadow: 0 4px 20px rgba(45, 80, 22, 0.15);
}
.div2 h3 {
  color: #2d5016;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.div3 {
  grid-column-start: 1;
  grid-row-start: 3;
  padding: 30px;
  padding-top: 0px;
  background: #ffffff;
  border-radius: 12px;
  border: 3px solid #8b6914;
  box-shadow: 0 4px 20px rgba(45, 80, 22, 0.15);
}
.div3 h3 {
  color: #2d5016;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: 1px;
}

.div4 {
  grid-row: span 2;
  grid-column-start: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.carousel-inner img {
  border-radius: 12px;
  border: 3px solid #8b6914;
  box-shadow: 0 4px 20px rgba(45, 80, 22, 0.2);
  max-height: 55vh;
  object-fit: cover;
  transition: all 0.3s ease;
}

.carousel-inner img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(45, 80, 22, 0.3);
  border-color: #2d5016;
}

/* Estilos para indicadores del carrusel infinito */
#carouselImagenes .carousel-indicators {
  margin-bottom: 1rem;
}

#carouselImagenes .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin: 0 5px;
  transition: all 0.3s ease;
}

#carouselImagenes .carousel-indicators button.active {
  background-color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

#carouselImagenes .carousel-indicators button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Mejorar controles del carrusel */
#carouselImagenes .carousel-control-prev,
#carouselImagenes .carousel-control-next {
  width: 5%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#carouselImagenes .carousel-control-prev:hover,
#carouselImagenes .carousel-control-next:hover {
  opacity: 1;
}

#carouselImagenes .carousel-control-prev-icon,
#carouselImagenes .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 10px;
}

/* ====================== Galeria de arboles ====================== */
.intro-galeria {
  padding: 50px 20px;
  text-align: center;
  background: #f9f9f7;
  position: relative;
}

#galeria {
  scroll-margin-top: 10vh; /* solicion al scroll de mrd jajaajaja */
}


.intro-titulo {
  margin-bottom: 20px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #2d5016;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 1rem;
}

.intro-titulo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: #8b6914;
}

.intro-texto {
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  max-width: 700px;
  margin: 0 auto;
  color: #2d5016;
  line-height: 1.8;
  font-style: italic;
}

.seccion__galeria{
    padding: 20px;
}

.gallery-img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    border: 3px solid #8b6914;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
}
.gallery-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
  border-color: #2d5016;
}
.gallery-title{
    font-style: italic;
    font-size: 1rem;
}






/*==================================== modal css =====================  */
.modal__element__contenedor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    width: 100%;
}
.boton__responsive{
     color: red;

}
.modal__element__uno {
    width: 100%;
    height: 50vh;
    overflow: hidden; /* para cortar el exceso de imagen si se sale */
}

#modalImagen {
    width: 100%;
    height: 50vh; /* o la altura que desees, como 60vh si prefieres más */
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.modal__title {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-align: center;
    color: #2d5016;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 1px;
}


.modal__title::after { /* linea divisoria del titulo*/
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #8b6914;
    margin: 12px auto 0;
    margin-bottom: 8px;
}

.modal__liena__divisioria::after { /* linea divisoria del titulo*/
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #8b6914;
    margin: 12px auto 0;
    margin-bottom: 8px;
}

.modal__indices {
    font-size: 0.85rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    color: #2c2416;
}

.modal__indices .info-linea {
    display: flex;
    gap: 5px;
    margin-bottom: 4px;
    line-height: 1.6;
}

.modal__indices .info-linea strong {
    font-weight: 600;
    font-style: italic;
    color: #3d4a35;
    font-family: 'Playfair Display', serif;
}

.modal__ubicacion {
    font-size: 0.85rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    color: #2c2416;
}

.modal__ubicacion .info-linea_ubicacion {
    gap: 5px;
    margin-bottom: 4px;
    text-align: center;
    line-height: 1.6;
}

.modal__ubicacion .info-linea_ubicacion strong {
    font-weight: 600;
    font-style: italic;
    color: #3d4a35;
    font-family: 'Playfair Display', serif;
}

.modal__iconos_ambientales {  /*iconos */
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    font-size: 1.8rem;
    color: #5a6b4a;
    filter: drop-shadow(0 2px 4px rgba(90, 107, 74, 0.3));
}

/* ====================== maquina de escribir  ====================== */
.typewriter-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  background: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid #8b6914;
  margin: 15px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(45, 80, 22, 0.15);
  position: relative;
}

.typewriter-container {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #2d5016;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #8b6914;
  width: fit-content;
  padding: 0 15px;
  letter-spacing: 1px;
}



*, 
*::before, 
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, 
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  background: #f9f9f7;
  color: #1a1a1a;
}

body {
  /* Removed flex layout that was breaking footer alignment */
  /* display: flex;
  align-items: stretch;
  justify-content: center; */
}

color-cards-app {
  flex: 1;
}

/* Layout inside component */
.app-root {
  height: 100vh;
  max-height: 100vh;
  width: 100vw;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 12px;
  gap: 10px;
}

/* Top bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.logo-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff9e4a, #f35c3b);
}

.top-title {
  font-size: 15px;
  font-weight: 600;
  color: #24211b;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff5e8;
  color: #8b5b25;
  border: 1px solid #f5dfc0;
}

/* Main card */
.main-card {
  flex: 1;
  min-height: 0;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(26, 20, 7, 0.06);
}

/* Palette header */
.palette-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.palette-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.palette-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a38a5b;
}

.palette-name {
  font-size: 18px;
  font-weight: 600;
  color: #2a241a;
}

.palette-sub {
  font-size: 11px;
  color: #92857a;
}

.palette-controls {
  display: flex;
  gap: 6px;
}

.icon-btn {
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3eee6;
  color: #5a4c3b;
}

.icon-btn strong {
  font-size: 13px;
}

.icon-btn.primary {
  background: #2e2920;
  color: #f7f3ea;
}

/* Color grid */
.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.color-card {
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
}

.color-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}

.color-name {
  font-size: 13px;
  font-weight: 500;
  color: #2a241a;
}

.color-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.65);
  color: #554635;
}

.color-meta {
  font-size: 10px;
  color: rgba(38, 30, 21, 0.8);
}

.color-meta strong {
  font-size: 11px;
}

/* Bottom bar */
.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: #1f1a13;
  color: #f8f3e6;
  border-radius: 14px;
}

.bottom-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bottom-title {
  font-size: 13px;
  font-weight: 500;
}

.bottom-sub {
  font-size: 11px;
  opacity: 0.8;
}

.bottom-cta {
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #f8f3e6;
  color: #30251a;
}

/* Small helper elements */
.small-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.inline-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 480px) {
  .app-root {
    border-radius: 18px;
  }
}

/* ====================== foter o pie de pagina ====================== */
#footer {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container__footer {
    max-width: 1170px;
    margin: auto;
}

.Foterxd {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.title__utb {
    color: #fff;
    margin: 0;
    margin-left: 15px;
}

.footer__ul {
    list-style: none;
    padding: 0 !important;
}

.li__footer {
    list-style-type: none !important;
}

#footer {
    background: #2d5016;
    padding: 30px 0 20px;
    backdrop-filter: blur(3px);
    border-top: 3px solid #8b6914;
    position: relative;
}

.footer-col {
    width: 21%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background: #8b6914;
    height: 2px;
    box-sizing: border-box;
    width: 60px;
}

.footer-col .footer__ul .li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col .footer__ul .li__footer .a__footer {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col .footer__ul .li__footer .a__footer:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links .a__footer {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links .a__footer:hover {
    color: #24262b;
    background-color: #ffffff;
}
.fas {
    margin: 7px;
    font-weight: 600;
}

.dr_utb {
    margin: 0;
    margin-right: 20px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
    text-align: end;
}

.hefo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hefo img {
    height: 30px;
    padding-left: 15px;
}

/* ================= media queris responsive  =========*/
/* ========== ≤ 768px (tablets y móviles grandes) ========== */
@media (max-width: 1110px){
  .logo-container{
    display: none;
  }
}
@media (max-width: 768px) {
  .logo-container {
    display: none;
  }

  .nav-container {
    padding: 0 1rem;
    justify-content: center;
  }

  .header .d-flex {
    gap: 0.25rem;
  }

  .title-container {
    font-size: 1.6rem!important;
  }

  .modal__element__contenedor {
    grid-template-columns: 1fr;
  }

  .parent {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .div1,
  .div2,
  .div3,
  .div4 {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
  .typewriter-container {
    font-size: 1.4rem;
  }
  .boton__responsive{
     color: white;

  }
}

/* ========== ≤ 576px (móviles medianos/pequeños) ========== */
@media (max-width: 576px) {
  .modal-dialog {
    max-width: 95%;
  }

  .title-container h1 {
    font-size: 1.5rem!important;
  }

  .footer-col {
    width: 100%;
  }
  .typewriter-container {
    font-size: 1.1rem;
      
  }
  .boton__responsive{
     color: white;

  }
}
/* ========== ≤ 576px (móviles medianos/pequeños) ========== */
@media (max-width: 400px) {
  .title-container h1{
    font-size: 1.2rem!important;
  }
}
