/* Apollo Pod Navigator Styles */
:root {
  /* Core colors */
  --cisco-blue: #049fd9;
  --cisco-dark-blue: #0d274d;
  --cisco-accent: #00bceb;
  --apollo-green: #6cce95;
  --apollo-orange: #f78b31;
  --apollo-red: #e2231a;
  
  /* Gradient palettes */
  --gradient-primary: linear-gradient(135deg, #0d274d 0%, #2b5797 50%, #049fd9 100%);
  --gradient-success: linear-gradient(135deg, #093 0%, #6cce95 100%);
  --gradient-warning: linear-gradient(135deg, #f78b31 0%, #ffcc33 100%);
  --gradient-danger: linear-gradient(135deg, #e2231a 0%, #ff6b6b 100%);
  
  /* UI Colors */
  --background-color: #f7f9fc;
  --text-color: #2d3748;
  --card-background: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --glass-background: rgba(255, 255, 255, 0.75);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  
  /* Hover effects */
  --hover-transform: translateY(-5px);
  --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  
  /* Animation speeds */
  --transition-speed: 0.3s;
}

html, body {
  font-family: 'Outfit', sans-serif;
  height: 100%;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow: auto;
  scroll-behavior: smooth;
}

body {
  background-image: url('../../assets/img/backgrounds/office-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 39, 77, 0.8) 0%, rgba(4, 159, 217, 0.6) 100%);
  z-index: -1;
}

.apollo-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
  z-index: 1;
}

.header-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  height: 15vh;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.header-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 70%);
  z-index: 0;
}

/* Navigation */
.nav-container {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  padding: 1rem;
}

.nav-buttons {
  display: flex;
  gap: 0.5rem;
}

.nav-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all var(--transition-speed);
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Content sections */
.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.page.active {
  opacity: 1;
  visibility: visible;
}

/* Main content layout */
.main-content {
  display: flex;
  height: 70vh;
  position: relative;
  z-index: 1;
}

.status-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  height: 15vh;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  position: relative;
  overflow: hidden;
}

.status-panel.available {
  background: var(--gradient-success);
}

.status-panel.booked {
  background: var(--gradient-warning);
}

.status-panel.occupied {
  background: var(--gradient-danger);
}

.status-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #049fd9, #6cce95, #f78b31, #e2231a);
  background-size: 300% 100%;
  animation: gradient-shift 10s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.room-info {
  flex: 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  position: relative;
}

.qr-section {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  border-left: var(--glass-border);
  position: relative;
  overflow: hidden;
}

.qr-section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--cisco-accent) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  opacity: 0.3;
  border-radius: 50%;
}

.analytics-cards {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  flex: 1;
  padding: 1.8rem;
  background: var(--glass-background);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  border: var(--glass-border);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--cisco-blue);
  z-index: 0;
}

.card:nth-child(1)::before {
  background: var(--apollo-green);
}

.card:nth-child(2)::before {
  background: var(--cisco-accent);
}

.card:nth-child(3)::before {
  background: var(--apollo-orange);
}

.card:hover {
  transform: var(--hover-transform);
  box-shadow: var(--hover-shadow);
}

.card-icon {
  margin-right: 1.2rem;
  background: var(--gradient-primary);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(4, 159, 217, 0.2);
  min-width: 60px;
  min-height: 60px;
}

.card-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-label {
  font-size: 0.9rem;
  color: rgba(45, 55, 72, 0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.card-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.2rem;
  background: linear-gradient(90deg, var(--cisco-dark-blue), var(--cisco-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.room-name {
  font-size: 2.5rem;
  font-weight: 600;
}

.status-text {
  font-size: 2.8rem;
  font-weight: 700;
}

.cisco-logo {
  height: 3rem;
}

.cisco-logo--large {
  height: 5.5rem;
}

.apollo-logo {
  height: 5rem;
  margin-right: 1rem;
}

.qr-container {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-width: 220px;
}

.qr-label {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--cisco-dark-blue);
  text-align: center;
}

.pod-id {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 1rem;
  color: var(--cisco-blue);
  text-align: center;
}

#qrcode {
  display: flex;
  justify-content: center;
}

/* About page styles */
.about-container {
  padding: 2rem;
  height: 100%;
  overflow-y: auto;
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

/* Scroll indicator */
.scroll-indicator {
  position: sticky;
  bottom: 1.25rem;
  margin-top: auto;
  align-self: center; /* center horizontally via flex parent */
  text-align: center;
  padding: 0.6rem 1.2rem;
  min-width: 180px;
  max-width: 220px;
  color: #fff;
  background: rgba(4,159,217,0.92);
  border-radius: 40px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: opacity .35s ease, transform .35s ease, background .3s ease;
  user-select: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: .5rem;
  align-items: center;
  font-size: .9rem;
  line-height: 1.1;
  opacity: 1;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.scroll-indicator:hover, .scroll-indicator:active {
  background: var(--cisco-blue);
  transform: translateY(-4px); /* remove old centering translateX that caused left shift */
}

/* Scroll indicator visibility handled via JS (.hidden class) */
/* (Show/hide now handled directly in JS with simple display property) */

.scroll-indicator p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.scroll-indicator .bounce {
  animation: bounce 1.4s infinite;
  font-size: 1.1rem;
  margin: 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-7px);
  }
}



.about-header {
  margin-bottom: 2rem;
  text-align: center;
}

.about-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--card-shadow);
}

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

.feature-card {
  background: var(--background-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: all var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
  background: var(--gradient-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}


/* Back button */
.back-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: var(--cisco-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-speed);
  font-size: 1.5rem;
  z-index: 1000;
}

.back-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(4, 159, 217, 0.4);
}


