:root {
  /* Replace the current color variables with the new brand colors */
  --primary-color: #F0F7EE;  /* Mint Background */
  --accent-color: #5B8095;   /* Temple Blue */
  --text-color: #333;
  --heading-color: #2c2c2c;
  --light-accent: #F0F7EE;   /* Mint Background (lighter shade) */
  --button-color: #EB4347;   /* Vibrant Red */
  --button-hover: #d93a3e;   /* Darker version of Vibrant Red for hover states */
}

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

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--button-color);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.btn:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
}

.btn i {
  margin-right: 0.5rem;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: fixed;
  width: 100%;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 1rem;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--button-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('images/temple-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: white;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: var(--primary-color);
}

.features-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.features-heading h2 {
  font-size: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Episodes Section */
.episodes {
  padding: 6rem 0;
  background-color: white;
}

.episodes-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.episodes-heading h2 {
  font-size: 2.5rem;
}

.episodes-carousel {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
}

.episode-card {
  min-width: 300px;
  background-color: var(--light-accent);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  flex: 1;
}

.episode-image {
  height: 200px;
  background-color: var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.episode-image img {
  max-width: 100%;
  max-height: 100%;
}

.episode-content {
  padding: 1.5rem;
}

.episode-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.episode-content p {
  margin-bottom: 1.5rem;
}

.episode-actions {
  display: flex;
  flex-wrap: wrap;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background-color: var(--primary-color);
}

.testimonials-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-heading h2 {
  font-size: 2.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: "";
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--accent-color);
  position: absolute;
  left: -1rem;
  top: -1rem;
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 600;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background-color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--light-accent);
  color: var(--accent-color);  /* Changed to Temple Blue */
  border-radius: 50%;
  color: var(--button-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--button-color); /* Changed to Vibrant Red */
  color: white;
  transform: translateY(-3px);
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--accent-color); /* Changed to Temple Blue */
  border-radius: 30px;
  font-size: 1rem;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--button-color);
}

/* Footer */
footer {
  background-color: var(--light-accent); /* Using Mint Background */
  padding: 3rem 0;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--button-color);
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger:focus {
  outline: none;
}

.hamburger-line {
  width: 2rem;
  height: 0.25rem;
  background: var(--accent-color); /* Changed to Temple Blue for consistency */
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Mobile Navigation Styles */
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 75%;
  max-width: 300px;
  background: white;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  padding: 6rem 2rem 2rem;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav .nav-links {
  flex-direction: column;
  align-items: flex-start;
}

.mobile-nav .nav-links li {
  margin: 1rem 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger:focus {
  outline: none;
}

.hamburger-line {
  width: 2rem;
  height: 0.25rem;
  background: var(--button-color);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Animated hamburger icon */
.hamburger-line {
  width: 2rem;
  height: 0.25rem;
  background: var(--accent-color);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: center;
}

/* X transformation */
.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Styles */
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 75%;
  max-width: 300px;
  background: white;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  padding: 6rem 2rem 2rem;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav .nav-links {
  flex-direction: column;
  align-items: flex-start;
}

.mobile-nav .nav-links li {
  margin: 1rem 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.no-scroll {
  overflow: hidden;
}

/* Update Responsive Styles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  nav .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    width: 100%;
    margin-right: 0;
  }
}

/* Updated Hero Section */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding: 2rem 0;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Media query to handle responsive layout */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-image {
    margin-top: 2rem;
    order: -1; /* This places the image above the text on mobile */
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Make logo and text clickable */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--heading-color);
}

.logo-link:hover h1 {
  color: var(--button-color);
  transition: color 0.3s ease;
}

/* Updated Donation Section Styles */
.donation {
  padding: 6rem 0;
  background-color: var(--primary-color);
  text-align: center;
}

.donation-heading {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.donation-heading h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.donation-heading p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.donation-container {
  display: flex;
  justify-content: center;
}

.donation-card {
  background-color: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  max-width: 500px;
  width: 100%;
  transition: transform 0.3s ease;
}

.donation-card:hover {
  transform: translateY(-5px);
}

.donation-icon {
  font-size: 3rem;
  color: var(--button-color);
  margin-bottom: 1.5rem;
}

.donation-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.donation-card p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.donation-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.donation-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.donation-button.venmo {
  background-color: #008CFF;
  color: white;
}

.donation-button.venmo:hover {
  background-color: #0074D1;
  transform: translateY(-2px);
}

.donation-button i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.venmo-handle {
  font-weight: 600;
  color: var(--accent-color);
  margin: 0.5rem 0 0 0;
  font-size: 1.1rem;
}

/* Responsive styles for donation section */
@media (max-width: 768px) {
  .donation-card {
      padding: 2rem;
  }
  
  .donation-heading h2 {
      font-size: 2rem;
  }
}