/* ===========================
   Basic Reset
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #FFF8ED;
  color: #3D2B1F;
  line-height: 1.6;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/* ===========================
   Header
=========================== */
.site-header {
  background-color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 3px solid #E8890C;
}

.header-text h1 {
  color: #C9660A;
  font-size: 28px;
}

.header-text .tagline {
  color: #6E4B1F;
  font-size: 16px;
  margin-top: 5px;
}

.header-logo img {
  height: 70px;
}

/* ===========================
   Navigation Bar
=========================== */
.navbar {
  background-color: #E8890C;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links li a {
  display: block;
  padding: 15px 20px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.nav-links li a:hover {
  background-color: #C9660A;
}

/* ===========================
   Hero Banner
=========================== */
.hero {
  text-align: center;
}

.hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-text {
  background-color: #FFF1DC;
  padding: 30px 20px;
}

.hero-text h2 {
  color: #C9660A;
  font-size: 30px;
  margin-bottom: 12px;
}

.hero-text p {
  max-width: 700px;
  margin: 0 auto;
  color: #4A3722;
}

/* ===========================
   General Section Styling
=========================== */
.section {
  padding: 50px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  color: #C9660A;
  font-size: 26px;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 3px solid #FFD08A;
  display: inline-block;
  padding-bottom: 8px;
}

.section > .section-title {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.about-text {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  color: #4A3722;
}

/* ===========================
   Schedule Table
=========================== */
.table-wrapper {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.schedule-table th, .schedule-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #FFE0B2;
}

.schedule-table th {
  background-color: #E8890C;
  color: #FFFFFF;
  font-size: 16px;
}

.schedule-table tr:nth-child(even) {
  background-color: #FFF8ED;
}

.schedule-table tr:hover {
  background-color: #FFEFD5;
}

/* ===========================
   Sports Events Section
=========================== */
.events-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.events-grid {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
}

.event-card {
  background-color: #FFFFFF;
  border: 2px solid #FFD08A;
  border-radius: 10px;
  padding: 20px 10px;
  text-align: center;
  font-weight: 600;
  color: #C9660A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  background-color: #FFF1DC;
}

.events-image {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Chairman Section
=========================== */
.chairman-section {
  background-color: #FFF1DC;
  border-radius: 12px;
}

.chairman-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.chairman-image {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  margin: 0 auto;
}

.chairman-text {
  flex: 1;
  min-width: 280px;
  color: #4A3722;
}

.chairman-text p {
  margin-bottom: 12px;
}

.chairman-signature {
  font-weight: 700;
  color: #C9660A;
}

/* ===========================
   Winners Section
=========================== */
.winners-section {
  text-align: center;
}

.btn {
  background-color: #E8890C;
  color: #FFFFFF;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #C9660A;
  transform: translateY(-2px);
}

.winners-result {
  margin-top: 30px;
}

.winners-list {
  list-style: none;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.winners-list li {
  padding: 10px 0;
  border-bottom: 1px solid #FFE0B2;
  color: #4A3722;
}

.winners-list li:last-child {
  border-bottom: none;
}

.winners-list strong {
  color: #C9660A;
}

/* ===========================
   Campus Section
=========================== */
.campus-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.campus-image {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.campus-content p {
  flex: 1;
  min-width: 280px;
  color: #4A3722;
}

/* ===========================
   Contact Section
=========================== */
.contact-section {
  text-align: center;
}

.contact-details p {
  margin-bottom: 8px;
  color: #4A3722;
}

/* ===========================
   Footer
=========================== */
.site-footer {
  background-color: #C9660A;
  color: #FFFFFF;
  text-align: center;
  padding: 25px 20px;
  margin-top: 30px;
}

.site-footer p {
  margin: 3px 0;
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 40px 20px;
  }

  .chairman-content,
  .campus-content,
  .events-container {
    flex-direction: column;
  }
}
