:root {
  --primary-color: #9a3b34;
  --secondary-color: #663333;
  --accent-color: #e85a4f;
  --text-color: #333;
  --light-text: #fff;
  --background-light: #f8f8f8;
  --background-medium: #e6e6e6;
  --background-dark: wheat;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--background-light);
  color: var(--text-color);
  line-height: 1.6;
}

.logo {
  width: 60px;
  height: 60px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

.search-icon {
  font-size: 1.2rem;
  cursor: pointer;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* UPDATED HERO SECTION */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/banner/header-1.png") center/cover no-repeat;
  color: var(--light-text);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}
p {
  color: var(--light-text);
}
.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero-section p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* UPDATED ABOUT CONTENT */
.about-content {
  max-width: 1200px;
  margin: -50px auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.about-intro {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.about-intro h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-intro h2::after {
  content: "";
  position: absolute;
  left: 25%;
  bottom: -10px;
  width: 50%;
  height: 3px;
  background-color: var(--accent-color);
}

.about-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}

.about-section {
  margin-bottom: 3rem;
  background-color: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.about-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.about-section p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.temple-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.temple-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 250px;
}

.temple-image:hover {
  transform: scale(1.03);
}

.temple-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.temple-image:hover img {
  transform: scale(1.1);
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin: 3rem 0;
}

.stat-box {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: #fff;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-box h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #fff;
}

.stat-box p {
  font-size: 1.2rem;
  line-height: 1.4;
}

.team-section {
  text-align: center;
  margin: 4rem 0;
}

.team-section h2 {
  color: var(--primary-color);
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
}

.team-section h2::after {
  content: "";
  position: absolute;
  left: 25%;
  bottom: -10px;
  width: 50%;
  height: 3px;
  background-color: var(--accent-color);
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 350px;
  transition: transform 0.3s ease;
}

/* .team-member:hover {
        transform: translateY(-10px);
      } */

.team-member img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}
/* .team-member:hover img {
        transform: scale(1.05);
      } */

.team-member-info {
  padding: 2rem;
  background: linear-gradient(to bottom, white, #f9f9f9);
}

.team-member-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.team-member-info p {
  color: var(--secondary-color);
  font-style: italic;
  font-size: 1.1rem;
}

/* UPDATED CTA SECTION */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/banner/website.png") center/cover no-repeat fixed;
  color: var(--light-text);
  padding: 6rem 2rem;
  text-align: center;
  margin-top: 3rem;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(154, 59, 52, 0.8),
    rgba(102, 51, 51, 0.8)
  );
  opacity: 0.8;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .temple-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    text-align: justify;
  }
  .menu-icon {
    display: block;
  }
  .stat-box h3 {
    font-size: 1.75rem;
  }
  .nav-links {
    display: none;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .about-section h2 {
    font-size: 1.5rem;
  }

  .stat-box {
    min-width: 150px;
  }

  .temple-gallery {
    grid-template-columns: 1fr;
  }
}
