/* ==== RESET ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(145deg, #071a2f, #0d2c4d);
  color: #e8f1ff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Subtle texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/noise-pattern-with-subtle-crosslines.png");
  opacity: 0.04;
  z-index: 0;
}

/* ==== HEADER WITH LOGO ==== */
header {
  width: 100%;
  text-align: center;
  padding: 2rem 0 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.site-logo {
  width: 250px;
  height: auto;
  transform-style: preserve-3d;
  transition: transform 0.8s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 10px rgba(100, 180, 255, 0.4));
  cursor: pointer;
}

/* Flip animation on hover */
.site-logo:hover {
  transform: rotateY(360deg);
  filter: drop-shadow(0 0 25px rgba(120, 200, 255, 0.6));
}
/* ==== TAB MENU ==== */
.tab-menu {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.tab {
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #c2e1ff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(160, 210, 255, 0.4);
}

.tab.active {
  background: linear-gradient(135deg, #74b9ff, #a3d5ff);
  color: #052036;
  box-shadow: 0 0 12px rgba(130, 200, 255, 0.4);
}

/* ==== CONTENT SECTIONS ==== */
.content {
  width: 90%;
  max-width: 850px;
  margin-top: 3rem;
  z-index: 2;
}

.section {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.4s ease;
}

.section.active {
  display: block;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-left: 4px solid #74b9ff;
  padding-left: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==== IMAGE SLIDER ==== */
.image-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slider-image.active {
  opacity: 1;
  z-index: 2;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 40, 80, 0.5);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 6px;
  z-index: 3;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-btn:hover {
  background: rgba(80, 160, 255, 0.5);
  transform: scale(1.1);
}

.slider-btn.left {
  left: 10px;
}

.slider-btn.right {
  right: 10px;
}

/* ==== TEXT ==== */
.section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cfe7ff;
}

/* ==== FOOTER ==== */
footer {
  margin-top: auto;
  padding: 2rem;
  font-size: 0.85rem;
  color: #8db4e0;
  text-align: center;
}

/* ==== ANIMATION ==== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 600px) {
  .site-logo {
    width: 120px;
  }
  .tab {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  .section h2 {
    font-size: 1.4rem;
  }
}

.table-container {
  overflow-x: auto;
  margin-top: 1rem;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.status-table th,
.status-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.status-table th {
  background: rgba(100, 170, 255, 0.08);
  color: #b9dbff;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.status-table td {
  color: #e6f3ff;
  font-size: 1rem;
}

.status-table tr:last-child td {
  border-bottom: none;
}

.status-table tr:hover {
  background: rgba(100, 180, 255, 0.08);
  transition: background 0.3s ease;
}

/* ==== STATUS COLORS ==== */
.status-table td.status-online {
  color: #00ff2a !important; 
  font-weight: 600;
}

.status-table td.status-wip {
  color: #ffee00 !important; 
  font-weight: 600;
}

.status-table td.status-offline {
  color: #999999 !important; 
  font-weight: 600;
}
.status-table td.status-detected {
  color: #ff0000 !important; 
  font-weight: 600;
}

.status-table td.status-online {
  color: #00ff2a !important; 
  font-weight: 600;
}

.status-table td.detect-never {
  color: #00ff2a !important; 
  font-weight: 600;
}

.status-table td.detect-long {
  color: #ffee00 !important; 
  font-weight: 600;
}
.status-table td.detect-early {
  color: #ff0000 !important; 
  font-weight: 600;
}