:root {
  /* Primary color palette (complementary scheme) */
  --primary-color: #3a7bd5;
  --primary-dark: #2c5faa;
  --primary-light: #5b96e5;
  --primary-lighter: #d1e1fa;
  
  /* Complementary color */
  --complementary: #f39c12;
  --complementary-dark: #c87d0e;
  --complementary-light: #fbc067;
  --complementary-lighter: #fef0d9;
  
  /* Neutral colors */
  --neutral-dark: #333333;
  --neutral-medium: #666666;
  --neutral-light: #999999;
  --neutral-lighter: #e6e6e6;
  --neutral-lightest: #f7f7f7;
  
  /* Text colors */
  --text-dark: #222222;
  --text-medium: #4d4d4d;
  --text-light: #ffffff;
  
  /* Shadows and effects */
  --shadow-soft: 8px 8px 16px rgba(174, 174, 192, 0.15), -8px -8px 16px rgba(255, 255, 255, 0.7);
  --shadow-soft-small: 4px 4px 8px rgba(174, 174, 192, 0.15), -4px -4px 8px rgba(255, 255, 255, 0.7);
  --shadow-inset: inset 2px 2px 5px rgba(174, 174, 192, 0.15), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
  
  /* Border radius */
  --border-radius-small: 6px;
  --border-radius-medium: 12px;
  --border-radius-large: 20px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Container widths */
  --container-width: 1200px;
  --container-padding: 2rem;
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: var(--neutral-lightest);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-medium);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

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

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--spacing-sm);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section title styling */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--complementary));
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  color: var(--neutral-medium);
}

/* Neumorphic element */
.neumorphic {
  background-color: var(--neutral-lightest);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
}

.neumorphic:hover {
  box-shadow: var(--shadow-soft-small);
  transform: translateY(-5px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-small);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-soft-small);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--complementary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--complementary-dark);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-small);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-soft-small);
  background-color: var(--primary-color);
  color: white;
}

input[type="submit"]:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-small);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-soft-small);
  background-color: var(--primary-color);
  color: white;
}

button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Card styles */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--neutral-lightest);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.card-content h3 {
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.card-content p {
  margin-bottom: var(--spacing-sm);
}

/* Image container */
.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-small);
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0 auto;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
  transition: color 0.3s ease;
}

.logo:hover h1 {
  color: var(--primary-dark);
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  margin-left: var(--spacing-md);
}

.nav__link {
  color: var(--text-medium);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--primary-color);
}

.nav__link:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Hero section */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  margin-top: 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  color: white;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: white;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

/* About section */
.about {
  padding: var(--spacing-xl) 0;
  background-color: var(--neutral-lightest);
}

.about__content {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.about__image-container {
  flex: 1;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about__text {
  flex: 1;
}

.about__text h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

/* Mistakes/Timeline section */
.mistakes {
  padding: var(--spacing-xl) 0;
  background-color: white;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary-lighter);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: var(--shadow-soft-small);
  z-index: 2;
}

.timeline-content {
  width: calc(50% - 40px);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  transform: translateX(20px);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  margin-left: 0;
  transform: translateX(-20px);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.timeline-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-small);
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Workshops section */
.workshops {
  padding: var(--spacing-xl) 0;
  background-color: var(--primary-lighter);
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.workshop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.workshop-content {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.workshop-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

/* Resources section */
.resources {
  padding: var(--spacing-xl) 0;
  background-color: white;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.resource-list {
  list-style: none;
  width: 100%;
}

.resource-list li {
  margin-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--neutral-lighter);
  padding-bottom: var(--spacing-sm);
}

.resource-list li:last-child {
  border-bottom: none;
}

.resource-list a {
  display: block;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  color: var(--text-medium);
}

.resource-list a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

/* Gallery section */
.gallery {
  padding: var(--spacing-xl) 0;
  background-color: var(--neutral-lightest);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* News section */
.news {
  padding: var(--spacing-xl) 0;
  background-color: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.news-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.news-content {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

/* Contact section */
.contact {
  padding: var(--spacing-xl) 0;
  background-color: var(--neutral-lightest);
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.info-item {
  margin-bottom: var(--spacing-sm);
}

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

.info-value {
  color: var(--text-medium);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-lighter);
  border-radius: var(--border-radius-small);
  background-color: white;
  font-family: 'Open Sans', sans-serif;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-inset);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-lighter);
}

/* Footer */
.footer {
  background-color: var(--neutral-dark);
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-about h3 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.footer-about p {
  color: var(--neutral-lighter);
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.social-links a {
  color: var(--neutral-lighter);
  transition: color 0.3s ease;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--complementary);
  text-decoration: underline;
}

.footer-contact p {
  color: var(--neutral-lighter);
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.social-links a {
  margin-right: var(--spacing-sm);
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--neutral-light);
  margin: 0;
}

/* Particles container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Cookie consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: white;
  z-index: 9999;
  padding: var(--spacing-md);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.cookie-content p {
  margin: 0;
  color: white;
  flex: 1;
}

.cookie-btn {
  background-color: var(--complementary);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-small);
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cookie-btn:hover {
  background-color: var(--complementary-dark);
}

/* Success page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--spacing-md);
}

.success-content {
  max-width: 600px;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-soft);
}

.success-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.success-title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.success-message {
  margin-bottom: var(--spacing-md);
}

/* Pages with fixed header (privacy, terms) */
.page-content {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.page-title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

/* Read more links */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: var(--spacing-sm);
  position: relative;
  padding-right: 1.5rem;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translate(5px, -50%);
}

/* Media Queries */
@media (max-width: 1024px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 2.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero__title {
    font-size: 3rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
    transform: none !important;
  }
  
  .about__content {
    flex-direction: column;
  }
  
  .about__image-container,
  .about__text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
    --spacing-md: 1.5rem;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__subtitle {
    font-size: 1.2rem;
  }
  
  .hero__buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .workshops-grid,
  .resources-grid,
  .gallery-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 2.5rem;
    --spacing-lg: 1.5rem;
    --spacing-md: 1.2rem;
    --spacing-sm: 0.8rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

/* Active mobile navigation */
.mobile-nav-active {
  display: block;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-md) 0;
  z-index: 999;
}

.mobile-nav-active .nav__list {
  flex-direction: column;
  align-items: center;
}

.mobile-nav-active .nav__item {
  margin: 0.5rem 0;
}