/* Home Page Styles (extracted from staticsite/styles/app-merged.css) */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root{
  --primary:#0B3D91;
  --secondary:#D62828;
  --accent:#F4A261;
  --bg:#F5F7FA;
  --text:#1A1A2E;
  --white:#FFFFFF;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a.btn-primary {
  color: #fff !important;
}
/* Button Primary Style (matches React app) */
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  padding: 1rem 2.5rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: var(--primary);
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* Announcement Bar */
.top-bar {
  background-color: var(--primary);
  color: #FFD700;
  padding: 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  height: 2.2rem;
  display: flex;
  align-items: center;
}
.top-bar-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 25s linear infinite;
}
@keyframes scroll-left {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* Hero Section */
.hero {
  position: relative;
  color: #FFFFFF;
  min-height: 88vh;
  padding: 1.5rem 2rem 3rem;
  text-align: center;
  overflow: hidden;
  background: var(--primary);
}
.carousel-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.carousel-slide.active { opacity: 1; }
.carousel-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(34, 34, 34, 0.65);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-content h1,
.hero-content h2,
.hero-content p {
  color: #FFFFFF !important;
}
.hero-logos {
  display: flex;
  gap: 2.2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.hero-logo-wams {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
}
.hero-logo-site {
  height: 105px;
  width: max-content;
  max-width: 300px;
  padding: 10px 16px;
  border-radius: 25px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.hero-subtitle {
  font-size: 2.25rem;
  font-weight: 700;
  color: #FFFFFF !important;
}
.hero-dates, .hero-org {
  font-size: 1.25rem;
  margin-bottom: 0.1rem;
  font-weight: 600;
}
.hero-org {
  font-size: 1.25rem;
  line-height: 1.55;
}
.timer {
  display: flex;
  gap: 7rem;
  justify-content: center;
  margin: 2.2rem 0 2.7rem;
  flex-wrap: wrap;
}
.timer-box {
  background: #4B5FFF;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 24px rgba(75, 95, 255, 0.36);
  font-weight: 600;
}
.timer-num {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
}
.timer-label {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FFFFFF;
  font-weight: 500;
}

/* About, Sasi, Location, Announcements */
.section, .WAMA-Abt-section {
  padding: 4rem 5rem;
  max-width: 100vw;
  margin: 0 auto;
  font-weight: 300;
  background: var(--white);
}
.section-title {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.two-col {
  display: flex;
  gap: 6rem;
  align-items: center;
}
.two-col > * { flex: 1; }
.about-text {
  font-size: 1.05rem;
  color: #444;
  width: 100%;
  max-width: none;
}
.site-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: block;
}
.location-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.explore-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.explore-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.announcements-card {
  background: var(--white);
  border-radius: 28px;
  padding: 1rem 1.5rem;
  box-shadow: none;
  max-height: 420px;
  display: flex;
  flex-direction: column;
}
.announcements-title {
  color: var(--primary);
  font-size: 2.15rem;
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 700;
}
.announcements-marquee {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 0%, #000 100%, transparent 100%);
}
.announcements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: announcement-scroll 20s linear infinite;
  will-change: transform;
}
.announcements-marquee:hover .announcements-list { animation-play-state: paused; }
.announcement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #171717;
  font-weight: 700;
}
.announcement-bullet {
  color: #171717;
  flex: 0 0 auto;
  line-height: 1.2;
}
.announcements-list .announcement-item::before { content: none; }
@keyframes announcement-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Dates Section */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.date-card {
  background: var(--white);
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-bottom: 4px solid var(--primary);
  transition: transform 0.3s;
}
.date-card:hover { transform: translateY(-5px); }
.date-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.date-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
}

/* Tracks Section */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.track-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-top: 4px solid var(--primary);
}
.track-logo {
  font-size: 2.15rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 0.9rem;
  color: var(--primary);
}
.track-logo svg {
  display: inline-block;
  vertical-align: middle;
}
.track-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}
.track-card ul { list-style: none; }
.track-card li {
  margin-bottom: 0.3rem;
  padding-left: 1.5rem;
  position: relative;
}
.track-card li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Brochure Section */
.brochure-section {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--white);
}

/* Footer */
.footer {
  background: var(--primary);
  color: #F5F5F5;
  padding: 2rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.footer-dates { font-size: 1rem; color: #F5F5F5; margin-bottom: 0.1rem; }
.footer-venue { font-size: 0.9rem; color: #F5F5F5; line-height: 1.5; }
.footer-logos { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.2rem; }
.footer-logo { width: 70px; height: 70px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,0.08); }
.footer-logo-site { width: auto; height: 55px; border-radius: 8px; padding: 4px 8px; background: rgba(255,255,255,0.9); }
.footer-heading { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.4rem; }
.footer h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 1.5rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links li a { opacity: 0.8; transition: opacity 0.3s; color: #F5F5F5; text-decoration: none; }
.footer-links li a:hover { opacity: 1; color: var(--white); }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact svg { flex: 0 0 auto; opacity: 0.8; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; opacity: 0.7; max-width: 1300px; margin: 0 auto; }

/* Responsive */
@media (max-width: 900px) {
  .hero { min-height: 72vh; padding: 1rem 1rem 2rem; }
  .hero-logo-wams { width: 98px; height: 98px; }
  .hero-logo-site { height: 64px; max-width: 205px; }
  .hero-subtitle { font-size: 1.45rem; }
  .hero-title { font-size: 2.65rem; }
  .hero-dates { font-size: 1.1rem; }
  .hero-org { font-size: 0.98rem; }
  .timer-box { width: 104px; height: 104px; }
  .timer-num { font-size: 2.1rem; }
  .timer-label { font-size: 0.78rem; letter-spacing: 1px; }
  .section, .WAMA-Abt-section { padding: 2rem 1rem; }
  .two-col, .dates-grid, .tracks-grid, .footer-grid { grid-template-columns: 1fr; flex-direction: column; gap: 1.5rem; }
  .footer-grid { margin-bottom: 2rem; }
  .footer-title { font-size: 1.7rem; }
  .footer-logos { flex-wrap: wrap; gap: 0.8rem; }
  .footer-heading, .footer h4 { margin-bottom: 0.8rem; }
  .footer-links li { margin-bottom: 0.45rem; }
  .footer-contact li { align-items: flex-start; }
  .footer-bottom { padding-top: 1.2rem; font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) { .announcements-list { animation: none; } }
