/* styles.css */

:root {
  --primary-color: #002244;
  --accent-color: #d45c1b;
  --overlay-opacity: 0.6;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hero {
  background: url('../images/background.jpg') no-repeat center center/cover;
  min-height: 100vh;
  position: relative;
}

.preschool-hero {
  background: url('../images/background-1.png') no-repeat center center/cover;
}

.elementary-hero {
  background: url('../images/background-2.png') no-repeat center center/cover;
}

.overlay {
  background-color: rgba(0, 0, 0, var(--overlay-opacity));
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.school-name {
  font-family: "Times New Roman", Times, serif;
  font-size: 3.2rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  font-weight: 400;
}

.tagline {
  font-size: 1.6rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  font-weight: 600;
}

.subtitle {
  font-size: 1.8rem;
  line-height: 1.6;
  letter-spacing: 0.5px;
  opacity: 0.9;
  font-weight: 300;
}

.programs {
  max-width: 1200px;
  margin: 0 auto;
}

.program {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.program h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.5rem;
}

.age-range {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.description {
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.btn-outline-primary {
  --bs-btn-color: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-bg: var(--primary-color);
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: auto;
  width: fit-content;
  min-width: auto;
  padding: 0.375rem 0.75rem;
}

@media (max-width: 768px) {
  .hero-content {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .school-name {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.3rem;
  }
  
  .subtitle {
    font-size: 1.4rem;
  }
  
  .program {
    margin-bottom: 1rem;
  }
}

.content-section {
  margin-top: 2rem;
}

.content-card {
  background: rgba(255, 255, 255, 0.98);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  color: #333;
}

.content-card p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
}

.content-card .lead {
  font-size: 1.25rem;
  color: #222;
}

.program-features {
  list-style: none;
  padding-left: 0;
}

.program-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #333;
}

.program-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.waitlist-section {
  background: rgba(0, 34, 68, 0.08);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.contact-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
}

.contact-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-section a:hover {
  text-decoration: underline;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

@media (max-width: 768px) {
  .content-card {
    padding: 1.5rem;
  }
  
  .waitlist-section {
    padding: 1.5rem;
  }
}

.social-links {
  margin-top: 2rem;
}

.social-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  .social-links .d-flex {
    flex-wrap: wrap;
  }
  
  .social-link {
    margin-bottom: 0.5rem;
  }
}
