/* Reunion with Nature School - Custom Styles & Colors */

:root {
  /* Element Colors - Primary Accents */
  --color-love-primary: #d946a6;
  --color-love-secondary: #a855f7;
  --color-love-tertiary: #06b6d4;
  
  --color-breath-primary: #6b7280;
  --color-breath-secondary: #9ca3af;
  --color-breath-tertiary: #d1d5db;
  
  --color-fire-primary: #d97706;
  --color-fire-secondary: #f59e0b;
  --color-fire-tertiary: #fbbf24;
  
  --color-water-primary: #0369a1;
  --color-water-secondary: #0c4a6e;
  --color-water-tertiary: #1e40af;
  
  --color-earth-primary: #16a34a;
  --color-earth-secondary: #365314;
  --color-earth-tertiary: #713f12;
  
  /* Neutral Colors */
  --color-bg-warm: #fffbf0;
  --color-text-dark: #1f2937;
  --color-text-light: #f8f8f8;
  --color-border-light: #e5e7eb;
  --color-border-medium: #d1d5db;
}

/* =========================
   Global Styles
   ========================= */

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-warm);
  color: var(--color-text-dark);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: 600;
  color: var(--color-text-dark);
}

h1 { font-size: 2.5rem; margin: 1rem 0; }
h2 { font-size: 2rem; margin: 1.5rem 0 1rem 0; }
h3 { font-size: 1.75rem; margin: 1.25rem 0 0.75rem 0; }
h4 { font-size: 1.25rem; margin: 1rem 0 0.5rem 0; }

a {
  transition: all 0.3s ease;
}

/* =========================
   Element-Specific Utilities
   ========================= */

/* Love */
.love-accent { color: var(--color-love-primary); }
.love-bg { background-color: var(--color-love-primary); }
.love-border { border-color: var(--color-love-primary); }
.love-text-light { color: var(--color-love-secondary); }
.love-bg-light { background-color: rgba(217, 70, 166, 0.1); }
.love-hover:hover { color: var(--color-love-secondary); }

/* Breath */
.breath-accent { color: var(--color-breath-primary); }
.breath-bg { background-color: var(--color-breath-primary); }
.breath-border { border-color: var(--color-breath-primary); }
.breath-text-light { color: var(--color-breath-secondary); }
.breath-bg-light { background-color: rgba(107, 114, 128, 0.1); }
.breath-hover:hover { color: var(--color-breath-secondary); }

/* Fire */
.fire-accent { color: var(--color-fire-primary); }
.fire-bg { background-color: var(--color-fire-primary); }
.fire-border { border-color: var(--color-fire-primary); }
.fire-text-light { color: var(--color-fire-secondary); }
.fire-bg-light { background-color: rgba(217, 119, 6, 0.1); }
.fire-hover:hover { color: var(--color-fire-secondary); }

/* Water */
.water-accent { color: var(--color-water-primary); }
.water-bg { background-color: var(--color-water-primary); }
.water-border { border-color: var(--color-water-primary); }
.water-text-light { color: var(--color-water-secondary); }
.water-bg-light { background-color: rgba(3, 105, 161, 0.1); }
.water-hover:hover { color: var(--color-water-secondary); }

/* Earth */
.earth-accent { color: var(--color-earth-primary); }
.earth-bg { background-color: var(--color-earth-primary); }
.earth-border { border-color: var(--color-earth-primary); }
.earth-text-light { color: var(--color-earth-secondary); }
.earth-bg-light { background-color: rgba(22, 163, 74, 0.1); }
.earth-hover:hover { color: var(--color-earth-secondary); }

/* =========================
   Navigation Styles
   ========================= */

.navbar {
  position: sticky;
  top: 0;
  background-color: white;
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 80px;
  width: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--color-earth-primary);
  border-bottom: 2px solid var(--color-earth-primary);
  padding-bottom: 0.25rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.4rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.nav-menu.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1rem;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

/* =========================
   Hero Section
   ========================= */

.hero {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.05) 0%, rgba(217, 70, 166, 0.05) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
}

.hero img {
  width: 90%;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-breath-primary);
  font-style: italic;
  margin-bottom: 2rem;
}

/* =========================
   Cards & Sections
   ========================= */

.element-card {
  border-radius: 12px;
  padding: 2rem;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid var(--color-text-dark);
}

.element-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.element-card h3 {
  margin-top: 0;
}

.element-card a {
  text-decoration: none;
  color: var(--color-earth-primary);
  font-weight: 600;
}

.element-card a:hover {
  text-decoration: underline;
}

/* =========================
   Image Layouts
   ========================= */

.image-block {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.image-caption {
  font-size: 0.95rem;
  color: var(--color-breath-primary);
  font-style: italic;
  margin-top: 0.5rem;
  text-align: center;
}

/* Alternating Layout for Images & Text */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
  align-items: center;
}

.content-row.reverse {
  direction: rtl;
}

.content-row.reverse > * {
  direction: ltr;
}

.content-text {
  padding: 1rem;
}

.content-image {
  border-radius: 8px;
  overflow: hidden;
}

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

/* =========================
   Subsections
   ========================= */

.subsection {
  margin: 3rem 0;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  border-left: 5px solid var(--color-text-dark);
}

.subsection h3 {
  margin-top: 0;
}

/* =========================
   Quote Styling
   ========================= */

blockquote {
  border-left: 4px solid var(--color-love-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--color-breath-primary);
  font-style: italic;
  line-height: 1.8;
}

blockquote em {
  color: var(--color-text-dark);
  font-weight: 600;
}

/* =========================
   Footer
   ========================= */

footer {
  background-color: var(--color-text-dark);
  color: var(--color-text-light);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid var(--color-border-light);
}

footer a {
  color: var(--color-earth-primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   Contact Form
   ========================= */

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  border-left: 5px solid var(--color-earth-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-earth-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-button {
  background-color: var(--color-earth-primary);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.form-button:hover {
  background-color: var(--color-earth-secondary);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.form-button:active {
  transform: scale(0.98);
}

/* =========================
   Embedded Media
   ========================= */

.embedded-media {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.embedded-media iframe {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
}

/* =========================
   Responsive Design
   ========================= */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    gap: 0;
  }
  
  .content-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .content-row.reverse {
    direction: ltr;
  }
  
  .subsection {
    padding: 1rem;
  }
  
  blockquote {
    font-size: 1rem;
    padding-left: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }
  
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
  
  .nav-menu a {
    font-size: 0.9rem;
  }
  
  .hero img {
    max-width: 150px;
  }
  
  .element-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}
