/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  min-height: 100vh;
  padding-bottom: 100px; /* Prevent content from being hidden behind fixed footer */
}

/* Slideshow */
.slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: black;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeImages 36s infinite;
}

.slide1 { background-image: url('../img/khayaban-webpage-banner01.jpg'); animation-delay: 0s; }
.slide2 { background-image: url('../img/khayaban-webpage-banner02.jpg'); animation-delay: 6s; }
.slide3 { background-image: url('../img/khayaban-webpage-banner03.jpg'); animation-delay: 12s; }
.slide4 { background-image: url('../img/khayaban-webpage-banner04.jpg'); animation-delay: 18s; }
.slide5 { background-image: url('../img/khayaban-webpage-banner05.jpg'); animation-delay: 24s; }
.slide6 { background-image: url('../img/khayaban-webpage-banner06.jpg'); animation-delay: 30s; }

@keyframes fadeImages {
  0% { opacity: 0; }
  8% { opacity: 1; }
  25% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

/* Logo Section - Fixed to Top */
.logo-section {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
  width: 100%;

}

.top-logo {
  width: 150px;
  margin: 0 auto;
}

.top-logo-text {
  font-size: 1rem;
  color: white;
  text-transform: uppercase;
  margin: 5px auto 0 auto;
  max-width: 90%;
  text-align: center;
  padding: 0 10px;
}

/* Overlay Content - Positioned Dynamically with JS */
.overlay-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center;     /* Center items horizontally */
  justify-content: center;
  width: 90%;
  max-width: 1400px;
  text-align: center;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  transition: top 0.3s ease;
}

.engineered-by {
  text-align: center;
  padding: 10px 0 20px;
  font-size: 0.9rem;
  color: white;
}

.engineered-by a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.engineered-by a span {
  color: red;
  font-weight: bold;
}

.engineered-by a:hover span {
  text-decoration: underline;
}



.description-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 20px 30px;
  display: inline-block;
  max-width: 90%;
}

.description-1,
.description-2,
.launch-message {
  margin-bottom: 15px;
  background: none;
  padding: 0;
}

.description-1 {
  font-size: 3em;
  font-weight: 500;
  line-height: 1.1;
  text-transform: capitalize;
  color: white;
}

.colombo {
  color: white;
}

.description-2 {
  font-size: 1.47em;
  font-weight: 500;
  text-transform: uppercase;
  color:#d7df23;
}

.launch-message {
  font-size: 1.2em;
  font-weight: 500;
  color: black;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 20px;
  margin-top: 15px;
  border-radius: 8px;
  display: inline-block;
  text-shadow: none;
}


/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: white;

  width: 100%;
  text-align: center;
  z-index: 100;
 

}

.footer-contact {
  margin-top: 10px;
}

.footer .button {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background: rgb(215, 223, 35,0.1);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 15px;
  font-size: 16px;
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer .button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.footer .button:active {
  transform: scale(0.95);
}

/* Date & Time */
.datetime {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  color: rgba(245, 245, 245, 0.616);
  font-size: 1em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .top-logo {
    width: 120px;
  }

  .top-logo-text {
    font-size: 0.9rem;
  }

  .description-1 {
    font-size: 2.2em;
  }

  .description-2 {
    font-size: 1.3em;
  }

  .footer .button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .overlay-content {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .top-logo {
    width: 100px;
  }

  .top-logo-text {
    font-size: 0.8rem;
  }

  .description-1 {
    font-size: 1.6em;
  }

  .description-2 {
    font-size: 1.1em;
  }

  .footer .button {
    padding: 8px 16px;
    font-size: 12px;
  }

  .overlay-content {
    padding: 0 10px;
  }
}
