/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.6;
}

/* Header and banner */
.vote-banner {
  background: linear-gradient(90deg, #d62828, #f77f00);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1.8rem;
  font-weight: bold;
}

.vote-banner p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.countdown {
  background-color: #003049;
  color: #ffffff;
  text-align: center;
  padding: 1.5rem;
}

.countdown h2 {
  font-size: 1.8rem;
  color: #fcbf49; /* Bright gold for contrast */
  margin-bottom: 1rem;
}

#timer {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
}

#timer span {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 0.3rem 0.6rem;
  background-color: #f77f00; /* Orange highlight */
  border-radius: 5px;
  color: #fff;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 2rem 1rem;
}

.hero img {
  max-width: 200px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* profile section */

.profile {
  text-align: left;
  padding: 2rem 1rem;
}

.profile img {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.tagline {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2a9d8f;
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-link {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: #2a9d8f;
  color: white;
}

.btn-primary:hover {
  background-color: #21867a;
}

.btn-secondary {
  background-color: #e9c46a;
  color: #333;
}

.btn-secondary:hover {
  background-color: #d4b04f;
}

.btn-link {
  color: #264653;
  text-decoration: underline;
}

/* Section styling */
section {
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: auto;
}

h2, h3 {
  color: #003049;
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #f1f1f1;
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  border-left: 5px solid #2a9d8f;
}

/* Footer */
footer {
  background-color: #003049;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero img {
    max-width: 90%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Top navigation bar */
.top-nav {
  background: #264653; /* Deep navy */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

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

.nav-links li {
  display: inline;
}

.nav-btn {
  color: #ffffff;
  background-color: #2a9d8f; /* Teal base */
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-btn:hover {
  background-color: #21867a; /* Darker teal on hover */
  color: #fcbf49; /* Bright gold text on hover */
}

/* Responsive tweak */
@media (max-width: 600px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-btn {
    width: 100%;
    padding: 1rem;
  }
}

.vote-banner h1 {
  font-size: 2rem;
  line-height: 1.4;
}

.candidate-name {
  display: block;
  font-size: 3.4rem;
  font-weight: 700;
  color: #fcbf49; /* Bright gold for emphasis */
}

.wasp-link {
  color: #fcbf49; /* Bright yellow */
  font-weight: bold;
}

.wasp-link:hover {
  color: #ffd166; /* Lighter yellow on hover */
}

.scroll-gallery {
  display: flex;
  justify-content: center;     /* Center the whole gallery horizontally */
  align-items: center;         /* Center images vertically */
  overflow-x: auto;
  gap: 8px;
  padding: 10px;
  margin: 0 auto;              /* Center the container itself */
  max-width: 100%;
}

.gallery-item {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-item img {
  height: 200px;
  border-radius: 6px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
  border-color: #ffcc00;
}

#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid #fff;
  border-radius: 8px;
}

.gallery-header {
  text-align: center;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
  border-bottom: 2px solid #ffcc00; /* Campaign yellow */
  padding-bottom: 5px;
}

.gallery-intro {
  text-align: center;
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.caption {
  text-align: center;
  font-size: 0.9em;
  color: #444;
  margin-top: 4px;
  max-width: 80px;
  word-wrap: break-word;
}

