/* CSS Personalizado para Hotel San Luis Copiapó 2026 - Atacama Mission Control */

400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  --bg-dark: #131316;
  --navy-primary: #232b52;
  --gold-sand: #9d8a6c;
  --gold-light: #e6bd6e;
  --green-eco: #56b276;
  --glow-cyan: #00f2ff;
  --alert-amber: #ffbf00;
  --icon-midnight: #191970;
  --surface-glass: rgba(35, 43, 82, 0.65);
  --surface-glass-border: rgba(157, 138, 108, 0.2);
}

/* Base reset & typography */
html {
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: #e4e1e5;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0e0e11;
}
::-webkit-scrollbar-thumb {
  background: var(--navy-primary);
  border: 1px solid rgba(157, 138, 108, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-sand);
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(27, 27, 30, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(157, 138, 108, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s ease;
}

.glass-panel-navy {
  background: rgba(35, 43, 82, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(157, 138, 108, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glass-panel:hover {
  border-color: rgba(157, 138, 108, 0.4);
}

/* Circuit Lines & Accents */
.circuit-line {
  background: linear-gradient(90deg, transparent, var(--gold-sand), transparent);
  height: 1px;
  width: 100%;
}

.circuit-line-cyan {
  background: linear-gradient(90deg, transparent, var(--glow-cyan), transparent);
  height: 1px;
  width: 100%;
}

.circuit-bg {
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(157, 138, 108, 0.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(35, 43, 82, 0.1) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px;
}

/* Glowing Border Effect */
.glow-border-cyan {
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
  border-color: rgba(0, 242, 255, 0.6) !important;
}

.glow-border-gold {
  box-shadow: 0 0 15px rgba(230, 189, 110, 0.3);
  border-color: rgba(230, 189, 110, 0.6) !important;
}

/* Pulsing LED Animation */
@keyframes pulse-green {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px rgba(86, 178, 118, 0.8);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.95);
    box-shadow: 0 0 2px rgba(86, 178, 118, 0.2);
  }
}

.led-active {
  animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-cyan {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.9);
  }
  50% {
    opacity: 0.3;
    box-shadow: 0 0 2px rgba(0, 242, 255, 0.2);
  }
}

.led-cyan {
  animation: pulse-cyan 1.8s infinite ease-in-out;
}

/* Card 3D Tilt & Micro-animations */
.bento-card {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(157, 138, 108, 0.2);
}

/* Switch Button Styling */
.dual-switch-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal Overlay & Lightbox */
.modal-overlay {
  background: rgba(14, 14, 17, 0.88);
  backdrop-filter: blur(12px);
}

/* Accordion Smooth Transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-content.active {
  max-height: 800px;
  transition: max-height 0.5s ease-in-out;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

/* Custom Checkbox/Radio Styling */
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--gold-sand);
}

/* Date Picker Calendar Styling */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* Monospace Badges */
.badge-mono {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
}

/* Status Badges for Admin CMS */
.badge-status-active {
  background: rgba(86, 178, 118, 0.2);
  color: #56b276;
  border: 1px solid rgba(86, 178, 118, 0.5);
}

.badge-status-scheduled {
  background: rgba(0, 242, 255, 0.2);
  color: #00f2ff;
  border: 1px solid rgba(0, 242, 255, 0.5);
}

.badge-status-expired {
  background: rgba(255, 191, 0, 0.2);
  color: #ffbf00;
  border: 1px solid rgba(255, 191, 0, 0.5);
}

/* CMS Dashboard Tab Navigation */
.cms-tab-btn {
  transition: all 0.2s ease;
}

.cms-tab-btn.active {
  background-color: var(--gold-sand);
  color: #000000;
  font-weight: 700;
}

/* Scroll Reveal & Section Entrance Animations */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.fade-in-up {
  transform: translateY(30px);
}

.animate-on-scroll.slide-in-left {
  transform: translateX(-40px);
}

.animate-on-scroll.slide-in-right {
  transform: translateX(40px);
}

.animate-on-scroll.zoom-in {
  transform: scale(0.94);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float-btn {
  animation: whatsapp-pulse 2.5s infinite;
}

/* Trust Shields & Tooltips */
.trust-shield-card {
  position: relative;
  transition: all 0.3s ease;
}

.trust-shield-card .tooltip-box {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 220px;
  background: rgba(14, 14, 17, 0.95);
  border: 1px solid var(--gold-sand);
  color: #e4e1e5;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  z-index: 30;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.trust-shield-card:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-14px);
}

/* Sticky Reveal Footer Container */
.footer-reveal-container {
  position: relative;
  background-color: var(--navy-primary);
  border-top: 1px solid rgba(157, 138, 108, 0.3);
}

/* Midnight Blue SVG Corporate Icon styling (#191970 tone) */
.corp-icon-midnight {
  filter: invert(14%) sepia(85%) saturate(3061%) hue-rotate(231deg) brightness(85%) contrast(100%);
}
