/* CSS Variables - Monochromatic Color Scheme with Neo-brutalism */
:root {
  /* Monochromatic Greens - Primary Colors */
  --primary-color: #2d5016;
  --primary-light: #4a7c59;
  --primary-dark: #1a2f0d;
  --accent-color: #68b684;
  --accent-light: #8fd3a7;
  --accent-dark: #4a7c59;
  
  /* Monochromatic Grayscale */
  --background-color: #f8fbf9;
  --background-secondary: #e8f2ec;
  --text-primary: #1a2f0d;
  --text-secondary: #2d5016;
  --text-light: #6b7c63;
  --text-white: #ffffff;
  
  /* Neo-brutalism Colors */
  --brutalist-black: #000000;
  --brutalist-white: #ffffff;
  --brutalist-shadow: #2d5016;
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  --gradient-overlay: linear-gradient(rgba(45, 80, 22, 0.7), rgba(26, 47, 13, 0.8));
  
  /* Typography */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Borders & Shadows */
  --border-radius: 0;
  --border-thick: 4px solid var(--brutalist-black);
  --shadow-brutalist: 8px 8px 0 var(--brutalist-shadow);
  --shadow-hover: 12px 12px 0 var(--brutalist-shadow);
  
  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-smooth: 0.4s ease-out;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-color);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

/* Global Button Styles - Neo-brutalism */
.btn,
button,
input[type="submit"],
.button {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: var(--border-thick);
  border-radius: var(--border-radius);
  background-color: var(--accent-color);
  color: var(--brutalist-white);
  box-shadow: var(--shadow-brutalist);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  min-width: 150px;
  text-align: center;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.button:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn:active,
button:active,
input[type="submit"]:active,
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--brutalist-shadow);
}

/* Read More Links */
.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.read-more:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  transform: translateX(5px);
}

.read-more::after {
  content: ' →';
  margin-left: 5px;
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}

/* Header/Navigation */
.navbar {
  background: var(--background-color);
  border-bottom: var(--border-thick);
  box-shadow: 0 4px 0 var(--brutalist-shadow);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.navbar-brand strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-item:hover {
  color: var(--accent-color);
  background-color: var(--background-secondary);
  transform: translateY(-2px);
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--accent-color);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--gradient-primary);
  color: var(--text-white);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.hero .title,
.hero .subtitle {
  color: var(--text-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: slideInUp 1s ease-out;
}

.hero .title {
  border: 4px solid var(--text-white);
  padding: var(--spacing-sm);
  background: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Progress Indicators */
.progress-indicators {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1001;
}

.progress-bar {
  height: 100%;
  background: var(--accent-color);
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Card Styles - Neo-brutalism */
.card {
  background: var(--background-color);
  border: var(--border-thick);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-brutalist);
  transition: all var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-secondary);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

/* Sustainability Section */
.sustainability-section {
  background: var(--background-secondary);
  position: relative;
}

.sustainability-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff20" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  z-index: 0;
}

.sustainability-card {
  position: relative;
  z-index: 1;
}

.progress {
  height: 8px;
  border: 2px solid var(--brutalist-black);
  background: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.progress::-webkit-progress-bar {
  background: var(--background-color);
}

.progress::-webkit-progress-value {
  background: var(--accent-color);
  transition: width 2s ease-out;
}

/* Instructors Section */
.instructors-section .card-image {
  height: 300px;
  border-radius: 50% 50% 0 0;
}

.instructors-section .card-image img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: var(--spacing-md) auto;
  border: 4px solid var(--accent-color);
}

/* Partners Section */
.partners-section {
  background: var(--primary-dark);
  color: var(--text-white);
}

.partners-section .title,
.partners-section .subtitle {
  color: var(--text-white);
}

.partner-card {
  background: var(--background-color);
  height: 100%;
}

.partner-card .card-image {
  height: 150px;
  background: var(--background-secondary);
}

.partner-card .card-image img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--background-color);
  position: relative;
}

.testimonial-card {
  height: 100%;
  background: var(--background-secondary);
}

.testimonial-card .media-left .image {
  margin: 0 auto;
}

.testimonial-card .media-left img {
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.testimonial-card .content {
  font-style: italic;
  position: relative;
}

.testimonial-card .content::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent-color);
  position: absolute;
  top: -10px;
  left: -10px;
  font-family: serif;
}

/* Gallery Section */
.gallery-section {
  background: var(--background-secondary);
}

.gallery-grid .column {
  padding: var(--spacing-xs);
}

.image-container {
  overflow: hidden;
  border: var(--border-thick);
  box-shadow: var(--shadow-brutalist);
  transition: all var(--transition-smooth);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.gallery-toggle {
  margin-top: var(--spacing-md);
}

.switch {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 40px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--accent-color);
  border: var(--border-thick);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 600;
  text-transform: uppercase;
}

.switch input:checked + .slider {
  background-color: var(--primary-color);
}

/* Resources Section */
.resources-section {
  background: var(--gradient-primary);
  color: var(--text-white);
}

.resources-section .title,
.resources-section .subtitle {
  color: var(--text-white);
}

.resource-card {
  background: var(--background-color);
  color: var(--text-primary);
  height: 100%;
}

/* Contact Section */
.contact-section {
  background: var(--background-secondary);
  padding-top: var(--spacing-xl);
}

.contact-card {
  background: var(--background-color);
}

.info-card {
  background: var(--primary-color);
  color: var(--text-white);
}

.info-card .title {
  color: var(--text-white);
}

.contact-form .field {
  margin-bottom: var(--spacing-md);
}

.label {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.input,
.textarea,
.select select {
  border: var(--border-thick);
  border-radius: var(--border-radius);
  padding: var(--spacing-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--background-color);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.input:focus,
.textarea:focus,
.select select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(104, 182, 132, 0.2);
  transform: translateY(-2px);
}

/* Footer */
.footer-section {
  background: var(--primary-dark);
  color: var(--text-white);
  border-top: var(--border-thick);
  border-color: var(--accent-color);
}

.footer-section .title {
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-section a {
  color: var(--text-white);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-section a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-xs);
}

.social-links a {
  margin-right: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: var(--text-white);
  transform: translateY(-3px);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--text-white);
  text-align: center;
}

.success-content {
  max-width: 600px;
  padding: var(--spacing-xl);
}

.success-content .title {
  color: var(--text-white);
  margin-bottom: var(--spacing-lg);
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.content-section h2 {
  color: var(--primary-color);
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

/* Scroll-dependent Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-lg: 1.5rem;
  }
  
  .hero .title {
    font-size: 2rem;
    padding: var(--spacing-xs);
    letter-spacing: 1px;
  }
  
  .card-image {
    height: 200px;
  }
  
  .instructors-section .card-image {
    height: 250px;
  }
  
  .instructors-section .card-image img {
    width: 150px;
    height: 150px;
  }
  
  .btn,
  button,
  input[type="submit"],
  .button {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 1rem;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .card-content {
    padding: var(--spacing-sm);
  }
  
  .hero-body {
    background-attachment: scroll;
  }
  
  .social-links a {
    display: block;
    margin: var(--spacing-xs) 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer-section,
  .btn,
  button {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card {
    border: 1px solid #000;
    box-shadow: none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --shadow-brutalist: 4px 4px 0 #000;
    --shadow-hover: 6px 6px 0 #000;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #1a2f0d;
    --background-secondary: #2d5016;
    --text-primary: #f8fbf9;
    --text-secondary: #e8f2ec;
  }
}

.has-text-dark {
  color: #fff !important;
}

.has-text-grey-dark {
  color: #fff !important;
}

.has-text-grey {
  color: #fff !important;
}

strong {
  color: #fff;
}

.navbar-burger span {
  color: yellowgreen;
}

.navbar-item {
  color: #000;
}