html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0c1a18;
  /* Dark premium background */
  color: #fff;
  overflow-x: hidden;
  padding-bottom: 80px;
  /* Space for the floating CTA bar */
}

/* ====== Hero Wrapper ====== */
.video-placeholder {
  width: 100%;
  height: 100vh;
  background-color: #000;
}

/* ====== SEO Content Section ====== */
.seo-intro {
  max-width: 900px;
  margin: 80px auto 40px;
  padding: 0 20px;
  text-align: center;
}

.seo-intro h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 0%, #00bfa6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seo-intro h2 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #00bfa6;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.seo-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
}

.seo-intro strong {
  color: #fff;
  font-weight: 600;
}

.brochure-highlights {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.brochure-highlights ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 600px;
  width: 100%;
}

.brochure-highlights li {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  color: #00bfa6;
  border: 1px solid rgba(0, 191, 166, 0.2);
  transition: all 0.3s ease;
}

.brochure-highlights li:hover {
  background: rgba(0, 191, 166, 0.1);
  transform: translateY(-3px);
}

/* ====== CTA Bar ====== */
.cta-floating-bar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.cta-btn {
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-btn.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.cta-btn.whatsapp svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: 0.5s;
  pointer-events: none;
}

.cta-btn:hover::after {
  left: 100%;
}

@media (max-width: 600px) {
  .cta-floating-bar {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    width: 90%;
    max-width: 400px;
    align-items: center;
  }

  .cta-btn.whatsapp {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1.1rem;
  }

  .video-container.mini {
    width: 180px;
    height: 101px;
    top: 20px;
    right: 15px;
  }
}

/* ====== Video Styling ====== */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container iframe {
  width: 100vw;
  height: 56.25vw;
  /* 16:9 Aspect Ratio */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 16:9 Aspect Ratio */
  border-radius: 0;
  transition: all 0.6s ease;
  pointer-events: auto;
}

/* ====== Mini Mode ====== */
.video-container.mini {
  width: 320px;
  height: 180px;
  position: fixed;
  top: 20px;
  right: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: move;
  z-index: 9999;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container.mini iframe {
  width: 100%;
  height: 100%;
  min-height: auto;
  min-width: auto;
  border-radius: 12px;
  pointer-events: auto;
  /* Enable controls in mini mode */
}

/* Ensure dragging only works on the container, not directly on the iframe blocking events */
.video-container.mini {
  padding: 0;
}

/* Allow interaction when not dragging? Actually, let's just make it a viewer */
.video-container.mini:hover iframe {
  pointer-events: none;
}

/* Hover glow effect for mini video */
.video-container.mini:hover {
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}


/* Brochure images */
.brochure-images {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-bottom: 50px;
}

.brochure-images img {
  width: 95%;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.brochure-images img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .seo-intro h1 {
    font-size: 2rem;
  }

  .seo-intro h2 {
    font-size: 1.2rem;
  }

  .video-container.mini {
    width: 180px;
    height: 101px;
    top: 20px;
    right: 15px;
  }
}

/* Footer */
footer {
  background: #0e1a18;
  /* Match body background */
  color: #888;
  text-align: center;
  padding: 60px 10px 100px;
  /* Extra bottom padding to see it above CTA bar */
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
  color: #00bfa6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}