@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Lora:wght@400;500;600&display=swap');

:root {
  /* Nature Balanced Palette */
  --bg-primary: #e8efe9;
  --bg-secondary: #dbe6dc;
  --bg-contrast: #cfdccf;
  --surface: rgba(255, 255, 255, 0.6);
  
  --accent-primary: #3f6f52;
  --accent-secondary: #7a9b6f;
  --accent-highlight: #d6b87a;
  --gradient-soft: linear-gradient(135deg, #3f6f52, #d6b87a);
  
  --stone: #8c8f85;
  --earth: #2f3e34;
  
  --text-primary: #2a2e2a;
  --text-secondary: #5f6b63;
  --text-muted: #7d877f;

  /* Layout & Spacing */
  --container-max: 1320px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  
  --space-internal: 24px;
  
  --nav-height: 80px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  color: var(--earth);
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

ul {
  list-style: none;
}

/* Typography Classes */
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* Layout & Containers */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 60px 0;
}

/* Responsive Section Spacing */
@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  :root { --space-internal: 32px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
  .section { padding: 110px 0; }
  :root { --space-internal: 48px; }
}

/* Glass Surface & Cards */
.glass-panel {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(47, 62, 52, 0.05);
}

.glass-card {
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-internal);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(47, 62, 52, 0.08);
  background: rgba(255, 255, 255, 0.75);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(232, 239, 233, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-contrast);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(232, 239, 233, 0.95);
  box-shadow: 0 4px 20px rgba(47, 62, 52, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-primary);
  margin: 5px 0;
  transition: 0.3s;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-soft);
  color: #fff; /* Needs to be white for contrast against dark gradient */
  box-shadow: 0 4px 15px rgba(63, 111, 82, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 111, 82, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent-primary);
  border: 1px solid var(--accent-secondary);
}

.btn-secondary:hover {
  background: var(--bg-contrast);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--earth);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(47, 62, 52, 0.1);
  aspect-ratio: 4/5;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowPan 20s infinite alternate ease-in-out;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(232, 239, 233, 0.2), transparent);
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .hero-visual {
    aspect-ratio: 4/3;
  }
}

/* Sub-Hero / Internal Pages Hero */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 60px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--bg-contrast);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

/* Feature Experience Section */
.feature-experience {
  background: var(--bg-contrast);
  position: relative;
  overflow: hidden;
}

.experience-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(47, 62, 52, 0.08), 0 0 0 1px rgba(122, 155, 111, 0.1);
  padding: var(--space-internal);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.experience-container:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 50px rgba(47, 62, 52, 0.12), 0 0 20px rgba(214, 184, 122, 0.15);
}

.experience-header {
  text-align: center;
  margin-bottom: 40px;
}

.experience-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.experience-interactive {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--earth);
}

.experience-interactive img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.5s ease;
}

.experience-interactive:hover img {
  opacity: 1;
}

.experience-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 62, 52, 0.3);
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

.play-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--accent-primary);
  margin-left: 4px;
}

/* Grid Components */
.grid-system {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .grid-system { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-system.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.25rem;
  color: var(--earth);
  margin-bottom: 8px;
}

/* Informational Content */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2, .content-block h3 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.content-block p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.divider {
  height: 1px;
  background: var(--bg-contrast);
  margin: 40px 0;
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone);
  background: rgba(255, 255, 255, 0.4);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.8);
}

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

/* Footer */
.site-footer {
  background: var(--earth);
  color: var(--bg-primary);
  padding: 80px 0 40px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--bg-primary);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: var(--accent-highlight);
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--bg-secondary);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-highlight);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--bg-secondary);
  opacity: 0.6;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Animations & Effects */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slowPan {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.1) translate(-1%, -1%); }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Background Particles (Dust/Light) */
.particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--accent-highlight);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(2px);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 0.3; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}