/* === Fonts & Base === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fdf8f2;
  color: #2c0e0e;
  line-height: 1.5;
  overflow-x: hidden;
}

/* === Header / Navbar === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(44,14,14,0.85);
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 20px 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 50px;
  width: auto;
  cursor: pointer;
}

.site-title {
  font-weight: 700;
  font-size: 1.8rem;
  color: #f5ede0;
  letter-spacing: 1px;
}

/* Navbar links */
.nav-links {
  list-style: none;
  display: flex; /* default desktop */
  gap: 25px;
  margin-left: 50px;
}

.nav-links a {
  text-decoration: none;
  color: #f5ede0;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #d4b59c;
}

.nav-ico {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1500;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #f5ede0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Sections === */
.section {
  padding: 40px 5%;
  text-align: center;
  background-color: #e7cfbc9c;
}

#committees {
  padding-top: 60px;
}

#studyguides {
  padding-bottom: 60px;
}

.section h2 {
  margin-bottom: 10px;
}

.section p {
  margin-bottom: 10px;
}

.btn-secondary {
  margin-top: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #6a1b1b;
  color: #fdf8f2;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #8b2c2c;
  transform: scale(1.05);
}

/* === Hero Section === */
.hero {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('images/school.png') center center / cover no-repeat fixed;
  padding-top: 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}


.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
}


.hero p {
  font-size: 1.1rem;
}


/* Footer */
footer {
  background: #2c0e0e;
  color: #f5ede0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 50px;
  flex-wrap: wrap;
  min-height: 250px;
  position: relative;
}

footer .footer-info {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

footer .footer-info p {
  margin: 5px 0;
  font-size: 1rem;
}

footer iframe {
  border: 0;
  width: 400px;
  height: 250px;
  border-radius: 10px;
}

footer a {
  color: #d4b59c;
  text-decoration: none;
}

/* === Responsive === */
@media (max-width: 1024px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  footer .footer-info {
    max-width: 100%;
    margin-top: 0;
  }

  footer iframe {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    width: auto;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(44,14,14,0.95);
    display: none;
    border-radius: 10px;
    z-index: 1400;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero .dates {
    font-size: 1.3rem;
  }

  .hero .quote {
    font-size: 1rem;
    padding: 0 10px;
  }
}

/* Animation */
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  #countdown { gap: 20px; }
  .time-box { width: 100px; padding: 20px; }
  .time-box span { font-size: 2rem; }
}
/* Committees Section */
.committee-list {
  padding: 120px 5% 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  background-color: #fdf8f2;
}

.committee-card.large-card {
  width: 100%;
  max-width: 1200px;
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.committee-card.large-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

.committee-logo {
  height: 90px;
  object-fit: contain;
  margin-bottom: 15px;
}

.committee-card h2 {
  color: #6a1b1b;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.committee-card p {
  color: #4a2a2a;
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Grid */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}

.committee-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.committee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Buttons */
.btn {
  display: inline-block;
  background: #6a1b1b;
  color: #fdf8f2;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #8b2c2c;
  transform: scale(1.05);
}


/* Arrow Button Styling (inherits .btn styles) */
.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #6a1b1b;
  color: #fdf8f2;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.arrow-btn i {
  font-size: 1.1rem;
}

.arrow-btn:hover {
  background: #8b2c2c;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

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

@media (max-width: 768px) {
  .committee-grid {
    grid-template-columns: 1fr;
  }
}
