/* Importar fuentes elegantes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Montserrat:wght@300;400;600;700&family=Dancing+Script:wght@400;500;600;700&family=Great+Vibes&family=Allura&display=swap');

/* Paleta: negro (#1c1c1c), plomo (#2e2e2e), crema (#f5f5dc) */
* { box-sizing: border-box; }
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background-color: #1c1c1c;
  color: #f5f5dc;
  margin: 0;
}

/* ===== Hero con video ===== */
.hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  background: #2e2e2e;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

/* Logo en esquina superior derecha */
.hero-logo {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 120px;
  height: auto;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7)) contrast(1.1) brightness(1.05);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.hero-logo img:hover {
  opacity: 1;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8)) contrast(1.2) brightness(1.1);
  transform: scale(1.02);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  text-align: center;
  padding: 2rem 1rem 3rem 1rem;
  overflow: visible;
}

.hero-overlay h1 {
  font-family: 'Great Vibes', 'Dancing Script', cursive;
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin: 0 0 2rem 0;
  padding: 0.5rem 0;
  color: #f5f5dc;
  text-shadow: 
    0 0 30px rgba(245, 245, 220, 0.8),
    0 6px 12px rgba(0, 0, 0, 0.9),
    0 3px 6px rgba(0, 0, 0, 1),
    0 12px 24px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.3;
  position: relative;
  overflow: visible;
}

.hero-overlay h1::after {
  content: 'Estudio Daniel Merquiz';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-overlay nav ul {
  display: flex;
  gap: clamp(0.5rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hero-overlay nav a {
  color: #f5f5dc;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
  transform: scale(1);
}

.hero-overlay nav a:hover {
  color: #fff;
  text-shadow: 
    0 0 10px rgba(245, 245, 220, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
  background: rgba(245, 245, 220, 0.1);
}

/* Menú sticky cuando se hace scroll */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(245, 245, 220, 0.2);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.sticky-nav.show {
  transform: translateY(0);
}

.sticky-nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  list-style: none;
  padding: 0 2rem;
  margin: 0;
  flex-wrap: wrap;
}

.sticky-nav a {
  color: #f5f5dc;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  padding: 0.5rem 1rem;
  background: rgba(245, 245, 220, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(245, 245, 220, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
  transform: scale(1);
}

.sticky-nav a:hover {
  background: rgba(245, 245, 220, 0.2);
  border-color: rgba(245, 245, 220, 0.4);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: #2e2e2e url("assets/hero-poster.jpg") center/cover no-repeat; }
}

@media (max-width: 768px) {
  .hero { height: 52vh; min-height: 320px; }
  
  .hero-logo {
    top: 1rem;
    right: 1rem;
    width: clamp(60px, 15vw, 100px);
  }
  
  .hero-overlay {
    padding: 2rem 1rem 2rem 1rem;
  }
  
  .hero-overlay h1 {
    font-size: clamp(2rem, 9vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    padding: 0.8rem 0;
    text-shadow: 
      0 0 25px rgba(245, 245, 220, 0.8),
      0 4px 8px rgba(0, 0, 0, 0.9),
      0 2px 4px rgba(0, 0, 0, 1),
      0 8px 16px rgba(0, 0, 0, 0.7);
  }
  
  .sticky-nav ul {
    gap: clamp(0.8rem, 4vw, 1.5rem);
    padding: 0 1rem;
  }
  
  .sticky-nav a {
    font-size: clamp(0.8rem, 3.5vw, 0.95rem);
    padding: 0.4rem 0.8rem;
  }
}

/* ===== Secciones base ===== */
section {
  padding: 2rem;
  border-bottom: 1px solid #444;
}

nav ul {
  list-style: none;
  padding: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
}

input, button {
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
}

button {
  background-color: #444;
  color: #f5f5dc;
  cursor: pointer;
}

button:disabled {
  background-color: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ===== Horas Disponibles en Reservas ===== */
#horas-disponibles-container {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(46, 46, 46, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(245, 245, 220, 0.2);
}

#horas-disponibles-container h3 {
  color: #f5f5dc;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-align: center;
}

.horas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hora-slot {
  padding: 0.8rem 0.5rem;
  background: #2e2e2e;
  color: #f5f5dc;
  border: 2px solid rgba(245, 245, 220, 0.3);
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.hora-slot:hover {
  background: #444;
  border-color: #f5f5dc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hora-slot.selected {
  background: #25D366;
  border-color: #25D366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.hora-slot.ocupado {
  background: #666;
  color: #999;
  cursor: not-allowed;
  border-color: #555;
}

.hora-slot.ocupado:hover {
  background: #666;
  border-color: #555;
  transform: none;
  box-shadow: none;
}

.no-horas-disponibles {
  text-align: center;
  padding: 2rem;
  color: #999;
}

.no-horas-disponibles p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.turno-section-cliente {
  margin-bottom: 1.5rem;
}

.turno-titulo-cliente {
  font-weight: 600;
  color: #f5f5dc;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid #25D366;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .horas-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.6rem;
  }
  
  .hora-slot {
    padding: 0.6rem 0.3rem;
    font-size: 0.85rem;
  }
  
  #horas-disponibles-container {
    padding: 0.8rem;
  }
}

.whatsapp-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

/* ===== Sección de Contacto ===== */
.social-media {
  text-align: center;
  margin: 2rem 0 3rem 0;
  padding: 1.5rem;
  background: rgba(46, 46, 46, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(245, 245, 220, 0.1);
}

.social-media h3 {
  color: #f5f5dc;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.instagram-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 25px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.instagram-link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.locations-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.location-item {
  background: rgba(46, 46, 46, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(245, 245, 220, 0.1);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-details h3 {
  color: #f5f5dc;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-details p {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(245, 245, 220, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  display: block;
}

/* Responsive para tablets y móviles */
@media (max-width: 992px) {
  .locations-container {
    gap: 2rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .map-container iframe {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .location-item {
    padding: 1rem;
  }
  
  .locations-container {
    gap: 1.5rem;
  }
  
  .social-media {
    margin: 1.5rem 0 2rem 0;
    padding: 1rem;
  }
  
  .instagram-link {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }
}

footer {
  background-color: #2e2e2e;
  text-align: center;
  padding: 1rem;
  color: #f5f5dc;
}

/* ===== PANEL DE ADMINISTRACIÓN ===== */
#admin-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1c1c1c 0%, #2e2e2e 100%);
  z-index: 9999;
  overflow-y: auto;
}

.admin-header {
  background: linear-gradient(45deg, #2e2e2e, #3a3a3a);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid #f5f5dc;
}

.admin-header h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #f5f5dc;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.logout-btn {
  background: linear-gradient(45deg, #dc3545, #c82333);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.admin-tabs {
  display: flex;
  background: #2e2e2e;
  padding: 0 2rem;
  gap: 1rem;
  border-bottom: 2px solid #3a3a3a;
}

.admin-tab-button {
  background: transparent;
  color: #f5f5dc;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  position: relative;
}

.admin-tab-button:hover {
  background: rgba(245, 245, 220, 0.1);
  transform: translateY(-2px);
}

.admin-tab-button.active {
  background: #f5f5dc;
  color: #1c1c1c;
  box-shadow: 0 -2px 8px rgba(245, 245, 220, 0.2);
}

.admin-content {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-tab-content {
  background: rgba(245, 245, 220, 0.05);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(245, 245, 220, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-tab-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #f5f5dc;
  margin-bottom: 1rem;
  text-align: center;
}

.admin-tab-content p {
  font-size: 1.1rem;
  color: #d0d0d0;
  text-align: center;
  margin-bottom: 2rem;
}

.coming-soon {
  text-align: center;
  padding: 2rem;
  background: rgba(245, 245, 220, 0.1);
  border-radius: 8px;
  border: 2px dashed rgba(245, 245, 220, 0.3);
}

.coming-soon p {
  font-size: 1.2rem;
  color: #f5f5dc;
  font-weight: 600;
}

/* Responsive para el panel de admin */
@media (max-width: 768px) {
  .admin-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .admin-header h1 {
    font-size: 2rem;
  }
  
  .admin-tabs {
    flex-direction: column;
    padding: 0 1rem;
  }
  
  .admin-tab-button {
    padding: 0.75rem 1rem;
    border-radius: 0;
  }
  
  .admin-content {
    padding: 1rem;
  }
  
  .admin-tab-content {
    padding: 1.5rem;
  }
  
  .admin-tab-content h2 {
    font-size: 1.5rem;
  }
}

/* ===== CALENDARIO DE HORARIOS ===== */
.calendar-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(245, 245, 220, 0.1);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(245, 245, 220, 0.2);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.calendar-header button {
  background: #f5f5dc;
  color: #1c1c1c;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-header button:hover {
  background: #e8e8c0;
  transform: scale(1.1);
}

.calendar-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #f5f5dc;
  margin: 0;
  text-align: center;
  min-width: 200px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: rgba(245, 245, 220, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: rgba(245, 245, 220, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.day-header {
  background: #2e2e2e;
  color: #f5f5dc;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  border: 1px solid rgba(245, 245, 220, 0.1);
}

.calendar-day {
  background: rgba(245, 245, 220, 0.05);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(245, 245, 220, 0.1);
  color: #f5f5dc;
  font-weight: 600;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.calendar-day:hover {
  background: rgba(245, 245, 220, 0.15);
  transform: scale(1.05);
}

.calendar-day.active {
  background: #f5f5dc;
  color: #1c1c1c;
  font-weight: bold;
}

.calendar-day.active:hover {
  background: #e8e8c0;
}

.calendar-day.disabled {
  background: rgba(245, 245, 220, 0.02);
  color: #666;
  cursor: not-allowed;
  opacity: 0.5;
}

.calendar-day.disabled:hover {
  transform: none;
  background: rgba(245, 245, 220, 0.02);
}

.calendar-day.other-month {
  color: #888;
  opacity: 0.3;
}

.calendar-day.has-schedule {
  border: 2px solid #28a745;
}

.calendar-day.has-schedule::after {
  content: '✓';
  position: absolute;
  top: 5px;
  right: 5px;
  color: #28a745;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Responsive para el calendario */
@media (max-width: 768px) {
  .calendar-container {
    padding: 1rem;
  }
  
  .calendar-header h3 {
    font-size: 1.1rem;
    min-width: 140px;
  }
  
  .calendar-header button {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .day-header {
    padding: 0.4rem 0.2rem;
    font-size: 0.7rem;
  }
  
  .calendar-day {
    padding: 0.4rem;
    min-height: 35px;
    font-size: 0.8rem;
  }
  
  .calendar-day.has-schedule::after {
    font-size: 0.6rem;
    top: 2px;
    right: 3px;
  }
}

@media (max-width: 480px) {
  .calendar-container {
    padding: 0.5rem;
  }
  
  .calendar-header {
    margin-bottom: 1rem;
  }
  
  .calendar-header h3 {
    font-size: 1rem;
    min-width: 120px;
  }
  
  .calendar-header button {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  
  .day-header {
    padding: 0.3rem 0.1rem;
    font-size: 0.65rem;
  }
  
  .calendar-day {
    padding: 0.3rem;
    min-height: 30px;
    font-size: 0.75rem;
  }
  
  .calendar-day.has-schedule::after {
    font-size: 0.5rem;
    top: 1px;
    right: 2px;
  }
}

/* ===== GESTIÓN DE RESERVAS ===== */
.reservas-controls {
  background: rgba(245, 245, 220, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid rgba(245, 245, 220, 0.2);
}

.date-filter {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.date-filter label {
  color: #f5f5dc;
  font-weight: 600;
}

.date-filter input[type="date"] {
  padding: 0.5rem;
  border: 1px solid rgba(245, 245, 220, 0.3);
  border-radius: 4px;
  background: rgba(245, 245, 220, 0.05);
  color: #f5f5dc;
}

.btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.dias-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dia-disponible {
  background: rgba(245, 245, 220, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(245, 245, 220, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(245, 245, 220, 0.2);
}

.dia-fecha {
  font-size: 1.2rem;
  font-weight: bold;
  color: #f5f5dc;
}

.dia-estado {
  font-size: 0.9rem;
  color: #28a745;
  font-weight: 600;
}

.turnos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.turno-seccion {
  background: rgba(245, 245, 220, 0.05);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(245, 245, 220, 0.1);
}

.turno-titulo {
  font-size: 1.1rem;
  font-weight: bold;
  color: #f5f5dc;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
}

.horario-slot {
  background: rgba(245, 245, 220, 0.1);
  border: 1px solid rgba(245, 245, 220, 0.2);
  border-radius: 6px;
  padding: 0.5rem;
  text-align: center;
  color: #f5f5dc;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.horario-slot:hover {
  background: rgba(245, 245, 220, 0.2);
  transform: translateY(-1px);
}

.horario-slot.ocupado {
  background: rgba(220, 53, 69, 0.2);
  border-color: rgba(220, 53, 69, 0.4);
  color: #dc3545;
  cursor: not-allowed;
}

.horario-slot.ocupado:hover {
  transform: none;
}

.no-horarios {
  text-align: center;
  padding: 3rem;
  background: rgba(245, 245, 220, 0.05);
  border-radius: 12px;
  border: 2px dashed rgba(245, 245, 220, 0.2);
}

.no-horarios p {
  color: #f5f5dc;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.no-turnos {
  text-align: center;
  padding: 1rem;
  color: #888;
  font-style: italic;
}

/* Responsive para reservas */
@media (max-width: 768px) {
  .date-filter {
    flex-direction: column;
    align-items: stretch;
  }
  
  .turnos-container {
    grid-template-columns: 1fr;
  }
  
  .horarios-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .dia-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* ===== GALERÍA - ESTILOS PARA ADMINISTRACIÓN ===== */
.galeria-controles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.upload-section, .preview-section {
  background: rgba(245, 245, 220, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(245, 245, 220, 0.1);
}

.upload-area {
  border: 2px dashed rgba(245, 245, 220, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(245, 245, 220, 0.02);
}

.upload-area:hover {
  border-color: rgba(245, 245, 220, 0.6);
  background: rgba(245, 245, 220, 0.05);
}

.upload-area.dragover {
  border-color: #f5f5dc;
  background: rgba(245, 245, 220, 0.1);
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.upload-area p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #f5f5dc;
}

.upload-area small {
  color: rgba(245, 245, 220, 0.7);
  font-size: 0.9rem;
}

.upload-progress {
  margin-top: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(245, 245, 220, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(245, 245, 220, 0.8);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.gallery-stats {
  background: rgba(245, 245, 220, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.image-count {
  color: rgba(245, 245, 220, 0.8);
}

.dev-info {
  margin-bottom: 1rem;
}

.info-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(33, 150, 243, 0.15);
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 8px;
  padding: 1rem;
}

.info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-content {
  font-size: 0.9rem;
  color: rgba(245, 245, 220, 0.9);
  line-height: 1.4;
}

.info-content strong {
  color: #2196F3;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  min-height: 200px;
}

.no-images {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: rgba(245, 245, 220, 0.6);
}

.image-item {
  position: relative;
  background: rgba(245, 245, 220, 0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 220, 0.1);
  transition: transform 0.2s ease;
}

.image-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.image-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.image-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.image-item:hover .image-actions {
  opacity: 1;
}

.action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.delete-btn {
  background: rgba(220, 53, 69, 0.9);
  color: white;
}

.delete-btn:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.image-info {
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
}

.image-name {
  font-size: 0.85rem;
  color: #f5f5dc;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-size {
  font-size: 0.75rem;
  color: rgba(245, 245, 220, 0.6);
  margin: 0.25rem 0 0 0;
}

/* ===== GALERÍA - ESTILOS PARA CLIENTE (CARRUSEL) ===== */
.gallery-carousel-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.gallery-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(245, 245, 220, 0.05);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-gallery-images {
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(245, 245, 220, 0.7);
}

.no-images-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.no-images-message h3 {
  margin: 0;
  font-size: 1.5rem;
  color: rgba(245, 245, 220, 0.8);
}

.no-images-message p {
  margin: 0;
  font-size: 1rem;
  color: rgba(245, 245, 220, 0.6);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #f5f5dc;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.carousel-control:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-indicator.active {
  background: #f5f5dc;
  border-color: rgba(245, 245, 220, 0.3);
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: rgba(245, 245, 220, 0.8);
}

/* ===== RESPONSIVE - GALERÍA ===== */
@media (max-width: 768px) {
  .galeria-controles {
    padding: 0 1rem;
  }
  
  .upload-area {
    padding: 1.5rem;
  }
  
  .upload-icon {
    font-size: 2.5rem;
  }
  
  .images-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .carousel-wrapper {
    height: 300px;
  }
  
  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-control.prev {
    left: 10px;
  }
  
  .carousel-control.next {
    right: 10px;
  }
  
  .gallery-icon {
    font-size: 3rem;
  }
  
  .no-images-message h3 {
    font-size: 1.2rem;
  }
  
  .no-images-message p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .images-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .carousel-wrapper {
    height: 250px;
  }
  
  .no-gallery-images {
    padding: 2rem 1rem;
  }
}
