/* css/index.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
  color: #222;
}

/* === Header Styling === */
header {
  background: linear-gradient(to right, #111, #1a1a1a);
  padding: 1rem 2rem;
 
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.5rem;
}


.center-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}





.center-title span {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.center-title img {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #ff6600;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff6600;
}


/* === Hero Section === */
.hero {
  position: relative;
  height: 80vh;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  transition: background-image 1s ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.countdown {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-buttons a {
  padding: 0.8rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.btn {
  background-color: #ff6600;
  color: white;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}


/* === Nominee Carousel === */
.nominee-carousel {
  padding: 3rem 2rem;
  background-color: #fff;
  text-align: center;
}

.carousel-track {
  display: flex;
  justify-content: center;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.nominee {
  flex: 0 0 auto;
  width: 150px;
  text-align: center;
}

.nominee img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nominee p {
  margin-top: 0.5rem;
  font-weight: 600;
}


/* === Categories Preview === */
.categories-preview {
  padding: 3rem 2rem;
  text-align: center;
}

.category-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}


/* === How It Works Section === */
.how-it-works {
  padding: 3rem 2rem;
  background-color: #f1f1f1;
  text-align: center;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.step {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  width: 180px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step span {
  font-size: 2rem;
  background-color: #ff6600;
  color: white;
  width: 40px;
  height: 40px;
  display: inline-block;
  line-height: 40px;
  border-radius: 50%;
  margin-bottom: 1rem;
}


/* === Footer === */
footer {
  background-color: #111;
  color: white;
  padding: 1rem;
  text-align: center;
  margin-top: 3rem;
}



.header-cta {
  background-color: #0f83e2;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  justify-content: center;
  position: relative;
}
.header-cta:hover {
  background-color: #e95c00;
}


.announcement-banner {
  background-color: #ff6600;
  color: white;
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.announcement-banner:hover {
  background-color: #007bff; /* Blue on hover */
}

.scroll-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite; /* Slower scroll */
  font-weight: bold;
  padding-left: 100%;
  font-size: 1rem;
}

.announcement-banner:hover .scroll-text {
  animation-play-state: paused; /* Pause on hover */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}














/* === Responsive Fixes === */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }

  .center-title {
    flex-direction: column-reverse;
    margin-bottom: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .steps,
  .carousel-track,
  .category-cards {
    flex-direction: column;
    align-items: center;
  }

  .step,
  .card,
  .nominee {
    width: 90%;
  }
}


@media (max-width: 600px) {
  .announcement-banner {
    padding: 0.4rem 0.5rem;
  }

  .scroll-text {
    font-size: 0.9rem;
    animation-duration: 30s; /* even slower for smaller screens */
  }
}
