/* ==========================================================================
   DETALLE DEL NEGOCIO - DISEÑO SIMPLE
   ========================================================================== */

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

body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==================== TOP BAR ==================== */
.top-bar-detalle {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
}

.top-bar-content-detalle {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons-top {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s;
  font-size: 14px;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.social-icon:nth-child(1):hover { background: #ff0000; color: white; } /* YouTube */
.social-icon:nth-child(2):hover { background: #1877f2; color: white; } /* Facebook */
.social-icon:nth-child(3):hover { background: #e4405f; color: white; } /* Instagram */
.social-icon:nth-child(4):hover { background: #000; color: white; } /* TikTok */
.social-icon:nth-child(5):hover { background: #1da1f2; color: white; } /* Twitter */

.top-bar-logo-detalle img {
  height: 25px;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb-detalle {
  background: white;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
}

.breadcrumb-detalle a {
  color: #1565c0;
  transition: color 0.2s;
}

.breadcrumb-detalle a:hover {
  text-decoration: underline;
}

/* ==================== MAIN ==================== */
.main-detalle {
  padding: 30px 0;
}

.container-detalle {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.detalle-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
}

/* ==================== COLUMNA IZQUIERDA ==================== */
.detalle-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header del negocio */
.negocio-header {
  background: white;
  padding: 25px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.negocio-logo-grande {
  width: 100px;
  height: 100px;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.negocio-logo-grande img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.negocio-header-info {
  flex: 1;
}

.negocio-nombre {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.negocio-direccion,
.negocio-categoria {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.btn-telefono-header {
  padding: 12px 24px;
  background: #7cb342;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-telefono-header:hover {
  background: #689f38;
}

/* Secciones */
.negocio-seccion {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.seccion-titulo {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
}

/* Horarios */
.horarios-header {
  background: #e8f5e9;
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-badge {
  font-size: 13px;
  font-weight: 500;
}

.status-badge.abierto {
  color: #4caf50;
}

.horario-actual {
  font-size: 13px;
  color: #666;
}

.horarios-tabla {
  width: 100%;
  border-collapse: collapse;
}

.horarios-tabla tr {
  border-bottom: 1px solid #f5f5f5;
}

.horarios-tabla td {
  padding: 12px 0;
  font-size: 14px;
}

.dia-nombre {
  color: #666;
  width: 30%;
}

.hora-valor {
  color: #333;
}

.dia-nombre.destacado,
.hora-valor.destacado {
  color: #1565c0;
  font-weight: 500;
}

/* Descripción */
.negocio-descripcion {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* Galería */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.galeria-item {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f5f5;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galeria-dots {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #1565c0;
}

/* Dirección */
.direccion-texto {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.btn-ver-mapa {
  padding: 10px 20px;
  background: #1976d2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-ver-mapa:hover {
  background: #1565c0;
}

/* Website */
.website-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 14px;
  color: #1565c0;
  transition: background 0.2s;
}

.website-link:hover {
  background: #e0e0e0;
}

/* ==================== COLUMNA DERECHA: Formulario ==================== */
.detalle-right {
  display: flex;
  flex-direction: column;
}

.contact-form-box {
  background: #003d5c;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form-title {
  color: white;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group-detalle {
  position: relative;
}

.form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
}

.form-group-detalle input,
.form-group-detalle textarea {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-group-detalle textarea {
  padding-top: 12px;
  resize: vertical;
}

.form-group-detalle textarea + .form-icon {
  top: 20px;
  transform: none;
}

.form-group-detalle input:focus,
.form-group-detalle textarea:focus {
  border-color: #1565c0;
}

.btn-enviar-mensaje {
  padding: 12px 20px;
  background: white;
  color: #003d5c;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-enviar-mensaje:hover {
  background: #f5f5f5;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .detalle-layout {
    grid-template-columns: 1fr;
  }
  
  .detalle-right {
    order: -1;
  }
}

@media (max-width: 768px) {
  .negocio-header {
    flex-direction: column;
  }
  
  .negocio-logo-grande {
    width: 100%;
    height: 200px;
  }
  
  .galeria-grid {
    grid-template-columns: 1fr;
  }
  
  .social-icons-top {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .top-bar-content-detalle {
    flex-direction: column;
    gap: 15px;
  }
}
