/* =============================================
   SALONES SECTION - ESTILOS CSS SIN TAILWIND
   ============================================= */

/* Reset específico (no global) */
.salones-section,
.salones-section *,
.salones-section *::before,
.salones-section *::after {
  box-sizing: border-box;
}

/* Contenedor principal de la sección */
.salones-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: rgba(249, 250, 251, 0.5);
}

@media (min-width: 640px) {
  .salones-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .salones-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header de la sección */
.salones-header {
  text-align: center;
  margin-bottom: 3rem;
}

.salones-title {
  font-size: 1.875rem;
  font-weight: 300;
  color: #111827;
  letter-spacing: -0.025em;
  margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
  .salones-title {
    font-size: 2.25rem;
  }
}

.salones-title span {
  font-weight: 600;
  color: #0044a5;
}

.salones-subtitle {
  margin-top: 0.75rem;
  color: #6b7280;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.625;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .salones-subtitle {
    font-size: 1rem;
  }
}

/* Contenedor de artículos */
.salones-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.salones-container > * + * {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .salones-container > * + * {
    margin-top: 2.5rem;
  }
}

/* Artículo individual (tarjeta de salón) */
.salon-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.salon-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .salon-card {
    flex-direction: row;
    min-height: 450px;
  }
  
  .salon-card.salon-reverse {
    flex-direction: row-reverse;
  }
}

/* Contenedor de imagen */
.salon-image-container {
  position: relative;
  width: 100%;
  height: 16rem;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #f3f4f6;
}

@media (min-width: 768px) {
  .salon-image-container {
    width: 41.666667%;
    height: 100%;
  }
}

.salon-image-container img,
.salon-image {
  display: block;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
}

.salon-card:hover .salon-image {
  transform: scale(1.05);
}

/* Badge de capacidad */
.salon-capacidad-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  z-index: 10;
  width: fit-content;
}

@media (min-width: 768px) {
  .salon-capacidad-badge {
    right: auto;
  }
}

.salon-capacidad-badge svg {
  height: 1rem;
  width: 1rem;
  color: #0044a5;
  flex-shrink: 0;
}

.salon-capacidad-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1f2937;
}

/* Contenido del salón */
.salon-content {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .salon-content {
    width: 58.333333%;
    padding: 2rem;
  }
}

.salon-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1rem 0;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .salon-name {
    font-size: 1.5rem;
  }
}

.salon-description {
  color: #4b5563;
  font-weight: 300;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

/* Acciones del salón */
.salon-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  border-top: 1px solid #f9fafb;
}

/* Botón principal - Cotizar */
.btn-cotizar {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background-color: #0044a5;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cotizar:hover {
  background-color: #1e40af;
}

.btn-cotizar:focus {
  outline: 2px solid #0044a5;
  outline-offset: 2px;
}

/* Botón secundario - Ver Galería */
.btn-galeria {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background-color: #f9fafb;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  transition: background-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-galeria:hover {
  background-color: #f3f4f6;
}

.btn-galeria:focus {
  outline: 2px solid #0044a5;
  outline-offset: 2px;
}

.btn-galeria svg {
  height: 1rem;
  width: 1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* ==================== TABLAS DE SALONES ==================== */

.salon-desc-texto {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a4a;
}

@media (min-width: 768px) {
  .salon-desc-texto {
    font-size: 16px;
  }
}

.salon-tabla-wrapper {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
}

.salon-tabla {
  width: 100%;
  font-size: 12px;
  text-align: left;
  color: #4b5563;
  border-collapse: collapse;
}

.salon-tabla-thead {
  background-color: #f9fafb;
  color: #1f2937;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.salon-tabla-th {
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.salon-tabla-th-center {
  text-align: center;
}

.salon-tabla-tbody {
  background-color: #ffffff;
}

.salon-tabla-tr {
  border-bottom: 1px solid #f3f4f6;
}

.salon-tabla-tr:last-child {
  border-bottom: none;
}

.salon-tabla-td {
  padding: 8px 12px;
}

.salon-tabla-td-center {
  text-align: center;
  font-weight: 500;
  color: #0044a5;
}

/* ==================== UTILIDADES ==================== */

/* Estilos para el scroll en el contenido */
.salon-content::-webkit-scrollbar {
  width: 4px;
}

.salon-content::-webkit-scrollbar-track {
  background: transparent;
}

.salon-content::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 2px;
}

/* Ocultar scrollbar para navegadores */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}