/* Color Palette */
:root {
  --russian-violet: #801A86; /* For accent elements */
  --emerald: #58bc82ff; /* Main color */
  --light-background: #f7f7f7;
  --text-color: #333;  /* Neutral dark text color */
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-background);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  height: 100vh; /* Ensure the body takes full height */
}

header {
  background-color: var(--emerald);
  color: white;
  padding: 5px 0;
  text-align: center;
  width: 100%;
  position: absolute; /* Make header relative to allow positioning of background */
  top: 0;
  z-index: 2; /* Ensure header stays above the background image */
  background: rgba(255, 255, 255, 0.5); /* Optional: white background with transparency for better text readability */
}

.container h1 {
  font-size: xx-large;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

header h1 {
  font-size: 2.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#hero {
  background-image: url('../img/croppedJAM.jpg'); /* Change to your image path */
  background-size: cover; /* Ensures the image covers the entire area */
  background-position: center; /* Centers the image */
  height: 100vh; /* Adjust height as needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255); /* Text color */
  text-align: center; /* Center the text */
  padding: 0 20px; /* Add padding for smaller screens */
  position: relative; /* Allow positioning of elements within the section */
}


#hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#cta-button {
  padding: 10px 20px;
  background-color: var(--russian-violet); /* Use purple as a button accent */
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#cta-button:hover {
  background-color: #3a9163; /* Slightly darker green on hover */
}

#about, #services, #shows, #contact {
  background-color: var(--light-background);
  padding: 50px 20px;
  text-align: center;
}

.service-item, .show {
  background-color: white;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 15px 0;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.service-item h3, .show h3 {
  font-size: 1.5rem;
  color: var(--emerald); /* Green titles */
}

.learn-more-btn {
  background-color: var(--russian-violet); /* Accent color for buttons */
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.learn-more-btn:hover {
  background-color: var(--emerald); /* Hover effect */
  text-decoration: none;
}

a.learn-more-btn {
  text-decoration: none;
}

#contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

#contact-form input, #contact-form textarea {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

#contact-form button {
  background-color: var(--emerald);
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #3a9163;
}

footer {
  background-color: var(--emerald);
  color: white;
  text-align: center;
  padding: 10px 0;
}

/* Button zoom effect */
button {
  transition: transform 0.5s ease;
}

button:hover {
  transform: scale(1.05); /* Slightly enlarge the button */
}

/* Bounce-in animation */
@keyframes bounceIn {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

#cta-button {
  animation: bounceIn 1.2s ease-in-out 1;
}

.service-item, .show {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-item:hover, .show:hover {
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px); /* Slight lift on hover */
}

#about {
  padding: 50px 20px;
  background-color: var(--light-background);
  text-align: center;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  padding: 20px;
}

.about-image img {
  border-radius: 50%; /* Circular headshot */
  width: 75%; /* Adjust size as needed */
  height: 75%; /* Maintain aspect ratio */
  object-fit: cover; /* Cover the container */
}

.about-text {
  flex: 2;
  padding: 20px;
}

.about-text h2 {
  color: var(--emerald); /* Main color for headings */
}

.about-text p {
  font-size: 1rem;
  line-height: 1.5; /* Better readability */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  header h1 {
    font-size: 2rem;
  }

  nav ul {
    flex-direction: column; /* Stack links vertically on small screens */
  }

  #hero h2 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1rem;
  }

  #about, #services, #shows, #contact {
    padding: 30px 10px;
  }

  .service-item, .show {
    margin: 10px 0; /* Reduce margin for smaller screens */
  }

  #contact-form {
    width: 90%; /* Make contact form responsive */
  }

  .about-container {
    flex-direction: column; /* Stack image and text vertically on small screens */
    align-items: center; /* Center items */
  }

  .about-image {
    padding: 0; /* Remove padding on smaller screens */
  }

  .about-text {
    padding: 0; /* Remove padding on smaller screens */
  }

  .about-image img {
    width: 120px; /* Smaller image on mobile */
    height: 120px;
  }
}

@media (max-width: 480px) {
  nav {
    display: none;
  }

  header h1 {
    font-size: 1.8rem; /* Further reduce header size on extra small screens */
  }

  #hero h2 {
    font-size: 1.5rem; /* Further reduce hero heading size */
  }

  #hero p {
    font-size: 0.9rem; /* Further reduce hero paragraph size */
  }

  .service-item h3, .show h3 {
    font-size: 1.2rem; /* Smaller titles for services and shows */
  }

  #contact-form input, #contact-form textarea {
    font-size: 0.9rem; /* Smaller font size for inputs on mobile */
  }

  #contact-form button {
    font-size: 0.9rem; /* Smaller button size on mobile */
  }
}

#media {
  padding: 50px 20px;
  text-align: center;
}

.media-container {
  display: flex;
  flex-direction: column; /* Stack photos and videos vertically */
  align-items: center;
  display: flex; /* Use flexbox for layout */
  justify-content: center; /* Center images horizontally */
  flex-wrap: wrap; /* Allow images to wrap to the next line */
  gap: 10px; /* Space between images */
  padding: 20px; /* Add padding for better spacing */
}

.media-item {
  margin-bottom: 30px; /* Space between photo and video sections */
}

.media-item img {
  max-width: 100%; /* Responsive images */
  height: auto; /* Maintain aspect ratio */
  margin: 10px; /* Space around images */
  border-radius: 10px; /* Rounded corners */
}

.media-item video {
  max-width: 100%; /* Responsive video */
  height: auto; /* Maintain aspect ratio */
  margin: 10px; /* Space around videos */
  border-radius: 10px; /* Rounded corners */
}


.photo-embed {
  width: 100%; /* Full width */
  max-width: 600px; /* Max width for images */
  margin: 10px 0; /* Margin for spacing */
}

.photo-embed img {
  width: 70%; /* Full width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Optional: rounded corners */
}

.media-container {
  display: flex; /* Flex layout for media items */
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center items */
  margin: 20px 0; /* Margin for spacing */
}

.media-item {
  text-align: center; /* Center text */
  margin: 20px 0; /* Spacing between sections */
  width:80%;
}

#videos {
  text-align: center; /* Center the video section */
  padding: 20px; /* Optional: add some padding for spacing */
}

.video-container {
  display: flex; /* Use flexbox for layout */
  justify-content: center; /* Center videos */
  flex-wrap: wrap; /* Allow videos to wrap to the next line */
  gap: 20px; /* Space between videos */
}

.video-container iframe {
  width: 100%; /* Full width of the container */
  max-width: 45%; /* Set a max width for each video to allow two side by side */
  height: 315px; /* Set a height that maintains the 16:9 aspect ratio */
  border-radius: 10px; /* Optional: round corners */
}

/* Animating Text */

.fade-text {
  position: absolute; /* Positioning all texts in the same place */
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; /* Start hidden */
  transition: opacity 1s ease-in-out; /* Smooth transition for opacity */
}

/* Fade text styles
.fade-text {
  opacity: 0; 
  animation: fade 1s forwards; 
  animation-delay: var(--fade-delay); 
} */

/* Active class to fade in */
.fade-text.active {
  opacity: 1; /* Make visible */
}

/* ===== Education page (scoped) ===== */
.edu-page { padding: 50px 20px; }

/* Hero card */
.edu-hero-card {
  max-width: 1100px;   /* same feel as services/about sections */
  margin: 80px auto 30px;
  padding: 0 20px;     /* left/right padding so image doesn’t touch edge */
  box-sizing: border-box;
}
.edu-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.edu-hero-copy{
  background:#fff;
  border:1px solid #ddd;
  border-radius:10px;
  padding:20px;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}
.edu-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center; /* ✅ centers the buttons horizontally */
  margin: 10px 0 6px;
}
.edu-btn-outline{
  background:transparent !important;
  color: var(--russian-violet) !important;
  border: 2px solid var(--russian-violet) !important;
}
.edu-bullets{
  list-style:none; padding:0; margin:10px 0 0;
  display:flex; flex-wrap:wrap; gap:8px;
}
.edu-bullets li{
  background:#f7f7f7; border:1px solid #eee; border-radius:999px;
  padding:6px 10px; font-size:0.95rem;
}

/* Sections */
.edu-section{ max-width:1200px; margin:30px auto; }
.edu-section-title{ margin:0 0 10px; }

/* Features */
.edu-features{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:15px;
}
.edu-feature .edu-emoji{ font-size:1.4rem; margin-bottom:6px; }

/* Cards (reuse your .service-item look) */
.edu-cards{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:15px;
}
.edu-card h4{ color: var(--emerald); margin-top:6px; }

.edu-card {
  display: flex;
  flex-direction: column;
}

/* Add spacing above buttons inside education cards */
.edu-card .learn-more-btn {
  margin-top: 15px;   /* adjust as needed */
}


.edu-card .learn-more-btn {
  margin-top: auto;   /* pushes button to bottom */
  align-self: center; /* optional: center horizontally */
}


.edu-tag{ margin:6px 0 8px; color:#666; }
.edu-list{ margin:0 0 12px 18px; }

/* Quotes */
.edu-quotes{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:15px;
}
.edu-quote blockquote{ margin:0 0 8px; font-style:italic; }

/* CTA panel (uses your card style) */
.edu-cta{
  max-width:900px; margin:30px auto; text-align:center;
}
.edu-back{ text-align:center; margin:20px 0 10px; }

/* Responsive */
@media (max-width: 980px){
  .edu-hero-card{ grid-template-columns:1fr; }
  .edu-hero-media img{ height:320px; }
  .edu-features{ grid-template-columns:1fr 1fr; }
  .edu-cards{ grid-template-columns:1fr; }
  .edu-quotes{ grid-template-columns:1fr; }
}

