/* Announcement Ticker */
.announcement-ticker {
  background: linear-gradient(135deg, #004aad 0%, #0066cc 100%);
  color: white;
  padding: 0.75rem 2rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.announcement-ticker::before {
  content: '✨';
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.announcement-ticker::after {
  content: '✨';
  margin-left: 0.5rem;
  font-size: 1.2rem;
}

.announcement-text {
  display: inline-block;
  animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}

@media (max-width: 768px) {
  .announcement-ticker {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

header {
  background-color: #800020;
  color: white;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.logo-title a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.logo-title img {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.logo-title h1 {
  margin: 0;
  font-size: 1.8rem;
  color: white;
  font-weight: 700;
  white-space: nowrap;
}

.nav-banner {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-banner a {
  position: relative;
  padding: 0.5rem 0;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-banner a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FFD700;
  transition: width 0.3s ease;
}

.nav-banner a:hover {
  color: #FFD700;
}

.nav-banner a:hover::after {
  width: 100%;
}

.nav-banner a.active {
  color: #FFD700;
  font-weight: 600;
}

.nav-banner a.active::after {
  width: 100%;
}

@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }

  .logo-title h1 {
    font-size: 1.4rem;
  }

  .nav-banner {
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .nav-banner a {
    font-size: 0.9rem;
  }
}
