/* === 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 with Ken Burns Effect === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 10%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/school.png') center center / cover no-repeat;
  z-index: 0;
  
  /* Ken Burns animation */
  animation: kenburns 20s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-2%, -2%);
  }
  100% {
    transform: scale(1.2) translate(2%, 2%);
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* overlay */
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(10%);
}

.hero h1 {
  font-size: 6rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.7);
  margin: 0;
}

.hero .dates {
  font-size: 2.1rem;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero .quote {
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
}


.hero .btn {
  margin-top: 20px;
  background: #6a1b1b;
  color: #fdf8f2;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* 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;
  }
}
/* About Section */
.about {
  background-color: #faf7f2;
  padding: 70px 5%;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
  font-style: italic;
  font-weight: 300;
  color: #7a5e5e; /* soft, lighter text */
}

.about-text h2 {
  font-size: 1.8rem;
  color: #6a1b1b;
  margin-bottom: 25px;
  font-style: normal; /* keep title bold & clean */
  font-weight: 700;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-quote {
  font-size: 1.2rem;
  color: #555;
  margin: 25px 0;
  letter-spacing: 0.5px;
}
/* Countdown Section */
.countdown-section {
  background: #fdf8f2; /* cream base */
  color: #6a1b1b;      /* maroon text */
  text-align: center;
  padding: 100px 20px;
  font-family: 'Montserrat', sans-serif;
}

.countdown-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 700;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.time-box {
  background: #fff;
  border: 2px solid #6a1b1b;
  border-radius: 15px;
  padding: 25px 20px;
  width: 120px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  animation: popIn 0.8s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-box:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

.time-box span {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #6a1b1b;
  margin-bottom: 10px;
}

.time-box p {
  font-size: 1rem;
  font-weight: 500;
  color: #2c0e0e;
}

/* 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; }
}
