/* ============================================================
   DESEOCARIBE.COM — CRYSTAL CONTROL PANEL THEME
   Glassmorphism + 3D + Caribbean Blue Palette
   Autor: Actualización estética 2025
   
   PALETA DE COLORES (variables globales):
   --dc-turquoise     : Azul turquesa del Caribe (#00CED1)
   --dc-cyan          : Cian medio (#0099B8)
   --dc-ocean         : Azul océano (#0077A8)
   --dc-deep          : Azul profundo (#005580)
   --dc-royal         : Azul rey (#003F7F)
   --dc-glass-*       : Transparencias para efecto cristal
   --dc-glow-*        : Colores de brillo/resplandor
   ============================================================ */

/* ── IMPORTS ── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:ital,wght@0,300;0,400;0,600;0,800;1,300&display=swap');

/* ============================================================
   1. VARIABLES GLOBALES — Ajusta aquí para cambiar todo el tema
   ============================================================ */
:root {
  /* Paleta azul */
  --dc-turquoise:     #00E5D4;
  --dc-cyan:          #00BCD4;
  --dc-ocean:         #0288D1;
  --dc-deep:          #01579B;
  --dc-royal:         #0D2B6E;
  --dc-navy:          #071A45;

  /* Cristal / Glass */
  --dc-glass-light:   rgba(255, 255, 255, 0.08);
  --dc-glass-mid:     rgba(255, 255, 255, 0.13);
  --dc-glass-strong:  rgba(255, 255, 255, 0.20);
  --dc-glass-border:  rgba(255, 255, 255, 0.25);
  --dc-glass-border2: rgba(0, 229, 212, 0.35);

  /* Brillos y glows */
  --dc-glow-cyan:     0 0 20px rgba(0, 229, 212, 0.6), 0 0 40px rgba(0, 188, 212, 0.3);
  --dc-glow-blue:     0 0 20px rgba(2, 136, 209, 0.6), 0 0 50px rgba(1, 87, 155, 0.4);
  --dc-glow-soft:     0 4px 30px rgba(0, 200, 220, 0.25);

  /* Sombras 3D */
  --dc-shadow-card:   0 8px 32px rgba(0, 20, 60, 0.45), 0 2px 8px rgba(0, 229, 212, 0.15);
  --dc-shadow-btn:    0 6px 20px rgba(0, 20, 60, 0.5), 0 1px 3px rgba(255,255,255,0.15) inset;
  --dc-shadow-table:  0 12px 48px rgba(0, 20, 80, 0.5);

  /* Tipografía */
  --dc-font-display:  'Orbitron', sans-serif;
  --dc-font-body:     'Exo 2', sans-serif;

  /* Transiciones */
  --dc-transition:    all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --dc-transition-fast: all 0.18s ease-out;

  /* Bordes redondeados */
  --dc-radius-sm:     10px;
  --dc-radius-md:     16px;
  --dc-radius-lg:     24px;
  --dc-radius-xl:     32px;
}


/* ============================================================
   2. RESET DE BODY Y FONDO
   Mantiene el background-image ya configurado en el layout
   ============================================================ */
body {
  font-family: var(--dc-font-body) !important;
  color: rgba(220, 245, 255, 0.95) !important;
  background-attachment: fixed !important;
  /* NOTA: el background-image se define en layouts/layout.blade.php */
}

/* Overlay de cristal sobre el fondo para profundidad */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0, 100, 180, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 180, 200, 0.2) 0%, transparent 60%),
    linear-gradient(160deg, rgba(7, 26, 69, 0.55) 0%, rgba(0, 40, 80, 0.35) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Asegurar que el contenido esté sobre el overlay */
body > * { position: relative; z-index: 1; }


/* ============================================================
   3. TIPOGRAFÍA GLOBAL
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--dc-font-display) !important;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(0, 229, 212, 0.5), 0 2px 4px rgba(0,0,0,0.5);
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--dc-turquoise) 0%, #ffffff 50%, var(--dc-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s ease-in-out infinite alternate;
}

/* ANIMACIÓN: Shimmer en titulares */
@keyframes shimmer-text {
  0%   { filter: brightness(1); }
  100% { filter: brightness(1.3) drop-shadow(0 0 8px rgba(0,229,212,0.8)); }
}

p, td, th, li {
  font-family: var(--dc-font-body) !important;
  font-weight: 300;
  line-height: 1.7;
}


/* ============================================================
   4. CARDS — Efecto cristal/glassmorphism
   AFECTA: .card, .card-3d-border
   ============================================================ */
.card,
.card-3d-border {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(0, 180, 210, 0.08) 50%,
    rgba(0, 80, 160, 0.12) 100%
  ) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: var(--dc-radius-md) !important;
  box-shadow: var(--dc-shadow-card) !important;
  transition: var(--dc-transition) !important;
  overflow: hidden;
  /* Borde luminoso inferior — simula profundidad 3D */
  position: relative;
}

/* EFECTO 3D: Línea de brillo superior en cada card */
.card::before,
.card-3d-border::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.6) 30%,
    var(--dc-turquoise) 50%,
    rgba(255,255,255,0.6) 70%,
    transparent 100%
  );
  z-index: 2;
}

/* ANIMACIÓN: Hover con levitación y glow */
.card:hover,
.card-3d-border:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow:
    0 20px 60px rgba(0, 20, 60, 0.6),
    0 0 30px rgba(0, 229, 212, 0.35),
    0 0 60px rgba(0, 188, 212, 0.15) !important;
  border-color: var(--dc-glass-border2) !important;
}

.card-body {
  background: linear-gradient(180deg,
    rgba(0, 60, 120, 0.15) 0%,
    rgba(0, 20, 60, 0.3) 100%
  ) !important;
  padding: 1.2rem !important;
}

.card-title {
  color: var(--dc-turquoise) !important;
  font-family: var(--dc-font-display) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 229, 212, 0.6) !important;
  margin-bottom: 0.6rem !important;
}

.card-text {
  color: rgba(200, 235, 255, 0.85) !important;
  font-size: 0.88rem !important;
  font-weight: 300 !important;
}

/* IMAGEN de la card — efecto de borde luminoso */
.card-img-top {
  border-bottom: 1px solid rgba(0, 229, 212, 0.3) !important;
  transition: var(--dc-transition) !important;
  filter: saturate(1.1) brightness(0.95);
}
.card:hover .card-img-top,
.card-3d-border:hover .card-img-top {
  filter: saturate(1.3) brightness(1.05);
}


/* ============================================================
   5. BOTONES — Cristal 3D con glow
   AFECTA: .btn-primary, .btn-warning, .button-war-3d
   ============================================================ */

/* Botón primario — Azul profundo cristal */
.btn-primary {
  background: linear-gradient(145deg,
    rgba(2, 136, 209, 0.85) 0%,
    rgba(1, 87, 155, 0.9) 50%,
    rgba(13, 43, 110, 0.95) 100%
  ) !important;
  border: 1px solid rgba(0, 229, 212, 0.5) !important;
  border-top: 1px solid rgba(255,255,255,0.4) !important;
  border-radius: var(--dc-radius-sm) !important;
  color: #E0F7FF !important;
  font-family: var(--dc-font-display) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  box-shadow: var(--dc-shadow-btn) !important;
  backdrop-filter: blur(8px) !important;
  transition: var(--dc-transition) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
  position: relative;
  overflow: hidden;
}

/* EFECTO: Reflejo de luz deslizante en botones */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 120%; }

.btn-primary:hover {
  background: linear-gradient(145deg,
    rgba(0, 229, 212, 0.9) 0%,
    rgba(2, 136, 209, 0.95) 50%,
    rgba(1, 87, 155, 1) 100%
  ) !important;
  box-shadow: var(--dc-glow-cyan), var(--dc-shadow-btn) !important;
  transform: translateY(-3px) !important;
  color: #fff !important;
}

.btn-primary:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 10px rgba(0,20,60,0.5) !important;
}

/* Botón warning — Turquesa brillante */
.btn-warning,
.button-war-3d {
  background: linear-gradient(145deg,
    rgba(0, 229, 212, 0.85) 0%,
    rgba(0, 188, 212, 0.9) 50%,
    rgba(2, 136, 209, 0.95) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: var(--dc-radius-sm) !important;
  color: var(--dc-navy) !important;
  font-family: var(--dc-font-display) !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
  box-shadow:
    0 6px 20px rgba(0, 229, 212, 0.4),
    0 1px 3px rgba(255,255,255,0.2) inset !important;
  transition: var(--dc-transition) !important;
  position: relative;
  overflow: hidden;
}

.btn-warning:hover,
.button-war-3d:hover {
  background: linear-gradient(145deg,
    #ffffff 0%,
    var(--dc-turquoise) 40%,
    var(--dc-cyan) 100%
  ) !important;
  box-shadow:
    0 0 25px rgba(0, 229, 212, 0.8),
    0 0 60px rgba(0, 188, 212, 0.4) !important;
  transform: translateY(-3px) scale(1.05) !important;
  color: var(--dc-navy) !important;
}


/* ============================================================
   6. NAVEGACIÓN — Pills y tabs con cristal
   AFECTA: .nav-pills, .nav-link, ul.nav
   ============================================================ */
.nav-pills .nav-link,
.nav .nav-link {
  background: var(--dc-glass-light) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-radius: var(--dc-radius-sm) !important;
  color: rgba(180, 230, 255, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  transition: var(--dc-transition) !important;
  margin: 2px !important;
  font-family: var(--dc-font-display) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.05em !important;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover,
.nav .nav-link:hover {
  background: linear-gradient(135deg,
    rgba(0, 229, 212, 0.4) 0%,
    rgba(2, 136, 209, 0.5) 100%
  ) !important;
  border-color: var(--dc-turquoise) !important;
  color: #fff !important;
  box-shadow: var(--dc-glow-soft) !important;
}

/* Panel de navegación lateral (col-sm-2 con bg-primary) */
.col-sm-2.nav.bg-primary {
  background: linear-gradient(180deg,
    rgba(1, 87, 155, 0.6) 0%,
    rgba(7, 26, 69, 0.8) 100%
  ) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-radius: var(--dc-radius-md) !important;
  box-shadow: var(--dc-shadow-card) !important;
  padding: 1rem 0.5rem !important;
}

.col-sm-2.nav.bg-primary .btn-primary {
  width: 100% !important;
  margin: 4px 0 !important;
  text-align: left !important;
}


/* ============================================================
   7. TABLA — Efecto panel de control
   AFECTA: table, #2025tabletours, DataTables
   ============================================================ */
table,
.dataTable,
#2025tabletours {
  background: transparent !important;
  border-collapse: separate !important;
  border-spacing: 0 6px !important;
  width: 100% !important;
}

/* Cabecera de tabla */
table thead tr th,
.dataTable thead th {
  background: linear-gradient(135deg,
    rgba(1, 87, 155, 0.85) 0%,
    rgba(13, 43, 110, 0.9) 100%
  ) !important;
  border: none !important;
  border-bottom: 2px solid var(--dc-turquoise) !important;
  color: var(--dc-turquoise) !important;
  font-family: var(--dc-font-display) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 14px 16px !important;
  text-shadow: 0 0 10px rgba(0,229,212,0.5) !important;
  backdrop-filter: blur(12px) !important;
}

/* Filas de tabla */
table tbody tr,
.dataTable tbody tr {
  background: var(--dc-glass-light) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-radius: var(--dc-radius-sm) !important;
  transition: var(--dc-transition) !important;
}

table tbody tr:hover,
.dataTable tbody tr:hover {
  background: linear-gradient(90deg,
    rgba(0, 229, 212, 0.15) 0%,
    rgba(2, 136, 209, 0.1) 100%
  ) !important;
  box-shadow: 0 0 20px rgba(0, 229, 212, 0.2) !important;
  transform: scale(1.005) !important;
}

table tbody tr td,
.dataTable tbody tr td {
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  color: rgba(210, 240, 255, 0.9) !important;
  font-weight: 300 !important;
  padding: 12px 16px !important;
  vertical-align: middle !important;
}

/* Imágenes dentro de celdas */
table img {
  border-radius: var(--dc-radius-sm) !important;
  border: 1px solid var(--dc-glass-border2) !important;
  box-shadow: 0 4px 12px rgba(0,20,60,0.4) !important;
}

/* DataTables controles (search, pagination) */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: var(--dc-glass-mid) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-radius: var(--dc-radius-sm) !important;
  color: #E0F7FF !important;
  backdrop-filter: blur(8px) !important;
  padding: 6px 12px !important;
  font-family: var(--dc-font-body) !important;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: rgba(180, 230, 255, 0.8) !important;
  font-family: var(--dc-font-body) !important;
  font-size: 0.82rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: var(--dc-glass-light) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-radius: 6px !important;
  color: #cce8ff !important;
  margin: 2px !important;
  transition: var(--dc-transition-fast) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: linear-gradient(135deg, rgba(0,229,212,0.5), rgba(2,136,209,0.6)) !important;
  color: #fff !important;
  box-shadow: var(--dc-glow-soft) !important;
}


/* ============================================================
   8. CARRUSEL — Overlay y controles cristal
   AFECTA: #demo.carousel, .carousel-caption, .carousel-control-*
   ============================================================ */
.carousel-item img {
  border-radius: var(--dc-radius-lg) !important;
  filter: brightness(0.85) saturate(1.2) !important;
  box-shadow: 0 20px 60px rgba(0,20,60,0.7) !important;
  transition: filter 0.6s ease !important;
}

.carousel-item.active img { filter: brightness(0.9) saturate(1.3) !important; }

/* Caption con cristal */
.carousel-caption {
  background: linear-gradient(135deg,
    rgba(0, 20, 80, 0.7) 0%,
    rgba(0, 80, 160, 0.5) 100%
  ) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-radius: var(--dc-radius-md) !important;
  padding: 1.2rem 2rem !important;
  bottom: 30px !important;
  /* NOTA: left/right ajustables según diseño */
  left: 10% !important;
  right: 10% !important;
  box-shadow: 0 8px 32px rgba(0,20,60,0.5) !important;
}

.carousel-caption h3 {
  font-family: var(--dc-font-display) !important;
  font-size: 1.1rem !important;
  color: var(--dc-turquoise) !important;
  text-shadow: var(--dc-glow-cyan) !important;
  margin-bottom: 0.3rem !important;
}

.carousel-caption p {
  font-size: 0.85rem !important;
  color: rgba(200, 235, 255, 0.9) !important;
  font-weight: 300 !important;
  margin: 0 !important;
}

/* Indicadores */
.carousel-indicators [data-bs-slide-to] {
  background: rgba(0, 229, 212, 0.4) !important;
  border: 1px solid rgba(0, 229, 212, 0.6) !important;
  border-radius: 50% !important;
  width: 10px !important;
  height: 10px !important;
  transition: var(--dc-transition) !important;
}

.carousel-indicators .active {
  background: var(--dc-turquoise) !important;
  box-shadow: 0 0 10px var(--dc-turquoise) !important;
  transform: scale(1.3) !important;
}

/* Controles prev/next */
.carousel-control-prev,
.carousel-control-next {
  background: rgba(0, 60, 120, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 15px !important;
  transition: var(--dc-transition) !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 229, 212, 0.4) !important;
  box-shadow: 0 0 20px rgba(0, 229, 212, 0.5) !important;
}


/* ============================================================
   9. BANNER ANIMADO — .Space y .MOVIMIENTO_IZQ_CRECIENDO
   AFECTA: div.Space, .MOVIMIENTO_IZQ_CRECIENDO
   ============================================================ */
.Space {
  background: linear-gradient(90deg,
    rgba(7, 26, 69, 0.85) 0%,
    rgba(1, 87, 155, 0.6) 30%,
    rgba(0, 100, 170, 0.5) 60%,
    rgba(7, 26, 69, 0.85) 100%
  ) !important;
  backdrop-filter: blur(10px) !important;
  border-top: 1px solid rgba(0, 229, 212, 0.3) !important;
  border-bottom: 1px solid rgba(0, 229, 212, 0.3) !important;
  padding: 1rem 2rem !important;
  position: relative;
  overflow: hidden;
}

/* ANIMACIÓN: Línea de escaneo en banners */
.Space::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 229, 212, 0.07),
    transparent
  );
  animation: scan-line 4s linear infinite;
}

@keyframes scan-line {
  0%   { left: -60%; }
  100% { left: 110%; }
}

/* ANIMACIÓN: Texto deslizante */
.MOVIMIENTO_IZQ_CRECIENDO {
  font-family: var(--dc-font-display) !important;
  font-size: clamp(0.8rem, 2vw, 1.1rem) !important;
  letter-spacing: 0.15em !important;
  color: var(--dc-turquoise) !important;
  text-shadow: 0 0 15px rgba(0, 229, 212, 0.7) !important;
  animation: slide-in-glow 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) both !important;
}

@keyframes slide-in-glow {
  0%   { transform: translateX(-60px); opacity: 0; filter: blur(8px); }
  100% { transform: translateX(0); opacity: 1; filter: blur(0); }
}


/* ============================================================
   10. TABS — Contenido de pestañas
   AFECTA: .tab-content, .tab-pane
   ============================================================ */
.tab-content {
  background: var(--dc-glass-light) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid var(--dc-glass-border) !important;
  border-radius: var(--dc-radius-md) !important;
  padding: 1.5rem !important;
  margin-top: 0.5rem !important;
  box-shadow: var(--dc-shadow-card) !important;
}

.tab-pane h3 {
  font-size: 1rem !important;
  color: var(--dc-turquoise) !important;
  border-bottom: 1px solid rgba(0,229,212,0.2) !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 1rem !important;
}

.tab-pane p {
  color: rgba(200, 235, 255, 0.85) !important;
  font-size: 0.9rem !important;
}


/* ============================================================
   11. IFRAMES (Mapas y Widgets)
   AFECTA: iframe dentro de #map, #map3, #map33
   ============================================================ */
iframe {
  border-radius: var(--dc-radius-lg) !important;
  border: 1px solid var(--dc-glass-border2) !important;
  box-shadow:
    0 16px 48px rgba(0, 20, 60, 0.6),
    0 0 30px rgba(0, 188, 212, 0.15) !important;
  filter: saturate(1.1) !important;
}


/* ============================================================
   12. SECCIÓN DE ICONOS MAYA — Texto e imágenes
   AFECTA: #info, #TablasText02
   ============================================================ */
#info .row,
#TablasText02 .row {
  background: var(--dc-glass-light) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: var(--dc-radius-md) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin-bottom: 8px !important;
  padding: 0.8rem !important;
  transition: var(--dc-transition) !important;
}

#info .row:hover,
#TablasText02 .row:hover {
  background: rgba(0, 150, 200, 0.12) !important;
  border-color: rgba(0, 229, 212, 0.2) !important;
}

/* Iconos maya — efecto glow */
#info img[height="50px"],
#TablasText02 img[height="50px"] {
  filter: drop-shadow(0 0 8px rgba(0, 229, 212, 0.6)) !important;
  transition: var(--dc-transition) !important;
  margin-right: 0.8rem !important;
}

#info img[height="50px"]:hover,
#TablasText02 img[height="50px"]:hover {
  filter: drop-shadow(0 0 16px var(--dc-turquoise)) brightness(1.2) !important;
  transform: scale(1.1) rotate(5deg) !important;
}


/* ============================================================
   13. REDES SOCIALES — Iconos al pie
   AFECTA: img dentro de .Space con Facebook, Pinterest, Instagram
   ============================================================ */
.Space a img[width="35"],
.Space img[width="35"] {
  filter: drop-shadow(0 0 6px rgba(0, 229, 212, 0.5)) grayscale(0.2) !important;
  transition: var(--dc-transition) !important;
  border-radius: 8px !important;
}

.Space a:hover img[width="35"] {
  filter: drop-shadow(0 0 14px var(--dc-turquoise)) brightness(1.3) !important;
  transform: translateY(-4px) scale(1.15) !important;
}


/* ============================================================
   14. SECCIÓN TOURS — Contenedor principal
   AFECTA: #tours, #2025tours01
   ============================================================ */
#tours,
#2025tours01 {
  background: var(--dc-glass-light) !important;
  backdrop-filter: blur(12px) !important;
  border-radius: var(--dc-radius-xl) !important;
  border: 1px solid var(--dc-glass-border) !important;
  padding: 2rem !important;
  box-shadow: var(--dc-shadow-table) !important;
}

/* Título TOURS */
#2025tours01 h1 {
  letter-spacing: 0.5em !important;
  font-size: clamp(2rem, 6vw, 4rem) !important;
}

/* ID de shadow en títulos de tours */
#shadow_dc_wood {
  text-shadow: 0 0 12px rgba(0,229,212,0.4), 0 2px 4px rgba(0,0,0,0.6) !important;
}


/* ============================================================
   15. SECCIÓN ARQUEOLOGÍA / INFO LATERAL
   AFECTA: #arqueologia
   ============================================================ */
#arqueologia {
  background: var(--dc-glass-light) !important;
  backdrop-filter: blur(16px) !important;
  border-radius: var(--dc-radius-xl) !important;
  border: 1px solid var(--dc-glass-border) !important;
  padding: 1.5rem !important;
  box-shadow: var(--dc-shadow-card) !important;
}

/* HR — separadores */
hr {
  border: none !important;
  border-top: 1px solid rgba(0, 229, 212, 0.3) !important;
  box-shadow: 0 0 8px rgba(0, 229, 212, 0.2) !important;
  margin: 1.5rem 0 !important;
}


/* ============================================================
   16. SCROLLBAR PERSONALIZADO
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track {
  background: rgba(7, 26, 69, 0.8);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--dc-turquoise), var(--dc-deep));
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0,229,212,0.4);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff, var(--dc-turquoise));
}


/* ============================================================
   17. ANIMACIONES DE ENTRADA — Para containers con ID
   Los elementos hacen fade-in al cargar la página
   NOTA: Si deseas animaciones al hacer scroll, implementar
         IntersectionObserver en JS (no incluido aquí)
   ============================================================ */
#articles,
#articles02,
#articles003,
#tours,
#2025tours01,
#citas,
#arqueologia,
#info,
#TablasText02 {
  animation: fade-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

/* Escalonar la entrada de cada sección */
#articles       { animation-delay: 0.1s; }
#articles02     { animation-delay: 0.2s; }
#articles003    { animation-delay: 0.25s; }
#tours          { animation-delay: 0.3s; }
#2025tours01    { animation-delay: 0.35s; }
#citas          { animation-delay: 0.4s; }
#arqueologia    { animation-delay: 0.45s; }
#info           { animation-delay: 0.5s; }
#TablasText02   { animation-delay: 0.55s; }

@keyframes fade-up {
  0%   { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}


/* ============================================================
   18. RESPONSIVE — Mobile first adjustments
   ============================================================ */

/* Tablet y móvil */
@media (max-width: 768px) {
  .card, .card-3d-border {
    margin-bottom: 1rem !important;
  }

  .card:hover, .card-3d-border:hover {
    transform: translateY(-4px) !important;
  }

  .carousel-caption {
    left: 5% !important;
    right: 5% !important;
    padding: 0.8rem 1rem !important;
  }

  .carousel-caption h3 { font-size: 0.85rem !important; }
  .carousel-caption p  { display: none !important; }

  .carousel-control-prev,
  .carousel-control-next {
    width: 36px !important;
    height: 36px !important;
  }

  #tours,
  #2025tours01,
  #arqueologia {
    border-radius: var(--dc-radius-md) !important;
    padding: 1rem !important;
  }

  .col-sm-2.nav.bg-primary {
    border-radius: var(--dc-radius-sm) !important;
    margin-bottom: 1rem !important;
  }

  h1 { font-size: 1.5rem !important; }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .btn-primary, .btn-warning, .button-war-3d {
    font-size: 0.65rem !important;
    padding: 8px 12px !important;
  }

  .card-title {
    font-size: 0.75rem !important;
  }

  .carousel-item img {
    height: 220px !important;
    object-fit: cover !important;
  }
}

/* Desktop grande — efectos 3D más pronunciados */
@media (min-width: 1200px) {
  .card:hover, .card-3d-border:hover {
    transform: translateY(-12px) scale(1.02) rotateX(2deg) !important;
  }
}


/* ============================================================
   19. UTILIDADES EXTRA
   ============================================================ */

/* Forzar fondo transparente en shadow_dc para heredar card */
#shadow_dc {
  background: transparent !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Exchange rate widget */
div[style*="border:3px solid #1094A5"] {
  border: 1px solid var(--dc-glass-border2) !important;
  border-radius: var(--dc-radius-sm) !important;
  background: var(--dc-glass-mid) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: var(--dc-glow-soft) !important;
  overflow: hidden !important;
}

/* Imagen jaguar al pie */
img[src*="jaguar"] {
  filter: drop-shadow(0 0 20px rgba(0, 229, 212, 0.5)) !important;
  transition: var(--dc-transition) !important;
}

img[src*="jaguar"]:hover {
  filter: drop-shadow(0 0 35px var(--dc-turquoise)) brightness(1.2) !important;
  transform: scale(1.05) !important;
}

/* Logos de redes (Whatsapp etc) */
img[width="25"][height="25"] {
  filter: drop-shadow(0 0 4px rgba(0,229,212,0.4)) !important;
  vertical-align: middle !important;
  transition: var(--dc-transition-fast) !important;
}

img[width="25"][height="25"]:hover {
  filter: drop-shadow(0 0 8px var(--dc-turquoise)) scale(1.2) !important;
}


/* ============================================================
   FIN DEL STYLESHEET — deseocaribe-crystal.css
   Para activar: añadir en layouts/layout.blade.php:
   <link rel="stylesheet" href="{{ asset('css/deseocaribe-crystal.css') }}">
   DESPUÉS de Bootstrap CSS y ANTES del cierre de </head>
   ============================================================ */
