/* Activites Page Specific Styles */

body {
  background-color: #fafafa;
  color: #333;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #5d4037 0%, #3e2723 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(230,200,48,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(230,200,48,0.1)"/><circle cx="40" cy="70" r="2" fill="rgba(230,200,48,0.1)"/></svg>')
    repeat;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background-color: #e6c830;
  color: #3e2723;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

/* Activity Navigation */
.activity-nav {
  background: #fff;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 60px;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.activity-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e0e0e0;
  background: #fff;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
}

.activity-tab:hover {
  border-color: #e6c830;
  background: #fffef5;
}

.activity-tab.active {
  background: linear-gradient(135deg, #e6c830 0%, #d4a017 100%);
  border-color: #d4a017;
  color: #3e2723;
  box-shadow: 0 4px 15px rgba(230, 200, 48, 0.3);
}

.tab-icon {
  font-size: 1.2rem;
}

.tab-text {
  white-space: nowrap;
}

/* Activity Sections */
.activity-section {
  display: none;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.4s ease-out;
}

.activity-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: #5d4037;
  font-size: 2rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e6c830, #d4a017);
  border-radius: 2px;
}

.section-intro {
  color: #666;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
}

.subsection-title {
  color: #5d4037;
  font-size: 1.4rem;
  margin: 3rem 0 1.5rem;
  text-align: center;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Single image layout - centered full width */
.image-gallery.single-image {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.image-gallery.single-image .gallery-item.full-width {
  width: 100%;
}

.image-gallery.single-image .gallery-item.full-width img,
.image-gallery.single-image .gallery-item.full-width .image-placeholder {
  height: 350px;
}

/* Two images layout - side by side */
.image-gallery.two-images {
  grid-template-columns: repeat(2, 1fr);
}

.image-gallery.two-images .gallery-item img {
  height: 280px;
}

/* Three images layout - equal columns */
.image-gallery.three-images {
  grid-template-columns: repeat(3, 1fr);
}

.image-gallery.three-images .gallery-item img {
  height: 220px;
}

/* Four items layout */
.image-gallery.four-items {
  grid-template-columns: repeat(4, 1fr);
}

.image-gallery.four-items .gallery-item img {
  height: 180px;
}

/* Nine items layout - 3x3 grid */
.image-gallery.nine-items {
  grid-template-columns: repeat(3, 1fr);
}

.image-gallery.nine-items .gallery-item img {
  height: 180px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.large {
  grid-column: span 2;
}

.gallery-item.large img {
  height: 250px;
}

.ambassador-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e6c830;
}

.image-placeholder {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
  border-radius: 12px;
  color: #999;
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  border-color: #e6c830;
  background: linear-gradient(135deg, #fffef5 0%, #fff9e0 100%);
}

.image-placeholder span {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.image-placeholder p {
  font-size: 0.85rem;
}

.image-placeholder.small {
  height: 120px;
  width: 120px;
}

.gallery-item.large .image-placeholder {
  height: 200px;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.content-grid.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

/* Info Cards */
.info-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-card.compact {
  padding: 1.5rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: #5d4037;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.info-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #fffef5 0%, #fff9e0 100%);
  border: 2px solid #e6c830;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.highlight-box p {
  color: #5d4037;
  font-size: 1.1rem;
  line-height: 1.7;
}

.highlight-box.dark {
  background: linear-gradient(135deg, #5d4037 0%, #3e2723 100%);
  border-color: #5d4037;
}

.highlight-box.dark p {
  color: #fff;
}

.highlight-box.dark strong {
  color: #e6c830;
}

/* Two Columns Layout */
.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.column h3 {
  color: #5d4037;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e6c830;
}

/* Feature Items */
.feature-item {
  margin-bottom: 1.5rem;
}

.feature-item h4 {
  color: #5d4037;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #666;
  font-size: 0.9rem;
}

/* Objectives List */
.objectives-list {
  list-style: none;
  padding: 0;
}

.objectives-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: #555;
  font-size: 0.95rem;
}

.objectives-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
  font-size: 1rem;
}

.objectives-list.horizontal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Action List */
.action-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-item {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #e6c830;
}

.action-item h4 {
  color: #5d4037;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.action-item p {
  color: #666;
  font-size: 0.85rem;
}

/* Champion Box */
.champion-box {
  background: linear-gradient(135deg, #e6c830 0%, #d4a017 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.champion-box h3 {
  color: #3e2723;
  margin-bottom: 0.5rem;
}

.champion-box p {
  color: #5d4037;
  font-size: 1.2rem;
}

/* Intro Text */
.intro-text {
  background: #f9f9f9;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid #e6c830;
}

.intro-text p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

/* Ambassador Card */
.ambassador-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, #5d4037 0%, #3e2723 100%);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 3rem;
}

.ambassador-photo {
  flex-shrink: 0;
}

.ambassador-photo .image-placeholder {
  border-radius: 50%;
  border-color: #e6c830;
}

.ambassador-info {
  color: #fff;
}

.ambassador-badge {
  display: inline-block;
  background: #e6c830;
  color: #3e2723;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ambassador-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.ambassador-info p {
  color: rgba(255, 255, 255, 0.8);
}

/* Steps Container */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e6c830 0%, #d4a017 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #3e2723;
  font-size: 1.1rem;
}

.step-content h4 {
  color: #5d4037;
  margin-bottom: 0.25rem;
}

.step-content p {
  color: #666;
  font-size: 0.9rem;
}

/* Election Steps */
.election-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.election-step {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.election-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e6c830 0%, #d4a017 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #3e2723;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.election-step h4 {
  color: #5d4037;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.election-step p {
  color: #666;
  font-size: 0.8rem;
}

/* Importance Box */
.importance-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.importance-box h3 {
  color: #5d4037;
  text-align: center;
  margin-bottom: 1.5rem;
}

.importance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.importance-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
}

.importance-item span {
  color: #4caf50;
  font-weight: bold;
  font-size: 1.2rem;
}

.importance-item p {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #e6c830 0%, #d4a017 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-content h2 {
  color: #3e2723;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-content p {
  color: #5d4037;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #5d4037;
  color: #fff;
}

.btn-primary:hover {
  background: #3e2723;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: #fff;
  color: #5d4037;
  border: 2px solid #5d4037;
}

.btn-secondary:hover {
  background: #5d4037;
  color: #fff;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-content h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #e6c830;
  letter-spacing: 1px;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #e6c830;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .election-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .importance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid.four-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - Page specific styles */
@media (max-width: 768px) {
  .activity-nav {
    top: 85px;
    padding: 1rem;
  }

  .nav-container {
    gap: 0.35rem;
  }

  .activity-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .tab-text {
    display: none;
  }

  .tab-icon {
    font-size: 1.4rem;
  }

  .activity-section {
    padding: 2rem 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .image-gallery {
  }

  .activity-nav {
    top: 85px;
    padding: 1rem;
  }

  .nav-container {
    gap: 0.35rem;
  }

  .activity-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .tab-text {
    display: none;
  }

  .tab-icon {
    font-size: 1.4rem;
  }

  .activity-section {
    padding: 2rem 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .image-gallery.two-images {
    grid-template-columns: 1fr;
  }

  .image-gallery.two-images .gallery-item img {
    height: 220px;
  }

  .image-gallery.three-images {
    grid-template-columns: 1fr;
  }

  .image-gallery.three-images .gallery-item img {
    height: 200px;
  }

  .image-gallery.four-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-gallery.four-items .gallery-item img {
    height: 150px;
  }

  .image-gallery.nine-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-gallery.nine-items .gallery-item img {
    height: 140px;
  }

  .image-gallery.single-image {
    max-width: 100%;
  }

  .image-gallery.single-image .gallery-item.full-width img,
  .image-gallery.single-image .gallery-item.full-width .image-placeholder {
    height: 250px;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .content-grid,
  .content-grid.four-cols {
    grid-template-columns: 1fr;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .objectives-list.horizontal {
    grid-template-columns: 1fr;
  }

  .election-steps {
    grid-template-columns: 1fr;
  }

  .importance-grid {
    grid-template-columns: 1fr;
  }

  .ambassador-card {
    flex-direction: column;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
