/* Global Styles */
:root {
  --adult-primary: #2c6e49;
  --adult-secondary: #4c956c;
  --adult-accent: #fefee3;
  --adult-dark: #1a3a1a;
  --adult-light: #f1f8e9;
  
  --kids-primary: #ff9e00;
  --kids-secondary: #5cb9f2;
  --kids-accent: #ff5757;
  --kids-dark: #333333;
  --kids-light: #f8f9fa;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Adult Theme */
.adult-theme {
  --theme-primary: var(--adult-primary);
  --theme-secondary: var(--adult-secondary);
  --theme-accent: var(--adult-accent);
  --theme-dark: var(--adult-dark);
  --theme-light: var(--adult-light);
}

.adult-theme .navbar {
  background-color: var(--theme-primary) !important;
}

.adult-theme .nav-link {
  color: white !important;
}

.adult-theme .btn-primary {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
}

.adult-theme .btn-secondary {
  background-color: var(--theme-secondary);
  border-color: var(--theme-secondary);
}

.adult-theme .card {
  border-color: var(--theme-secondary);
}

.adult-theme .card-header {
  background-color: var(--theme-secondary);
  color: white;
}

.adult-theme .section-heading {
  color: var(--theme-dark);
  border-bottom: 3px solid var(--theme-primary);
  padding-bottom: 0.5rem;
}

/* Kids Theme */
.kids-theme {
  --theme-primary: var(--kids-primary);
  --theme-secondary: var(--kids-secondary);
  --theme-accent: var(--kids-accent);
  --theme-dark: var(--kids-dark);
  --theme-light: var(--kids-light);
}

.kids-theme {
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
}

.kids-theme .navbar {
  background-color: var(--theme-primary) !important;
}

.kids-theme .nav-link {
  color: var(--theme-dark) !important;
  font-weight: bold;
}

.kids-theme .btn-primary {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
  border-radius: 20px;
}

.kids-theme .btn-secondary {
  background-color: var(--theme-secondary);
  border-color: var(--theme-secondary);
  border-radius: 20px;
}

.kids-theme .card {
  border-color: var(--theme-secondary);
  border-radius: 15px;
  border-width: 3px;
}

.kids-theme .card-header {
  background-color: var(--theme-secondary);
  color: white;
  border-radius: 12px 12px 0 0 !important;
}

.kids-theme .section-heading {
  color: var(--theme-primary);
  border-bottom: 3px dashed var(--theme-secondary);
  padding-bottom: 0.5rem;
  font-weight: bold;
}

/* Home Page */
.audience-choice {
  padding: 5rem 0;
}

.audience-card {
  transition: transform 0.3s ease;
  height: 100%;
}

.audience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
  background-position: center;
  background-size: cover;
  color: white;
  padding: 5rem 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
}

.content-section:nth-child(even) {
  background-color: var(--theme-light);
}

/* Slideshow */
.swiper-container {
  width: 100%;
  height: 400px;
  margin-bottom: 2rem;
}

.swiper-slide {
  text-align: center;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Companies Section */
.companies-section {
  background-color: #f8f9fa;
  padding: 2rem 0;
}

.company-card {
  height: 100%;
  transition: transform 0.3s ease;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Downloads Section */
.downloads-section {
  background-color: #e9ecef;
  padding: 2rem 0;
}

.download-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-bottom: 1px solid #dee2e6;
}

.download-item i {
  margin-right: 1rem;
  color: var(--theme-primary);
}

/* Kids Section Link */
.kids-section-link {
  background-color: var(--kids-primary);
  color: white;
  border-radius: 20px;
  padding: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.kids-section-link a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

/* Parents/Teachers Button */
.teacher-parent-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Footer */
footer {
  background-color: var(--theme-dark);
  color: white;
  padding: 2rem 0;
}

footer a {
  color: var(--theme-accent);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .swiper-container {
    height: 300px;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .content-section {
    padding: 2rem 0;
  }
}

@media (max-width: 576px) {
  .swiper-container {
    height: 200px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}
