/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
}

/* BACKGROUND VIDEO */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.8;
}

/* CONTENT WRAPPER */
.content-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

/* MAIN GRID LAYOUT */
.layout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr;
  width: 90vw;
  height: 90vh;
  gap: 1vw; /* ✅ small gap between left and right */
}

/* LEFT SECTION WITH WHITE BORDER */
.left-section {
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* PANELS INSIDE LEFT SECTION */
.video-panel,
.headline-bar,
.ticker-panel,
.word-ticker {
  width: 100%;
  overflow: hidden;
}

/* VIDEO PANEL */
.video-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HEADLINE BAR */
.headline-bar {
  background: rgb(200, 0, 0);
  color: white;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0.4rem;
}

/* IMAGE TICKER */
.ticker-panel {
  background: rgba(0, 0, 0, 0.3);
}
.ticker-track {
  display: flex;
  gap: 1rem;
  animation: scrollTicker 10s linear infinite;
}
.ticker-track img {
  height: 12vh;
  width: auto;
  object-fit: contain;
}
@keyframes scrollTicker {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* WORD TICKER */
.word-ticker {
  height: 5vh;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}
/* In style.css */
#ticker-text {
  display: inline-block;
  padding-left: 100%; /* This pushes the text to start at the right edge */
  /* The animation now starts from 0, not 100% */
  animation: scrollWords 150s linear infinite; 
}

@keyframes scrollWords {
  from {
    transform: translateX(0); /* Start from its padded position */
  }
  to {
    /* This transform needs to move the text by its full width + the 100% padding */
    /* A simple -100% might not be enough if the text is long. */
    /* A safer bet is to move it by a very large negative amount */
    transform: translateX(-150%); /* Adjust as needed */
  }
}

/* RIGHT SECTION (IMAGE + MORE) */
.image-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid white;
  background-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Vertical image slider */
.slider-vertical {
  display: flex;
  flex-direction: column;
  height: 200%;
  animation: slideVertical 10s infinite ease-in-out;
}
.slide-set img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid white;
}
@keyframes slideVertical {
  0%, 40% {
    transform: translateY(0);
  }
  50%, 90% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}



/* ===== SOFT WHITE GLOW AROUND LEFT SECTION ===== */
.left-section {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); /* soft glow */
  transition: box-shadow 0.5s ease-in-out;
}

/* Optional subtle pulsing effect */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  }
}

/* Uncomment this if you want a continuous gentle pulse: */
/*
.left-section {
  animation: pulseGlow 4s ease-in-out infinite;
}
*/

/* TOGGLE BUTTON (inside image panel) */
.toggle-button-container {
  position: absolute;
  bottom: 5%;
  left: 80%;
  transform: translateX(-50%);
  z-index: 10;
}

.toggle-button {
  display: inline-block;
  background-color: rgb(200, 0, 0);
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.3s ease-in-out;
}

.toggle-button:hover {
  background-color: rgb(255, 50, 50);

}
