/* GLOBAL RESET + HALO THEME */
html, body {
  height: 100%;
  margin: 0;
  padding: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 300; /* light */
  color: #00ffcc;
  background: url("https://halofanforlife.com/wp-content/uploads/Screen-Shot-2014-06-10-at-10.17.13-AM.png") no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

.big-container {
  max-width: 1000px;
  min-height: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8); /* translucent outer edge */
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;

  /* Solid inner fill but with visible translucent edges */
  box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.85);
}

/* GENERIC ROWS */
.row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.left-img {
  float: left;          /* float image left */
  width: 140px;          /* fixed size or responsive */
  height: auto;
  margin-right: 5px;     /* space between image and text */
  object-fit: contain;   /* keep aspect ratio */
  gap: 5px;
}

/* One-container rows */
.row-1 .box {
  min-height: 50px; /* tall */
  width: 100%; 
  gap: 5px;
}

.row-2 .box {
  max-height: 0.1px;
  min-width: 96%; 
  font-size: 10.9px;
  gap: 5px;
}

/* Row 3: Two columns */
.row-3 .box {
  flex: 1;
  min-height: 180px;
}

/* Row 4: Three columns */
.row-4 .box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Generic box styling */
.box {
  background-color: transparent; /* transparent by default */
  padding: 20px;
  border: none;
  min-width: 0;
  color: white; /* ensures text is readable */
}

/* Tall box height */
.tall-box {
  min-height: 1000px;
}

/* Stacked content inside tall boxes */
.stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
}

/* Individual stacked boxes */
.stacked-box {
  background-color: rgba(0, 255, 204, 0.07);
  border: none;
  border-radius: 4px;
  padding: 10px;
  flex: 1;
  color: white;
}

/* INDIVIDUAL BOX COLORS */

/* Row 1 */
.box-row1 {
  background: linear-gradient(135deg, #011c30, #012f47);
}

/* Row 2 */
.box-row2 {
  background-color: #2a2e30; /* dark green */
}

/* Row 3 */
.box-row3-left {
  background: linear-gradient(135deg, #011c30, #012f47);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 10px;
}

.box-row3-right {
  background-color: #050505; /* very dark */
}

/* Image viewer inside Row 3 left */
.image-viewer {
  width: 300px;
  text-align: center;
}

#caseImage {
  width: 300px;
  border: none;
  box-shadow: none;
  margin-bottom:0px;
}

.scroll-button {
  background-color: #000;
  color: #00ffcc;
  font-family: "Courier New", monospace;
  padding: 8px 16px;
  border: 1px solid #00ffcc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.scroll-button:hover {
  background-color: #00ffcc;
  color: #000;
}

/* Row 4 */
.box-row4-left {
  background: linear-gradient(180deg, #000000, #1f1f20);
}

.box-row4-middle {
  background-color: #2a2e30; /* medium blue */
}

.box-row4-right {
  background-color: #111111; /* very dark blue */
}

/* Stacked boxes inside Row 4 Middle */
.stacked-box-middle-top,
.stacked-box-middle-middle,
.stacked-box-middle-bottom {
  background-color: transparent;
}

/* Stacked boxes inside Row 4 Right */
.stacked-box-right-top,
.stacked-box-right-middle,
.stacked-box-right-bottom {
  background-color: #050505;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .box {
    width: 100% !important;
  }

  .tall-box {
    min-height: 300px;
  }

  .stacked-box {
    flex: none;
    width: 100%;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.page-doll {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 200px; /* adjust as needed */
  z-index: 9999;
  animation: bounce 2s infinite ease-in-out;
  pointer-events: none; /* allows clicks through it */
}
/* SCROLLING IMAGES FIX */
.image-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  align-items: flex-start;
  justify-content: flex-start;
  scroll-behavior: smooth;
}

.image-scroll-container img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #00ffcc;
  border-radius: 4px;
}
