/* Global Resets & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Open Sans", sans-serif;
  color: #333;
  background-color: #fafafa;
  line-height: 1.6;
}

/* Site Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  z-index: 999;
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8a6e51; /* Subtle golden-brown for a spiritual vibe */
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  padding: 0.3rem 0.6rem;
  transition: background 0.3s, color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fafafa;
  background-color: #8a6e51;
  border-radius: 4px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url('images/daotower.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text contrast */
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  color: #8a6e51;
  background-color: #fafafa;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.cta-button:hover {
  background-color: #8a6e51;
  color: #fff;
}

/* Section Generic Styles */
.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.section-content {
  text-align: center;
}
.section-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #8a6e51;
}
.description {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}
.alt-bg {
  background-color: #f2efe9; /* Light, slightly warm background */
}

/* Image Container */
.image-container {
  text-align: center;
}
.image-container img {
  width: 60%;
  max-width: 400px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Teachings List */
.teachings-list {
  list-style-type: none;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 0;
}
.teachings-list li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* Reflections Section */
.reflection-card {
  background-color: #fff;
  border-left: 3px solid #8a6e51;
  padding: 1rem;
  margin: 1rem auto;
  max-width: 700px;
  text-align: left;
}
.reflection-card h3 {
  color: #8a6e51;
  margin-bottom: 0.5rem;
}
.reflection-card p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-form label {
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}
.contact-form button[type="submit"] {
  padding: 0.75rem 1.5rem;
  background-color: #8a6e51;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button[type="submit"]:hover {
  background-color: #6f553c;
}

/* Footer */
.site-footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.site-footer p {
  margin-bottom: 0.5rem;
}
.site-footer small {
  opacity: 0.8;
}
