:root {
    --primary-color: #2c2522;
    --secondary-color: #9e285f;
    --accent-color: #e8982a;
    --brand-brown: #8c6c4e;
    --text-color: #f7f5f2;
    --text-dark: #4f4a45;
}
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Zilla Slab', serif;
    color: white;
    font-weight: 700;
}

.card-light h1, .card-light h2, .card-light h3, .card-light h4 {
    color: var(--primary-color);
}

.btn-custom {
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
    padding: 12px 35px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 5px;
}

.btn-custom:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* --- Navbar --- */
.navbar {
    padding: 1.5rem 0;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    max-height: 80px;
    transition: max-height 0.3s ease-in-out;
}

.navbar.scrolled .navbar-brand img {
    max-height: 55px;
}

.nav-link {
    font-weight: 500;
    color: white !important;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
}

.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(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .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(44,37,34,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    position: relative;
    color: white;
}

.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}



.hero-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 4.2rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1.5rem auto 2.5rem;
    font-weight: 300;
}

/* --- Secciones --- */
.section-padding {
    padding: 100px 0; /* Reducido ligeramente para mejor visualización */
}

.section-title {
    font-size: 2.8rem; /* Ajustado para mejor legibilidad */
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4rem;
}

/* --- Sección Nosotros --- */
.about-section .content-box {
    background-color: var(--secondary-color);
    padding: 3rem;
    border-radius: 5px;
    position: relative;
    z-index: 2;
    margin-top: 0;
    color: var(--text-color);
    
}

.about-section .content-box h2 {
    color: white;
}

/* --- Sección Carta --- */
.menu-section {
    background: var(--primary-color);
}

/* --- Sección Promociones --- */
.promo-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-dark);
    text-align: center;
    height: 100%;
}

.promo-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    border: 5px solid var(--accent-color);
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.promo-card h3 {
    color: var(--accent-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.image-gallery-section img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Muestra toda la imagen sin recortarla */
    border-radius: 10px;

}
/* Aplica a cualquier tile de la galería que use background-image */
.image-gallery-section [style*="background-image"],
.image-gallery-section .bg-photo,
.image-gallery-section .gallery-tile {
  background-size: contain !important;   /* muestra la imagen completa */
  background-repeat: no-repeat !important;
  background-position: center center !important;
  aspect-ratio: 16 / 9;                  /* controla la altura sin cortar */
  width: 100%;
}


/* --- Sección Ubicaciones --- */
.location-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.location-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.location-card-body {
    padding: 1.5rem;
}

.location-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* --- Sección Contacto --- */
.contact-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    padding: 2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* --- Footer --- */
.footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    color: var(--text-dark);
}

.footer a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-color);
}

.social-icons a {
    font-size: 1.5rem;
}

/* --- Responsive Media Queries --- */

/* Tablets y dispositivos intermedios (>= 768px y < 992px) */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .about-section .content-box {
        margin-top: 2rem;
        padding: 2rem;
    }
    .promo-card img {
        width: 180px;
        height: 180px;
    }
    /* El navbar en móvil siempre tendrá fondo al abrir el menú */
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
    .nav-link {
        color: var(--primary-color) !important;
    }
    .nav-link::after {
        background-color: var(--secondary-color);
    }
}

/* Dispositivos Móviles (< 768px) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content h2 {
        font-size: 1.3rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-section .row {
        flex-direction: column-reverse; /* Mueve el texto debajo de la imagen */
    }
    .about-image-wrapper h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    .image-gallery-section .col-md-4 {
        /* Bootstrap ya apila las columnas en móvil, pero aseguramos el comportamiento */
        width: 100%;
    }
    .image-gallery-section img {
        height: auto; /* Altura automática para evitar distorsión */
    }
    .footer .small {
        font-size: 0.8rem;
    }
    .footer .mx-2 {
        display: block; /* Muestra cada enlace del footer en una nueva línea */
        margin: 5px 0 !important;
    }
    .footer .mb-4 > span {
        display: none; /* Oculta los separadores '|' en móvil */
    }
}
/* === FIX DEFINITIVO SOLO BARRA (más específico) === */

/* Barra SIEMPRE blanca (anula fondo/gradientes previos) */
nav.navbar.navbar-expand-lg {
  background-color: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid #eee !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.08) !important;
  transition: box-shadow .25s ease, background .25s ease;
  z-index: 1030; /* por si hay overlays arriba */
}

/* Si tu JS agrega .scrolled, mantenemos la misma apariencia */
nav.navbar.navbar-expand-lg.scrolled {
  background-color: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid #eee !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.10) !important;
}

/* Logo más grande (y no se encoge con .scrolled) */
nav.navbar.navbar-expand-lg .navbar-brand img {
  height: 90px !important;   /* cámbialo a 100px si lo quieres más grande */
  max-height: none !important;
  width: auto !important;
  transition: height .25s ease;
}
nav.navbar.navbar-expand-lg.scrolled .navbar-brand img {
  height: 90px !important;
  max-height: none !important;
}

/* Links del menú oscuros sobre fondo blanco */
nav.navbar.navbar-expand-lg .navbar-nav .nav-link {
  color: #1a1a1a !important;
  font-weight: 500;
}
nav.navbar.navbar-expand-lg .navbar-nav .nav-link:hover {
  color: #b07a45 !important;
  text-decoration: underline;
}

/* Toggler oscuro visible sobre blanco (sin cambiar clases del HTML) */
nav.navbar.navbar-expand-lg .navbar-toggler {
  border: 0 !important;
}
nav.navbar.navbar-expand-lg .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(26,26,26,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Responsive: logo un poco menor en pantallas medianas/pequeñas */
@media (max-width: 992px){
  nav.navbar.navbar-expand-lg .navbar-brand img { height: 72px !important; }
}
@media (max-width: 768px){
  nav.navbar.navbar-expand-lg .navbar-brand img { height: 64px !important; }
}

/* (opcional) fondo blanco al menú desplegado en móvil */
@media (max-width: 991.98px){
  nav.navbar.navbar-expand-lg .navbar-collapse{
    background-color:#ffffff !important;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
/* === Quitar cualquier overlay oscuro del banner/hero (forzado) === */
.hero-section::before,
.hero-section::after,
.hero-background::before,
.hero-background::after,
#heroCarousel .carousel-item::before,
#heroCarousel .carousel-item::after,
#heroCarousel::before,
#heroCarousel::after {
  content: none !important;
  background: none !important;
  opacity: 1 !important;
}

/* Por si el oscurecido se aplicó con mezcla/filtros */
.hero-section,
.hero-background,
#heroCarousel .carousel-item {
  mix-blend-mode: normal !important;
  filter: none !important;
}

/* Asegura que la imagen se vea tal cual */
.hero-background {
  background-size: cover !important;
  background-position: center center !important;
}
/* === Indicadores del banner === */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: transparent;
  transition: all 0.3s ease;
  margin: 0 4px;
}

.carousel-indicators .active {
  background-color: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

.carousel-indicators {
  bottom: 20px;
  z-index: 5;
}
/* Centrar SÓLO ese h1 específico en #nosotros */
#nosotros h1[data-aos="fade-up"]{
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
}
/* ===== NUEVA SECCIÓN NOSOTROS ===== */
#nosotros {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 100px 0;
}

#nosotros .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
}

#nosotros .lead {
  color: #f7f5f2;
  font-size: 1.1rem;
}

#nosotros .content-box h3 {
  color: #fff;
  font-size: 1.5rem;
}

#nosotros .content-box h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 600;
}

#nosotros img {
  border: 5px solid var(--accent-color);
  border-radius: 10px;
}

@media (max-width: 991px) {
  #nosotros .text-center {
    text-align: center !important;
  }
}

/* ===== NUEVA SECCIÓN NOSOTROS ===== */
#nosotros {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 100px 0;
}

#nosotros .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
}

#nosotros .lead {
  color: #f7f5f2;
  font-size: 1.1rem;
}

#nosotros .content-box h3 {
  color: #fff;
  font-size: 1.5rem;
}

#nosotros .content-box h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 600;
}

#nosotros img {
  border: 5px solid var(--accent-color);
  border-radius: 10px;
}

@media (max-width: 991px) {
  #nosotros .text-center {
    text-align: center !important;
  }
}
/* Ajuste del banner para todos los tamaños */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-background {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 85vh; /* altura estándar en escritorio */
  transition: all 0.4s ease-in-out;
}

/* Ajuste responsivo para pantallas pequeñas */
@media (max-width: 992px) {
  .hero-background {
    height: 60vh;
    background-position: center top;
  }
}

@media (max-width: 768px) {
  .hero-background {
    height: 88vh;
    background-size: cover;
    background-position: center center;
  }
}

@media (max-width: 576px) {
  .hero-background {
    height: 68vh;                      /* más alto, se ve bien en celular */
    background-size: cover;            /* llena el banner sin dejar espacios */
    background-position: center center;
  }
}
@media (max-width: 576px) {
  .hero-section { height: auto !important; }
  .carousel, .carousel-inner, .carousel-item { height: auto !important; }
  .hero-background {
    height: 68vh !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}
/* === Ajuste fino del banner en móviles (solo reduce altura) === */

/* Móviles grandes (401px – 576px) */
@media (max-width: 576px) and (min-width: 401px) {
  .hero-section { height: auto !important; }
  .carousel, .carousel-inner, .carousel-item { height: auto !important; }
  .hero-background {
    height: 56vh !important;            /* antes 68vh */
    background-size: cover !important;
    background-position: center center !important;
  }
  .carousel-indicators { bottom: 10px !important; }
}

/* Móviles medianos (361px – 400px) */
@media (max-width: 400px) and (min-width: 361px) {
  .hero-section { height: auto !important; }
  .carousel, .carousel-inner, .carousel-item { height: auto !important; }
  .hero-background {
    height: 52vh !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  .carousel-indicators { bottom: 10px !important; }
}

/* Móviles pequeños (<= 360px) */
@media (max-width: 360px) {
  .hero-section { height: auto !important; }
  .carousel, .carousel-inner, .carousel-item { height: auto !important; }
  .hero-background {
    height: 48vh !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  .carousel-indicators { bottom: 8px !important; }
}
/* ===== HOTFIX SOLO PARA CELULAR (<= 576px) ===== */
@media (max-width: 576px) {
  /* el contenedor del hero y el carrusel ya no fuerzan 100% de alto */
  .hero-section,
  #heroCarousel,
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  .carousel,
  .carousel-inner,
  .carousel-item {
    height: auto !important;
    min-height: 0 !important;
  }

  /* el fondo del slide (la imagen) sí tiene una altura controlada y sin zoom */
  #heroCarousel .hero-background,
  .hero-background {
    height: 33vh !important;              /* ajusta aquí si lo quieres aún más bajo (p.ej. 42vh) */
    background-size: cover !important;     /* llena sin dejar franjas */
    background-position: center center !important;
  

  /* indicadores un poco más arriba en móvil */
  .carousel-indicators { bottom: 10px !important; }
}





