/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

#homePage {
  position: relative;
  min-height: 100vh; /* allows page to grow if needed */
  display: flex;
  flex-direction: column;
}

/* Body and Background */
body {
  background-color: #111;
  color: white;
  overflow-x: hidden;
}

/* --- NAVIGATION (same as About page) --- */
nav.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

nav .logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

nav .logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

nav .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav .nav-links li {
  display: inline;
}

nav .nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

nav .nav-links a:hover {
  color: #ff0;
}

/* Optional mobile shrink (same layout) */
@media (max-width: 768px) {
  nav .nav-links {
    gap: 12px;
  }

  nav .nav-links a {
    font-size: 14px;
  }

  nav .logo {
    font-size: 16px;
  }

  nav .logo img {
    height: 32px;
  }
}

/* Page fade-out effect */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Hero Section */
.hero-section {
  flex: 1; /* takes all available space */
  position: relative;
  background: url("../img/your-background.jpg") no-repeat center center/cover; /* your background if needed */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.page-content {
  animation: fadeIn 2s ease-out;
}

h1.animated-text {
  font-size: 50px;
  font-weight: 700;
  animation: fadeInUp 1s ease-out forwards; /* Add forwards so that it stays visible */
  opacity: 0;
  animation-delay: 0.5s;
}

.tagline {
  font-size: 20px;
  margin: 20px 0;
  animation: fadeInUp 1.5s ease-out forwards; /* Add forwards to ensure it stays visible */
  opacity: 0;
  animation-delay: 1s;
}

.description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  animation: fadeInUp 2s ease-out forwards; /* Add forwards to keep it visible */
  opacity: 0;
  animation-delay: 1.5s;
}

.cta-button {
  background-color: #ff0;
  color: #111;
  padding: 12px 30px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 50px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ff9900;
}

@media (max-width: 768px) {
  .container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Make it responsive */
  }

  .hero-section {
    padding: 30px 10px;
  }
}

/* Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  nav .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  h1.animated-text {
    font-size: 35px;
  }

  .tagline {
    font-size: 18px;
  }

  .description {
    font-size: 16px;
  }
}
/* ---------- FOOTER ---------- */

.footer {
  background-color: #111;
  padding: 40px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
}

.footer h3 {
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.social-icon {
  font-size: 28px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  color: #ff0;
}

.footer-copy {
  font-size: 14px;
  opacity: 0.8;
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
  .footer h3 {
    font-size: 20px;
  }

  .social-icon {
    font-size: 24px;
  }

  .footer-copy {
    font-size: 12px;
  }
}

/* Countdown Timer Section */
.countdown-timer {
  background: rgba(255, 255, 255, 0.05); /* light transparent background */
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 800px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.countdown-timer h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Countdown Display */
#countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 2rem;
  color: #ffcc00;
  font-weight: bold;
  letter-spacing: 2px;
}

#countdown div {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 15px;
  min-width: 90px;
  box-shadow: inset 0 0 10px #ffcc00, 0 0 20px #ffcc00;
}

/* Countdown labels (optional, if you add days/hours/minutes/seconds labels) */
#countdown span {
  display: block;
  font-size: 1rem;
  margin-top: 10px;
  color: #fff;
  font-weight: 500;
}

#countdown {
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  #countdown {
    gap: 15px;
  }

  #countdown div {
    min-width: 70px;
    padding: 15px;
    font-size: 1.2rem;
  }
}
