* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #000;
  color: #ffffff;
  padding: 1.5rem;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background video */
.video-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background: black;
}

#bg-video {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 177.77777778vh;
  height: 56.25vw;

  min-width: 100vw;
  min-height: 100vh;

  transform: translate(-50%, -50%);

  pointer-events: none;
}

/* Header + main buttons above video */
.logo-header,
.main-buttons {
  position: relative;
  z-index: 1;
}

.logo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  font-size: 2.5rem;
  color: #ffffff;
  animation: logoFadeIn 2s ease-out;
}



@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Main buttons container */
.main-buttons {
  display: flex;
  flex-direction: column;  /* stack vertically */
  gap: 1.25rem;            /* space between buttons */
  align-items: center;     /* center in page */
  max-width: 800px;        /* limit how wide the whole menu gets */
  margin: 0 auto;          /* center horizontally */
  z-index: 2;              /* above header if overlapping */
}

/* Individual buttons */
/* Individual buttons */
.menu-button {
  display: inline-block;
  width: auto;
  min-width: 250px;
  max-width: 90vw;
  text-align: center;
  padding: 12px 24px;
  background-color: #000000dd;
  color: rgb(255, 255, 255);
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid white; /* Add white border */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
  animation-delay: var(--delay);
  transition: background 0.3s ease, transform 0.2s;
}

.menu-button:hover {
  background-color: #dfffff; /* Light blue hover effect */
  color: black;
}

/* Remove or neutralize the active pulse animation */
.menu-button:active {
  transform: scale(1); /* Keep it steady */
  box-shadow: none;    /* Remove active shadow changes */
}

/* Keep fadeInUp animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Call-now bar */
.call-now {
  position: relative;
  margin-top: 2rem;  /* space below the menu */
  text-align: center;
  width: 100%;
  z-index: 3;
}

.call-button {
  background-color: #005512;   /* Dark green background color for the button */
  color: white;                /* White text color */
  padding: 1.2rem 3rem;        /* Top/bottom = 1.2rem, Left/right = 3rem padding inside the button */
  border-radius: 12px;         /* Rounded corners for the button */
  font-size: 1.2rem;           /* Increases font size for readability */
  text-decoration: none;       /* Removes underline from the link */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);  /* Adds a soft shadow for depth */
  transition: background 0.3s ease;          /* Smooth background color transition on hover */
}

.call-button:hover {
  background-color: #0c0058;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .menu-button {
    font-size: 1rem;
    padding: 1rem;
  }

  .logo {
    font-size: 1.8rem;
  }

@media (max-width: 600px) {
  .logo-image {
    width: 140px;
  }
}

  .call-button {
    font-size: 1rem;
    padding: 1rem 2rem;
  }
}

@media (max-width: 768px) {
  #bg-video {
    object-fit: cover;
  }
}



@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.logo-image {
  width: 480px;
  max-width: 90vw;
  height: auto;
  margin-top: 1rem;
  border-radius: 12px;
  animation: logoFadeIn 2s ease-out, glitchFlash .25s infinite;
}

@keyframes glitchFlash {
  0%, 95%, 100% { opacity: 1; filter: none; }
  96% { opacity: 0.8; filter: contrast(140%) brightness(120%); }
  97% { opacity: 0.6; filter: hue-rotate(15deg) blur(1px); }
  98% { opacity: 0.9; filter: contrast(180%) brightness(140%); }
  99% { opacity: 1; filter: none; }
}

.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.tv-glitch {
  position: relative;
  display: inline-block;
  padding: 10px;
}


.tv-glitch::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: url('assets/effects/tv-static.gif');
  background-size: cover;
  mix-blend-mode: screen;      /* makes the static blend nicely */
  opacity: 0.2;                /* adjust static strength */
  animation: glitch-move 0.4s steps(2) infinite;
  border-radius: 12px;         /* matches your logo rounding */
}

@keyframes glitch-move {
  0% { transform: translate(0px, 0px); }
  50% { transform: translate(1px, -1px); }
  100% { transform: translate(0px, 0px); }
}

/* ============================================
   PDF MODAL
============================================ */

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: all 0.35s ease;
}

.pdf-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
}

/* ============================================
   MODAL CONTENT
============================================ */

.modal-content {
  position: relative;

  width: min(95vw, 900px);
  height: min(92vh, 600px);

  background:
    linear-gradient(
      135deg,
      rgba(8,8,8,0.98),
      rgba(18,18,18,0.96)
    );

  border-radius: 22px;

  overflow: hidden;

  z-index: 2;

  border: 2px solid #9fe8ff;

  box-shadow:
    0 0 12px rgba(159,232,255,0.8),
    0 0 35px rgba(159,232,255,0.55),
    0 0 80px rgba(159,232,255,0.35);

  display: flex;
  flex-direction: column;
}

/* ============================================
   HEADER GRAPHIC
============================================ */

.pdf-header-graphic {
  width: 100%;
  background: #000;
  border-bottom: 2px solid rgba(159,232,255,0.5);

  box-shadow:
    0 0 18px rgba(159,232,255,0.45);
}

.pdf-header-graphic img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ============================================
   PDF IFRAME
============================================ */

#pdf-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #111;
}

/* ============================================
   CLOSE BUTTON
============================================ */

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  cursor: pointer;

  font-size: 1.4rem;
  font-weight: bold;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      #2dc7ff,
      #9fe8ff
    );

  box-shadow:
    0 0 15px rgba(159,232,255,0.8);

  z-index: 10;

  transition: 0.25s ease;
}

.modal-close:hover {
  transform: scale(1.08);

  box-shadow:
    0 0 28px rgba(159,232,255,1);
}