/* Sacred Grove Ministries - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --forest-green: #1a3b2b;
  --warm-cream: #f5f0e1;
  --gold-accent: #c4a24b;
  --deep-brown: #4a3520;
  --text-dark: #2c2418;
  --text-light: #f0ebe0;
  --gray-mist: #e8e4d8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lexend', sans-serif;
  background-color: var(--warm-cream);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 18px;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  color: var(--forest-green);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; border-left: 4px solid var(--gold-accent); padding-left: 1rem; }
h3 { font-size: 1.6rem; }

p {
  margin-bottom: 1.2em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  background: linear-gradient(135deg, var(--forest-green) 0%, #2a5a3a 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-placeholder {
  width: 60px;
  height: 60px;
  background: var(--gold-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  color: var(--forest-green);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  font-family: 'EB Garamond', serif;
}

.site-title a {
  color: white;
  text-decoration: none;
}

.site-tagline {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--gold-accent);
}

.dropdown {
  position: relative;
}

.dropdown > a::after {
  content: " ▼";
  font-size: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--forest-green);
  min-width: 200px;
  border-radius: 8px;
  padding: 0.5rem 0;
  top: 100%;
  left: 0;
  z-index: 200;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

main {
  min-height: 60vh;
  padding: 3rem 0;
}

.hero {
  background: linear-gradient(rgba(26, 59, 43, 0.7), rgba(26, 59, 43, 0.8)), url('https://images.pexels.com/photos/158607/forest-trees-path-sunlight-158607.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  border-radius: 0 0 30px 30px;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-verse {
  font-style: italic;
  margin-top: 1.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--gray-mist);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.card h3 {
  margin-top: 0;
  color: var(--forest-green);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--forest-green);
}

input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-accent);
}

button, .btn {
  background: var(--forest-green);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-family: 'Lexend', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

button:hover, .btn:hover {
  background: var(--gold-accent);
  color: var(--forest-green);
}

.blog-post {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--gold-accent);
}

.blog-post h2 {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
}

.post-meta {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.site-footer {
  background: var(--forest-green);
  color: var(--text-light);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: var(--gold-accent);
  margin-top: 0;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--gold-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
}

.disclaimer, .disclaimer-box {
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
  margin-top: 2rem;
}

.disclaimer-box {
  background: var(--gray-mist);
  padding: 1.5rem;
  border-radius: 16px;
  margin: 2rem 0;
}

.search-container {
  max-width: 600px;
  margin: 0 auto 2rem;
}

#search-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--gray-mist);
  font-size: 1rem;
}

.search-results {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .dropdown-content {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }
  
  .hero h1 { font-size: 2rem; }
  .hero { padding: 3rem 1rem; }
}

.torah-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
}

.torah-table th, .torah-table td {
  border: 1px solid var(--gray-mist);
  padding: 12px;
  text-align: left;
}

.torah-table th {
  background: var(--forest-green);
  color: white;
}

.hebrew {
  font-family: 'Times New Roman', 'SBL Hebrew', serif;
  font-size: 1.2em;
  direction: rtl;
}

.pull-quote {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--forest-green);
  border-left: 4px solid var(--gold-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
}