/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #333;
}

.logo-img {
    position: relative;
    overflow: hidden;
    width: 100px;
}
.banner {
    position: relative;
    overflow: hidden;
    /*height: 300px;*/
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /*filter: brightness(50%);*/
}
.title {
    font-size: 3.5em;
    font-weight: bold;
    margin-top: 20px;
}

.subtitle {
    font-size: 1.8em;
    margin-top: 10px;
}

/* Main Content Styling */
main {
    padding: 40px 0;
}

/* Section Title */
h2 {
    text-align: center;
    font-size: 2em;
    color: #8A2BE2; /* Festival Purple */
    margin-bottom: 20px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* SOCIAL MEDIA TOP BAR */
.social-bar {
  background-color: #f4a300;
  padding: 15px 0;
}
.social-icons {
  display: flex;
  gap: 15px;
}
.social-icons a {
  color: #fff;
  font-size: 1.2em;
  transition: transform 0.3s;
}
.social-icons a:hover {
  transform: scale(1.2);
}

/* HEADER */
header {
  background-color: #f4a300;
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.main-nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.1em;
  transition: color 0.3s;
}
.main-nav ul li a:hover {
  color: #B22222;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* OVERLAY */
#menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
#menu-overlay.active {
  display: block;
}

/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.fade-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.fade-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
.fade-slide.active {
  opacity: 1;
  z-index: 1;
}

/* COUNTDOWN */
.countdown {
  padding: 40px 0;
  background: #fffaf0;
  text-align: center;
}
.countdown h2 {
  margin-bottom: 20px;
}
.timer {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.timer div {
  background: #f4a300;
  color: white;
  padding: 20px;
  border-radius: 8px;
  min-width: 80px;
}
.timer span {
  font-size: 2em;
  display: block;
}
.timer label {
  font-size: 0.9em;
}

/* CONTACT FORM */
.contact {
  padding: 50px 0;
  background-color: #fef6e4;
}
.contact h2 {
  text-align: center;
  margin-bottom: 30px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}
.contact-form button {
  background-color: #f4a300;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}
.contact-form button:hover {
  background-color: #d48800;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-container {
    justify-content: space-between;
  }
  .hamburger {
    display: flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    background-color: #f4a300;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
  }
  .main-nav.active {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
  }
  .slider,
  .fade-slide {
    height: 250px;
  }

	.committee-list {
		flex-direction: column;
		align-items: center;
	}

	.committee {
		width: 80%;
	}

	.sponsor-logos {
		flex-direction: column;
		align-items: center;
	}

	.sponsor-logos img {
		max-width: 100px;
	}
}


/* Introduction Section */
.intro {
    text-align: center;
    font-size: 1.2em;
    color: #555;
	background-color: #fef6e4;
	padding: 50px 0;
}

.intro p {
    text-align: center;
    font-size: 1.2em;
    color: #555;
}

/* Committees Section */
.committee-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.committee {
    background-color: #FFD700; /* Golden Yellow */
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    text-align: center;
	padding: 50px 0;
}

.committee h3 {
    color: #B22222; /* Deep Red */
}

.committee p {
    color: #333;
}

/* Sponsor Section */
.sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.sponsor-logos img {
    max-width: 150px;
    height: auto;
}

/* Organizing Team Section */
.organizing-team p {
    text-align: center;
    font-size: 1.2em;
    color: #555;
}

.organizing-team p strong {
    font-weight: bold;
}

/* Footer Section */
footer {
    background-color: #F4A300; /* Festival Yellow */
    padding: 20px;
    text-align: center;
    color: #333;
}

/* President Message */
.president-message {
  padding: 50px 0;
  background-color: #fffaf0;
}

.message-box {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.message-box img {
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.message-text {
  flex: 1;
  font-size: 1.1em;
  color: #333;
}

/* Event Schedule */
.schedule {
  background-color: #fef6e4;
  padding: 50px 0;
}

.schedule-table {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  background-color: #fff3cd;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.schedule-item .time {
  color: #b22222;
  font-weight: bold;
}

/* Gallery */
.gallery {
  padding: 50px 0;
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}
