  
/* ESTILOS GENERALES */
:root {
  --alma-fondo-general: #E7E5D8;
  --alma-color-texto: #623e2a;
  --alma-color-header: #fdfaec;
}

@font-face {
    font-family: "Quincy CF";
    src: url("../fonts/quincy-cf-light.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "SVN-Miller Banner";
    src: url("../fonts/SVN-Miller\ Banner.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
}

body {
  background-color: var(--alma-fondo-general);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(14px, 0.6vw + 8px, 22px);
  color: var(--alma-color-texto);
}
/* SECCION PRINCIPAL:HEADER */

 .contenedor-header{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;

    color: var(--alma-color-header);
    z-index: 1;
}
.background-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
} 
.title{
    font-family: 'SVN-Miller Banner',sans-serif;
    font-size: clamp(36px, calc(14.857143px + 6.607143vw), 110px);


    position: absolute;
    bottom: 5%; 
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
    z-index: 2;
}
/* Navbar General */
.navbar-brand {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 500;
}
.navbar-brand:hover, .navbar-brand:focus , .navbar-brand:active {
    color: #FFFFFF;
}
/* Iconos Header */
#icon-idiomas{
    width: 1em;
    height: 1em;
    margin-bottom: 3px;
}
#icon-principal{
    width: 2em;
    height: 2em;
}
/* Fin Iconos Header */
/* Switch */
.form-check-input{
    margin-left: 0 !important;
    float: none !important;
    background-color: #593D2D;
    border: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}
.form-check-input:checked{
    background-color: #593D2D;
}
.form-check-input:focus {
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-label.active {
    font-size: 1.1rem;
}
.form-switch {
    padding-left: 0 !important;
}
/* Fin Switch */
.navbar-hamburguer {
    display: none;
}
.navbar-toggler {
    border:none
}
.navbar-toggler:focus {
    outline:none;
    text-decoration: none;
    box-shadow:none
}

@media (max-width: 768px) {
    .navbar-horizontal {
        display: none
    }
    .navbar-hamburguer {
        display: block;
    }

    /* Estado cerrado (aria-expanded="false") */
    .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Estado abierto (aria-expanded="true") */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
        width: 1em;
        height: 1em;
        opacity: 0.5;
        filter: invert(1) grayscale(100%) brightness(200%);;
    }
    .nav-item:active,.nav-item:focus,.nav-item:hover{
        background-color: #D9D8D0;
    }
    .nav-item{
        display: block;
        width: 100%;
        text-align: center;
        color: #737373;
        font-weight: 500;
    }
    .contenedor-header{
        height: 85vh;
    }
}

/* SECCION 1: BIENVENIDOS A CASAS ALMAHUE */
.contenedor-titulo h1 {
  font-family: 'Quincy CF', sans-serif;
  color: var(--alma-color-texto);
  font-size: clamp(37px, 2.5vw, 60px);
}
.contenedor-titulo h5{
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 600;
}
.imagenbienvenido {

  height: clamp(512px, 40vw, 800px);  
  max-width: clamp(490px, 38vw, 1000px); 
  width: 100%; 
  object-fit: cover; 
}

/* BOTON CONTACTANOS */
.btn-contacto {

  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  background-color: #DAC3AE;
  color: var(--alma-color-texto);
  border: none;

  border-radius: 12px;
  width: 260px;
  height: 55px;

  position: absolute;
  bottom: 20px; 
  left: 50%;

  transform: translateX(-50%); 
  z-index: 2; 
}

@media (min-width: 1920px) {
    .btn-contacto{
        width: 390px;
        height: 83px;
        border-radius: 18px;
    }

}
@media ( max-width:375px) {
    .btn-contacto{
        width: 184px;
        height: 39px;
        border-radius: 8.5px;
    }

}
/* FIN BOTON CONTACTANOS */
.icon-contacto{
  width: 28px;
  height: 20px;

  vertical-align: text-bottom;
}

.contenedor-bienvenida{
  display:grid;
  grid-template-columns: repeat(2,fr);
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 70px);
}
.contenedor-titulo{
  grid-column: 1;
  grid-row: 1/2;
}
.contenedor-parrafos{
  grid-column: 1;
  grid-row: 2/3;

  padding-right: 2em;
}
.contenedor-imagen{
  grid-column: 2;
  grid-row: 1/4;

  position: relative;
  display:inline-block;
}



@media (max-width: 992px) {
  .contenedor-bienvenida{
    grid-template-columns: 1fr;
  }
  .contenedor-titulo{
    grid-column: 1;
    grid-row: 1;
  }
  .contenedor-parrafos{
    grid-column: 1;
    grid-row: 2;
    padding-right: 0em;
  }
  .contenedor-imagen{
    grid-column: 1;
    grid-row: 3;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .contenedor-bienvenida{
    grid-template-columns: 1fr;
  }
  .contenedor-titulo{
    grid-column: 1;
    grid-row: 1;
  }
  .contenedor-parrafos{
    grid-column: 1;
    grid-row: 3;
    padding-right: 0em;
  }
  .contenedor-imagen{
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    margin-bottom: 30px;
  }
  .imagenbienvenido{
    width: 100%;
    height: auto;
  }

  .btn-contacto {
    bottom: -20px; 
  }
}

/* SECCION 2: CONOCE CASAS ALMAHUE */
.contanedor-seccion2{
    padding: 0 clamp(20px, 5vw, 70px) clamp(60px, 8vw, 120px) clamp(20px, 5vw, 70px);
}
.titulo-seccion2 {
    font-family: 'Quincy CF', sans-serif;
    color: var(--alma-color-texto);
    font-size: clamp(37px, 2.5vw, 60px);
    text-align: center;
}

.carousel-nav {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    white-space: nowrap;
    scroll-behavior: smooth;
    margin: 0 auto; 
}
.carousel-nav::-webkit-scrollbar {
    height: 12px;
    background-color: transparent;
}

.carousel-nav::-webkit-scrollbar-track {
    background-color: transparent;
    border: 1px solid var(--alma-color-texto);
    border-radius: 10px;
}

.carousel-nav::-webkit-scrollbar-thumb {
    background-color: var(--alma-color-texto);
    border-radius: 10px;
}
  

.carousel-nav button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;

    font-size: clamp(14px, 0.6vw + 8px, 22px);
}

.carousel-nav button.active {
    background-color: #dac3ae;
    border-radius: 13px;
}
#carouselExampleDark {
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  height: 100%;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  filter: none; 
}

.carousel-control-prev {
  left: clamp(1rem, 10vw, 20rem);
}

.carousel-control-next {
  right: clamp(1rem, 10vw, 20rem);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none; 
  width: clamp(15px, 2vw, 5vw);  
  height: clamp(15px, 2vw, 5vw);  
  max-width: 30px;
  max-height: 30px;
  border: solid var(--alma-color-texto);
  border-width: 0 3px 3px 0;
  padding: 5px;
  display: inline-block;
}

.carousel-control-prev-icon {
  transform: rotate(135deg);
}

.carousel-control-next-icon {
  transform: rotate(-45deg);
}

.anchocarrusel{
   width: 50%;
}



.carrusel-1{
    aspect-ratio: 806.5 / 553.66;
    height: 100%;
}
.carrusel-1 img{
    object-fit: cover;
}

/* LOGICA CAROUSEL */
/* Overlay slideshow en slide de cocina */
.slide-carousel .overlay-slideshow{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0; 
  transition: opacity 300ms ease;
}
.slide-carousel.active-overlay .overlay-slideshow{
  opacity: 1; /* se muestra cuando el slide esté activo */
}
.slide-carousel .overlay-slideshow .overlay-frame{
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2000ms ease; /* fade de 2s */
}
.slide-carousel .overlay-slideshow .overlay-frame.is-visible{
    opacity: 1;
}
/*  fin logica carousel*/

.carrusel-centrado{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrusel-3{
    aspect-ratio: 806.5 / 350.66;
    height: 100%;
}
.carrusel-3 img{
    object-fit: cover;
}

.grid-layout-right,.grid-layout-left{
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: repeat(2, 1fr); 
    height: 100%;
}

.grid-layout-right > div:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.grid-layout-right > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.grid-layout-right > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.grid-layout-left > div:nth-child(1) {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.grid-layout-left > div:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
}

.grid-layout-left > div:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

/* Sección 2 : Versión movil */
.contanedor-seccion2-movil{
    padding: 0 clamp(20px, 5vw, 70px) clamp(60px, 8vw, 120px) clamp(20px, 5vw, 70px);
    display:none
}
.btn-photos{
    background-color:#DAC3AE;
    color: var(--alma-color-texto);
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;

    border: none;
    border-radius: 12px;
    padding: 4px 14px;
}
.scroll-vertical {
    max-height: 80vh;       /* alto máximo del área visible */
    overflow-y: auto;       /* activa scroll vertical */
    padding: 1rem;
}

.scroll-vertical img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.fa-xmark {
    color: #E7E5D8;
}
@media (max-width: 768px) {
    .contanedor-seccion2{
        display:  none;
    }
    .contanedor-seccion2-movil{
        display:block;
    }
}

  /* Estilos para el carrusel interno personalizado */
  .carrusel-interno {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .carrusel-interno-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
  }
  
  .carrusel-interno-slide {
    min-width: 100%;
    height: 100%;
  }
  
  .carrusel-interno-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Tipografías */
/* body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #e7e5d8;
  color: #623E2A;
} */

/* Contenedor principal */
.experiencias {
  text-align: center;
  padding: 60px 20px;
}

/* Título */
.experiencias h1 {
  font-family: "quincy-cf", sans-serif;
  font-weight: 300; /* */
  font-style: normal;
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #623E2A;
  margin-bottom: 60px;
}

/* Grilla */
.grid-experiencias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Tarjetas */
.card {
  background-color: #e7e5d8;
  border: 0px solid #623E2A;
  border-radius: 0px;
  overflow: hidden;
  text-align: center;
  margin: 20px;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card p {
  border: 1px solid #623E2A;  /* línea más gruesa */
  margin-top: 10px; /* separación entre imagen y texto */
  padding: 20px 0;            /* más espacio interno dentro del recuadro */
  font-size: 1rem;
  font-weight: 500;
  color: #623E2A;
}

/* Adaptación móvil */
@media (max-width: 600px) {
  .experiencias h1 {
    font-size: 1.6rem;
  }

  .card p {
    font-size: 0.95rem;
  }
  .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px; /* ?? más espacio entre las tarjetas dentro del grid */
  justify-items: center;
  padding: 20px;
}

}
/* ----------------------------- */
/* Nueva seccion */
.informacion {
  position: relative;
  background-image: url('../img/fondo.jpg');
  width: 100%;
  min-height: 100vh; 
  background-size: cover;
  background-position: center;
  color: #e7e5d8;
  padding: 100px 0;
  text-align: center;
  display: flex;
}
.informacion .overlay {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.informacion h2 {
  font-family: "quincy-cf", serif;
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 200;
  margin-top: 20px;
  color: #fff;
  margin-bottom: 70px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.info-columns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: clamp(20px, 5vw, 60px);
  flex-wrap: nowrap;
  max-width: 95vw;
  margin: 0 auto;
  padding-top: clamp(60px, 10vh, 120px);
}
/*  Cada tarjeta */
.info-columns ul {
  flex: 1;
  list-style: disc;
  text-align: left;
  background-color: rgba(128, 92, 39, 0.7);
  padding: clamp(16px, 2vw, 30px);
  border-radius: 10px;
  min-width: 200px;
  width: clamp(220px, 25vw, 360px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center; 
}
.info-columns li {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.3rem);
  margin-bottom: 10px;
}
/*  Vista móvil */
@media (max-width: 768px) {
  .informacion {
    padding-top: 60px;
  }
  .info-columns {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .info-columns ul {
    width: 50%;
    max-width: 400px;
    height: auto;
    padding: 24px;
    /* align-items: center; */
  }
  .info-columns li {
    font-size: 1rem;
    text-align: left;
  }
}
.contacto {
  text-align: center;
  padding: 80px 20px;
  background-color: #e5e1d4;
  font-family: "Montserrat", sans-serif;
  color: #623E2A;
}
.contacto h2 {
  font-family: "quincy-cf", serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 50px;
}
.formulario-contacto {
  background-color: #f2eee2;
  border: 2px solid #a28d74;
  border-radius: 10px;
  padding: 40px;
  max-width: 620px;
  margin: 0 auto 40px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.formulario-contacto label {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #a28d74;
  border-radius: 6px;
  font-family: inherit;
  background-color: #fffaf0;
}
.formulario-contacto input:not([required]),
.formulario-contacto textarea:not([required]) {
  background-color: #fff;
}
.formulario-contacto textarea {
  background-color: #fff;
}
.btn-enviar {
  background-color: #a07b42;
  color: white;
  border: none;
  padding: 10px 50px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-enviar:hover {
  background-color: #8b6a37;
}
.mensaje-exito {
  background-color: #e5e1d4;
  margin: 0 auto;
  text-align: center;
  max-width: 450px; 
  margin: 0 auto;
}
.mensaje-exito h3 {
  margin-bottom: 40px;
  color: #70502b;
}
.oculto {
  display: none;
}
.privacidad {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 2;
  color: #5b3a1c;
  margin: 0 auto;
}
.mensaje-exito {
   text-align: center;
  animation: fadeIn 0.6s ease;
}
.mensaje-exito .check {
  width: 80px;
  animation: checkAppear 0.8s ease forwards;
  opacity: 0; 
  transform: scale(0.5);
}
.mensaje-exito .brevedad {
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 40px; /* 80px */
  margin-top: 50px;
}
.oculto {
  display: none;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes checkAppear {
  0% { opacity: 0; transform: scale(0.5); }
  70% { opacity: 1; transform: scale(1.2); }
  100% { 
    transform: scale(1); 
    opacity: 1; /* <--- Solución aquí */
  }
}

.footer {
  background-color: #623E2A; 
  color: #E5E1D4; 
  padding: 80px 20px;
  font-family: "Montserrat", sans-serif;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
}
.footer-col {
  padding: 0 30px; 
  border-right: 1px solid #A28D74;
  text-align: left; 
}
.footer-col:last-child {
  border-right: none;
}
.footer-logo {
  width: 60px;
  margin-bottom: 25px;
}
.footer-col h4 {
  font-family: "quincy-cf", serif;
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #F2EEE2;
}
.col-title-spaced {
  margin-top: 40px;
}
.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-info i {
  font-size: 1.2rem; /* Tamaño del ícono */
  color: #A28D74; 
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #E5E1D4;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col p a {
  text-decoration: underline;
}
/* --- Responsividad del Footer --- */
@media (max-width: 768px) {
  .title{
    white-space: normal;
    font-size:30px;
  }
  .footer-container {
    /* Cambia de 3 columnas a 1 sola */
    grid-template-columns: 1fr; 
    gap: 30px;
  }
  .footer-col {
    border-right: none; /* Quita las líneas divisorias en móvil */
    padding: 20px 0;
    /* Añade un borde abajo para separar en móvil */
    border-bottom: 1px solid #A28D74; 
  }
  .footer-col:last-child {
    border-bottom: none; /* Quita el borde de la última */
  }
}

