/* ==========================================================================
   BIKE BREAK — Estilos de Tarjeta Digital & Landing Page Minimalista
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET Y VARIABLES GENERALES
   -------------------------------------------------------------------------- */
:root {
  /* Paleta de Colores Inspirada en el Logo */
  --bg-primary: #140e0a;
  --bg-secondary: #1d140e;
  --card-bg: rgba(33, 23, 16, 0.92);
  --card-border: rgba(217, 138, 41, 0.22);
  --card-hover-border: rgba(217, 138, 41, 0.6);
  
  --accent-gold: #d98a29;
  --accent-amber: #e69d35;
  --accent-bronze: #8c5316;
  --accent-gradient: linear-gradient(135deg, #e69d35 0%, #b86b16 100%);

  --text-main: #f7f1e5;
  --text-muted: #c2b09d;
  --text-dark: #120b07;

  --whatsapp-color: #25d366;
  --whatsapp-hover: #1da851;
  --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --facebook-color: #1877f2;
  
  --open-green: #2ecc71;
  --closed-red: #e74c3c;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(217, 138, 41, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 16px 60px;
  position: relative;
  overflow-x: hidden;
}

/* Fondo decorativo */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 10%, rgba(217, 138, 41, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(140, 83, 22, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   2. CONTENEDOR PRINCIPAL
   -------------------------------------------------------------------------- */
.card-container {
  width: 100%;
  max-width: 580px; /* Tamaño ideal de tarjeta digital móvil expandible */
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.6s ease-out;
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   3. SECCIÓN HERO / ENCABEZADO
   -------------------------------------------------------------------------- */
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(217, 138, 41, 0.15);
  position: relative;
}

/* Badge de Horario en Vivo */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--open-green);
  box-shadow: 0 0 8px var(--open-green);
}

.status-badge.closed .status-dot {
  background-color: var(--closed-red);
  box-shadow: 0 0 8px var(--closed-red);
}

/* Logo con Resplandor */
.logo-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 18px;
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent-gradient);
  filter: blur(14px);
  opacity: 0.35;
  transition: var(--transition-smooth);
}

.profile-logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.logo-wrapper:hover .profile-logo {
  transform: scale(1.04) rotate(2deg);
}

.logo-wrapper:hover .logo-glow {
  opacity: 0.6;
}

/* Nombres y Títulos */
.brand-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 4px;
  background: linear-gradient(180deg, #ffffff 30%, #f0c385 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.owner-badges-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.owner-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 138, 41, 0.1);
  border: 1px solid rgba(217, 138, 41, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.owner-badge.location-tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--accent-gold);
}

.owner-badge strong {
  color: var(--text-main);
}

.slogan-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 380px;
  margin-bottom: 22px;
}

/* Botones de Acción Inmediata */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
  background: rgba(217, 138, 41, 0.15);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-dark);
  font-weight: 700;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.glow-effect {
  position: relative;
}

/* --------------------------------------------------------------------------
   4. BLOQUES DE SECCIÓN COMUNES
   -------------------------------------------------------------------------- */
.section-block {
  padding: 24px 0;
  border-bottom: 1px solid rgba(217, 138, 41, 0.15);
}

.section-block:last-of-type {
  border-bottom: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-title svg {
  color: var(--accent-gold);
}

/* Sobre Nosotros */
.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. SECCIÓN DE SERVICIOS
   -------------------------------------------------------------------------- */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(18, 12, 8, 0.6);
  border: 1px solid rgba(217, 138, 41, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition-fast);
}

.service-card:hover {
  background: rgba(38, 25, 17, 0.8);
  border-color: var(--accent-gold);
  transform: translateX(4px);
}

.service-card.highlight-card {
  border-color: rgba(217, 138, 41, 0.4);
  background: rgba(217, 138, 41, 0.08);
}

.service-icon {
  font-size: 1.6rem;
  line-height: 1;
  padding: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.service-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.service-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   6. GALERÍA / CATÁLOGO DE PRODUCTOS
   -------------------------------------------------------------------------- */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.gallery-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  background-color: #0b0705;
}

.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(18, 11, 7, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--accent-gold);
}

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

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

/* --------------------------------------------------------------------------
   7. UBICACIÓN, HORARIOS Y CONTACTO
   -------------------------------------------------------------------------- */
.address-box {
  background: rgba(18, 12, 8, 0.6);
  border: 1px solid rgba(217, 138, 41, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.address-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.address-icon {
  font-size: 1.4rem;
  line-height: 1;
  background: rgba(217, 138, 41, 0.12);
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 138, 41, 0.2);
}

.address-details {
  display: flex;
  flex-direction: column;
}

.address-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.address-street {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: 2px;
}

.address-neighborhood {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.maps-btn {
  width: 100%;
  justify-content: center;
  background: rgba(217, 138, 41, 0.12);
  border-color: rgba(217, 138, 41, 0.35);
  color: var(--text-main);
}

.maps-btn:hover {
  background: rgba(217, 138, 41, 0.25);
  border-color: var(--accent-gold);
}

.schedule-box {
  background: rgba(18, 12, 8, 0.6);
  border: 1px solid rgba(217, 138, 41, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.schedule-row .days {
  color: var(--text-muted);
}

.schedule-row .hours {
  font-weight: 700;
  color: var(--accent-gold);
}

.schedule-row.highlight .hours {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Redes Sociales Grid */
.social-links-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(18, 12, 8, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.social-card:hover {
  background: rgba(38, 25, 17, 0.8);
  border-color: var(--accent-gold);
  transform: translateX(4px);
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.facebook-icon-wrap {
  background: rgba(24, 119, 242, 0.15);
}

.tiktok-icon-wrap {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: -1px 0 8px rgba(37, 244, 238, 0.3), 1px 0 8px rgba(254, 44, 85, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tiktok-svg-icon {
  filter: drop-shadow(-1.5px -0.8px 0px #25F4EE) drop-shadow(1.5px 0.8px 0px #FE2C55);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.tiktok-card:hover .tiktok-icon-wrap {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: -2px 0 14px rgba(37, 244, 238, 0.7), 2px 0 14px rgba(254, 44, 85, 0.7);
  transform: scale(1.05);
}

.tiktok-card:hover .tiktok-svg-icon {
  filter: drop-shadow(-2.5px -1.2px 0px #25F4EE) drop-shadow(2.5px 1.2px 0px #FE2C55);
  transform: scale(1.1);
}

.social-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.social-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.social-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.arrow-icon {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.social-card:hover .arrow-icon {
  color: var(--accent-gold);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   8. FORMULARIO DE CONSULTA RÁPIDA
   -------------------------------------------------------------------------- */
.inquiry-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  background: rgba(10, 6, 4, 0.7);
  border: 1px solid rgba(217, 138, 41, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 8px rgba(217, 138, 41, 0.3);
}

/* Fix para opciones del select en navegador */
.form-input option {
  background-color: var(--bg-primary);
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.footer-section {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(217, 138, 41, 0.15);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.copyright strong {
  color: var(--text-main);
}

.tagline-footer {
  font-size: 0.78rem;
  color: var(--accent-gold);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   10. BOTÓN FLOTANTE WHATSAPP (FAB)
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--whatsapp-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  background-color: var(--whatsapp-hover);
}

.fab-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--whatsapp-color);
  opacity: 0.6;
  animation: pulseAnimation 2s infinite ease-out;
  z-index: -1;
}

@keyframes pulseAnimation {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* --------------------------------------------------------------------------
   11. MODAL LIGHTBOX PARA IMÁGENES
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2rem;
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-img-container {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-footer {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.lightbox-footer h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-main);
}

/* Media Queries para Responsive refinado */
@media (max-width: 400px) {
  .card-container {
    padding: 24px 16px;
  }
  .brand-title {
    font-size: 2rem;
  }
  .quick-actions .btn {
    width: 100%;
  }
}
