/* ======================================================
   PLANTILLA COMERCIAL MULTIPROPÓSITO - BOOTSTRAP 5
   Fácilmente adaptable a cualquier negocio / comercio.
   ====================================================== */

:root {
  /* 🎨 CONFIGURACIÓN DE COLORES DE LA MARCA DEL CLIENTE */
  --brand-primary: #2563eb;       /* Color Principal (Botones, Destacados, Marca) */
  --brand-primary-hover: #1d4ed8; /* Color Principal al pasar el cursor (Hover) */
  --brand-secondary: #0f172a;     /* Color Secundario (Encabezados oscuros, Footer) */
  --brand-accent: #f59e0b;        /* Color de Acento (Estrellas, Badges, Botón secundario) */
  --brand-light: #f8fafc;         /* Fondo claro para secciones intercaladas */
  --brand-card-bg: #ffffff;       /* Fondo de tarjetas */
  --brand-text: #334155;         /* Color de texto principal */
  --brand-text-muted: #64748b;   /* Color de texto secundario / descripciones */

  /* 🔤 TIPOGRAFÍAS PROFESIONALES (Google Fonts: Poppins + Inter) */
  --brand-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --brand-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--brand-font-body);
  color: var(--brand-text);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand-text, .hero-title-h1 {
  font-family: var(--brand-font-heading);
}

/* --- BARRA DE ANUNCIOS SUPERIOR (TOP ANNOUNCEMENT BAR) --- */
.top-announcement-bar {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #f8fafc;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-announcement-bar a {
  color: #f59e0b;
  text-decoration: none;
  font-weight: 600;
}

.top-announcement-bar a:hover {
  text-decoration: underline;
}

/* --- EFECTO GLASSMORPHISM (CRISTAL ESMERILADO) --- */
.glass-navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* --- ANIMACIONES Y VISIBILIDAD DE SECCIONES (SIEMPRE VISIBLE) --- */
.reveal-element {
  opacity: 1 !important;
  transform: none !important;
  transition: all 0.5s ease;
}

.reveal-element.revealed {
  opacity: 1 !important;
  transform: none !important;
}


/* --- MÉTODOS DE PAGO E INSIGNIAS DE CONFIANZA --- */
.payment-badge {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}

.payment-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.trust-badge-card {
  padding: 24px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* --- Botones Personalizados --- */
.btn-brand-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-brand-primary:hover, .btn-brand-primary:focus {
  background-color: var(--brand-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-brand-outline {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  background-color: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-brand-outline:hover {
  background-color: var(--brand-primary);
  color: #ffffff;
}

/* --- Navegación (Navbar) --- */
.navbar-brand img {
  max-height: 45px;
  object-fit: contain;
}

.navbar-brand-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-secondary);
}

.nav-link {
  font-weight: 500;
  color: var(--brand-text);
  margin: 0 5px;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary) !important;
}

/* --- Hero Carousel / Slider de 4 Imágenes --- */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
}

.hero-slide {
  padding: 130px 0 100px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff !important;
  position: relative;
}

/* Color 1: Azul Oscuro / Marca */
.hero-slide-1 {
  background-color: #1e293b !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.90), rgba(37, 99, 235, 0.85)),
              url('../assets/img/local-1.svg') center/cover no-repeat !important;
  color: #ffffff !important;
}

/* Color 2: Verde Esmeralda */
.hero-slide-2 {
  background-color: #064e3b !important;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.90), rgba(5, 150, 105, 0.85)),
              url('../assets/img/local-2.svg') center/cover no-repeat !important;
  color: #ffffff !important;
}

/* Color 3: Púrpura / Índigo */
.hero-slide-3 {
  background-color: #4c1d95 !important;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.90), rgba(124, 58, 237, 0.85)),
              url('../assets/img/local-3.svg') center/cover no-repeat !important;
  color: #ffffff !important;
}

/* Color 4: Naranja Cálido / Ámbar */
.hero-slide-4 {
  background-color: #7c2d12 !important;
  background: linear-gradient(135deg, rgba(124, 45, 18, 0.90), rgba(234, 88, 12, 0.85)),
              url('../assets/img/local-4.svg') center/cover no-repeat !important;
  color: #ffffff !important;
}

.hero-title-h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title-h2 {
  font-size: 1.35rem;
  font-weight: 500;
  color: #f8fafc !important;
  max-width: 700px;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.75rem;
  height: 2.75rem;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background-size: 45%;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: #ffffff;
  opacity: 0.5;
  border: none;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  width: 32px;
  border-radius: 10px;
  opacity: 1;
  background-color: #ffffff;
}


/* --- Secciones Generales --- */
.section-padding {
  padding: 80px 0;
}

.bg-light-section {
  background-color: var(--brand-light);
}

.section-title {
  font-weight: 700;
  color: var(--brand-secondary);
  position: relative;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--brand-primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-title-left::after {
  margin: 12px 0 0;
}

/* --- Tarjetas e Información --- */
.info-card {
  background: var(--brand-card-bg);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 56px;
  height: 56px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* --- Galería de 4 Fotos --- */
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 260px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* --- Enlaces a Redes Sociales --- */
.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  color: #ffffff;
  opacity: 0.9;
}

.social-facebook { background-color: #1877f2; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-whatsapp { background-color: #25d366; }
.social-tiktok { background-color: #000000; }
.social-x { background-color: #14171a; }
.social-google { background-color: #ea4335; }

/* --- Mapa de Ubicación Embebido --- */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  height: 380px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.footer {
  background-color: var(--brand-secondary);
  color: #94a3b8;
  padding: 50px 0 25px;
}

.footer h5 {
  color: #ffffff;
  font-weight: 600;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-section {
    padding: 90px 0 60px;
  }
  .gallery-item {
    height: 220px;
  }
  .whatsapp-float-tooltip {
    display: none;
  }
}

/* --- Botón Flotante de WhatsApp (Siempre visible al hacer scroll) --- */
.whatsapp-float {
  position: fixed !important;
  width: 60px !important;
  height: 60px !important;
  bottom: 25px !important;
  right: 25px !important;
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  text-align: center !important;
  font-size: 32px !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.whatsapp-float:hover {
  background-color: #20ba5a !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7) !important;
}

.whatsapp-float-tooltip {
  position: fixed !important;
  bottom: 35px !important;
  right: 95px !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 8px 14px !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
  z-index: 999998 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  animation: pulse-tooltip 2s infinite !important;
}

@keyframes pulse-tooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}


