/* General Styles */
body {
  margin: 0;
  padding: 0;
  background-color: #1a1a1a;
  color: white;
  font-family: Arial, sans-serif;
}

h2 {
  font-family: "Merienda", serif;
  font-weight: 300;
  color: #ffffff;
}

.theme-h2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Link Styles */
a {
  color: #ff3333; /* bright red */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #ff6666; /* lighter red on hover/focus */
  text-decoration: underline;
}

a:visited {
  color: #cc0000; /* darker red for visited links */
}


p,
ul,
li,
h3 {
  padding: 10px;
  font-family: "Roboto Condensed", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h3 {
  padding: 10px;
}

.slider {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.nav-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  outline: none;
}

.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.register-btn {
  background-color: red;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.register-btn:hover {
  background-color: darkred;
}

#countdown {
  background-color: #222;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin: 20px auto;
  max-width: 600px;
}

#countdown h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

#timer {
  display: flex;
  justify-content: space-around;
  font-size: 36px;
  color: #ff0000;
}

.timer-item {
  background-color: #333;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  flex: 1;
  margin: 0 10px;
}

.timer-item h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.timer-item p {
  margin: 0;
  color: #ff0000;
  font-weight: bold;
}

/* Global container */
.app-container {
  width: 100%;
  max-width: 1000px; /* adjust to your design */
  margin: 0 auto;
  padding: 0 16px;
}

/* Apply to sections that should not span the full width */
section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0;
}

.timeline-section {
  text-align: center;
  padding: 20px;
  background-color: #111;
}

.timeline-section h2 {
  color: red;
  font-size: 2em;
  margin-bottom: 5px;
}

.timeline-section p {
  font-size: 14px;
  color: #ccc;
}

.divider {
  height: 2px;
  background-color: red;
  margin: 10px auto;
}

.timeline-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

.timeline-cards-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.timeline-cards {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  scroll-snap-type: x mandatory;
}

.timeline-card {
  background: #000000;
  border: 1px solid #ff3131;
  padding: 20px;
  border-radius: 15px;
  width: 320px;
  box-shadow: 0 4px 8px #ff3131;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  scroll-snap-align: center;
}

.timeline-card:hover {
  transform: scale(1.05);
}

.timeline-nav {
  background: #ff3131;
  border: none;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  transition: background 0.3s;
}

.timeline-nav:hover {
  background: #cc0000;
}

.icon {
  font-size: 24px;
}

.guidelines {
  background-color: rgb(25, 25, 25);
}

.sponsors {
  background-color: rgb(25, 25, 25);
  text-align: center;
}

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: auto;
  justify-items: center;
}

.sponsor-logos img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.themes {
  text-align: center;
  padding: 50px 20px;
}

.themes-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

@media (max-width: 1024px) {
  .themes-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .themes-container {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 480px) {
  .themes-container {
    grid-template-columns: 1fr; 
  }
}

.theme-card {
  background: #fff;
  text-decoration: none;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #ccc;
  width: 180px;
  height: 180px;
}

.theme-card:hover {
  transform: translateY(-5px);
}

.theme-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
}

.theme-card h3 {
  font-size: 14px;
  color: #333;
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: #111;
  border: 1px solid #ff0000;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.contact-container h2 {
  text-align: center;
  color: #ff0000;
  margin-bottom: 20px;
  font-style: italic;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

label {
  margin-bottom: 5px;
  color: #ffffff;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  background: #222;
  border: 1px solid #ff0000;
  border-radius: 5px;
  color: #fff;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 10px #ff4d4d;
}

#contact-btn {
  width: 100%;
  padding: 12px;
  background: #ff0000;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
}

#contact-btn:hover {
  background: #cc0000;
}

.faq-container {
  max-width: 80%;
  margin: 20px auto;
  padding: 50px;
  background-color: #1e1e1e;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2c2c2c;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #444;
}

.faq-header h2 {
  margin: 0;
}

#toggle-faqs {
  background-color: #ff0000;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
}

.faq-item {
  margin-top: 10px;
}

.faq-question {
  width: 100%;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 15px;
  text-align: left;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  margin: 8px 0;
  transition: background-color 0.3s, transform 0.2s;
}

.faq-answer {
  display: none;
  padding: 15px;
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  margin-bottom: 10px;
  color: #ddd;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .slides img {
    height: auto;
    object-fit: contain;
  }
  #timer {
    flex-direction: column;
    font-size: 28px;
  }

  .timer-item {
    margin-bottom: 10px;
    width: 80%;
  }

  .timeline-container {
    flex-direction: column;
  }

  .timeline-card {
    width: 90%;
    margin-bottom: 15px;
  }

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

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

  .theme-card {
    width: 100%;
    height: auto;
  }

  .contact-container {
    width: 90%;
  }

  input,
  textarea {
    width: 100%;
  }

  #contact-btn {
    width: 100%;
  }

  .faq-container {
    max-width: 90%;
    padding: 20px;
  }

  .timeline-cards-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
  }

  .timeline-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .timeline-card {
    width: 80%;
    min-width: 280px;
  }

  .timeline-card:hover {
    transform: scale(1.05);
  }
}
