/* ========================================
   MIFTS FULL CSS
   Unified styling for all pages
======================================== */

/* GENERAL STYLES */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #d8eafe, #a9c9ff);
  color: #03396c;
  margin: 0;
  padding: 0;
}

header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 2px solid #6fa3ef;
}

header .logo img {
  width: 300px;
  margin-bottom: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: #03396c;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #f2f2f2;
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* button at bottom */
  align-items: center;            /* center horizontally */
  height: 70vh;                   
  min-height: 400px;              
  max-height: 700px;              
  padding: 20px 20px;             
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero.jpg') center/cover no-repeat;
  color: white;
  text-shadow: 1px 1px 5px #000;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #03396c;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
  animation: fadeInBtn 2s ease-in-out;
}

.btn:hover {
  background-color: #6fa3ef;
}

/* WELCOME / INTRO SECTION */
.intro {
  padding: 40px 20px;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* CONTENT BOX - For Schedule, Results, About, Rules, Sponsors */
.content-box {
  padding: 40px 20px;
  max-width: 900px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.content-box h1,
.content-box h2 {
  color: #03396c;
  text-align: center;
  margin-bottom: 20px;
}

.content-box p {
  margin-bottom: 20px;
  line-height: 1.5em;
}

/* Lists inside content-box */
.content-box ul {
  padding-left: 40px;
  margin-bottom: 20px;
}

.content-box ul li {
  margin-bottom: 10px;
  line-height: 1.4em;
}

/* ABOUT PAGE IMAGES */
.about-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.about-images img {
  max-width: 300px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* SPONSORS LOGOS */
.sponsor-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.sponsor-logos img {
  max-width: 200px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* RESPONSIVE STYLING */
@media (max-width: 768px) {
  .hero {
    height: 60vh;                 
    padding: 15px 10px;
  }
  .hero h1 {
    font-size: 2em;
  }
  .hero p {
    font-size: 1.1em;
  }
  .btn {
    padding: 10px 20px;
  }
  nav {
    flex-direction: column;
  }
}
  
/* HERO ANIMATIONS */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

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

/* Ensure lists inside content-box have proper padding */
.content-box ul {
  padding-left: 40px;   /* more space from left edge */
  margin: 10px 0;       /* spacing above and below */
}

.content-box ul li {
  margin-bottom: 8px;   /* spacing between bullets */
}
