/* =========================================================
   ASADITOS - Estilo rústico paraguayo (con Bootstrap)
   Archivo general para todas las páginas
   Colores base: madera, fuego, dorado, crema
   ========================================================= */

/* Fuentes Google */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

/* =========================================================
   VARIABLES DE COLOR
   ========================================================= */
:root {
  --madera: #6f4226;
  --fuego: #b23a1f;
  --dorado: #e0b35a;
  --crema: #fbf5ec;
  --texto: #37261a;
  --muted: #7a5a45;
}

/* =========================================================
   RESET Y BASE
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--crema);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* =========================================================
   HEADER Y NAVEGACIÓN
   ========================================================= */
/* HEADER NUEVO */
.site-header {
  background: var(--madera);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 6px 0;
}

.logo-xl {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  border: 3px solid var(--dorado);
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.brand-title {
  font-family: 'Merriweather', serif;
  color: var(--dorado);
  font-size: 2rem;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 14px;
  transition: all .2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: rgba(255,255,255,0.1);
  color: var(--dorado) !important;
}

.btn-success {
  background-color: #25d366;
  border: none;
}
.btn-success:hover {
  background-color: #1fae54;
}

/* Íconos sociales */
.social-icons i {
  color: var(--dorado);
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform .2s, color .2s;
}
.social-icons i:hover {
  transform: scale(1.2);
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .logo-xl {
    width: 80px;
    height: 80px;
  }
  .brand-title {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  .social-icons {
    display: none;
  }
}


/* =========================================================
   HERO (sección principal)
   ========================================================= */
.hero {
  background: linear-gradient(rgba(30,20,10,0.45), rgba(30,20,10,0.55)),
  url('https://i.ytimg.com/vi/-0PiLG3Sv70/hq720.jpg') center/cover no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text h2 {
  font-family: 'Merriweather', serif;
  color: var(--dorado);
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.hero-text p {
  color: #fff9ee;
  font-size: 1.05rem;
  max-width: 620px;
}

.btn-danger {
  background-color: var(--fuego);
  border: none;
}

.btn-danger:hover {
  background-color: var(--dorado);
  color: var(--madera);
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */
.section {
  padding: 48px 0;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.bg-light {
  background-color: var(--crema) !important;
}

/* =========================================================
   SECCIÓN "SOBRE NOSOTROS" / TRADICIÓN
   ========================================================= */
.card {
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid rgba(0,0,0,0.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-body h5,
.card-body h4 {
  font-family: 'Merriweather', serif;
  color: var(--fuego);
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* LISTAS */
ul.list-unstyled li {
  color: var(--texto);
  font-size: 1rem;
  margin-bottom: 6px;
}
/* QUIÉNES SOMOS */
.lead {
  font-size: 1.1rem;
  color: var(--texto);
}

.card h4, .card h5 {
  font-family: 'Merriweather', serif;
  color: var(--fuego);
}

.flag-gif img {
  border: 4px solid var(--dorado);
}
/* =========================================================
   PÁGINA DE PRODUCTOS — ESTILOS ESPECÍFICOS
   ========================================================= */

/* Contenedor de productos */
.row.g-4 .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

/* Efecto hover en productos activos */
.row.g-4 .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* Imagen del producto */
.row.g-4 .card img {
  width: 100%;
  height: 280px;                /* Aumentada para mejor visibilidad */
  object-fit: cover;            /* Mantiene proporción sin deformar */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: transform 0.3s ease;
}

/* Efecto de zoom suave al pasar el mouse */
.row.g-4 .card:hover img {
  transform: scale(1.03);
}

/* Título y texto */
.row.g-4 .card-body h4 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--fuego);
}

.row.g-4 .card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* Precio y botón */
.price-cta, .d-flex.justify-content-between {
  align-items: center;
}

.price-cta strong {
  color: var(--madera);
  font-size: 1.1rem;
}

/* Productos “Próximamente” */
.card.position-relative {
  position: relative;
}

.card.position-relative .bg-opacity-50 {
  backdrop-filter: blur(1px);
}

.card.position-relative .badge {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Overlay para bloquear productos no disponibles */
.card .position-absolute {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card.position-relative:hover .position-absolute {
  opacity: 1;
}

/* Texto “Próximamente” */
.card .position-absolute span,
.card .position-absolute {
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .row.g-4 .card img {
    height: 220px;              /* Ajuste proporcional en móviles */
  }
}

/* Más protagonismo visual en pantallas grandes */
@media (min-width: 992px) {
  .row.g-4 .card img {
    height: 320px;
  }
}
/* =========================================================
   UBICACIÓN & DATOS — ESTILOS ESPECÍFICOS
   ========================================================= */

.local-image {
  height: 340px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.local-image:hover {
  transform: scale(1.03);
}

.contact-form {
  background: #fff;
  border-radius: 12px;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--madera);
}

.contact-form .btn {
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.contact-form .btn:hover {
  transform: scale(1.05);
}

.contact-form textarea {
  resize: none;
}

/* Map frame */
.ratio iframe {
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .local-image {
    height: 260px;
  }
}
/* ================================================
   SECCIÓN UBICACIÓN — Ajuste de imagen y simetría
   ================================================ */

/* ============================================
   Imagen del local — cuadrada, centrada, simétrica
   ============================================ */
.local-image-container {
  width: 100%;
  aspect-ratio: 1 / 1; /* cuadrado perfecto */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.local-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta ligeramente si hace falta */
  border-radius: 12px;
}

/* Alinear con mapa y formulario */
.ratio.ratio-16x9,
.contact-form {
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   GALERÍA — Asaditos
   ========================================================= */
.gallery-item {
  border: 4px solid var(--dorado);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-item img {
  width: 100%;
  height: 230px; /* 🔥 todas las imágenes tendrán la misma altura */
  object-fit: cover; /* recorta manteniendo proporción */
  display: block;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Ajustes del texto */
.lead {
  color: var(--texto);
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-item img {
    height: 200px; /* un poco más chico en pantallas medianas */
  }
}
@media (max-width: 576px) {
  .gallery-item img {
    height: 170px; /* más compacto en celulares */
  }
}



/* =========================================================
   FORMULARIOS Y MAPAS (para página de contacto/datos)
   ========================================================= */
form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #cfc0a9;
  font-family: inherit;
  background: #fff;
}

form.contact-form button {
  align-self: flex-start;
}

.mapframe iframe {
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  display: block;
  width: 100%;
}

.local-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid var(--dorado);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--madera);
  color: #fff;
}

.site-footer i {
  color: var(--dorado);
  transition: transform .2s, color .2s;
}

.site-footer i:hover {
  transform: scale(1.2);
  color: #fff;
}

.site-footer p {
  color: #f3e7ce;
  margin-bottom: 0;
}

/* =========================================================
   UTILIDADES Y BOTONES PEQUEÑOS
   ========================================================= */
.btn-small {
  background: var(--madera);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.btn-small:hover {
  background: var(--fuego);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
  .logo-lg {
    width: 75px;
    height: 75px;
  }
  .brand-text h1 {
    font-size: 1.5rem;
  }
  .slogan {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .hero-text h2 {
    font-size: 1.9rem;
  }
  .hero {
    text-align: center;
  }
  .social-icons {
    display: none; /* ocultamos los íconos superiores en pantallas pequeñas */
  }
}
