/* Base styles */
:root {
  /* Triadic color scheme */
  --primary-color: #e63946;
  --secondary-color: #4895ef;
  --tertiary-color: #4cc9f0;
  --dark-color: #1d3557;
  --light-color: #f1faee;
  --accent-color: #ffd166;
  
  /* Typography */
  --heading-font: 'Space Grotesk', sans-serif;
  --body-font: 'DM Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
}

body {
  font-family: var(--body-font);
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
}

/* Neo-brutalist elements */
.button, .btn, button, input[type='submit'] {
  font-family: var(--heading-font);
  font-weight: 600;
  border: 3px solid transparent;
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.8);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding: 0.75rem 1.5rem;
}

.button.is-primary, .btn.is-primary, button.is-primary, input[type='submit'].is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.button.is-primary:hover, .btn.is-primary:hover, button.is-primary:hover, input[type='submit'].is-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(0,0,0,0.8);
  background-color: var(--primary-color);
}

.button.is-outlined, .btn.is-outlined, button.is-outlined {
  border-width: 3px;
  background-color: transparent;
}

.button.is-outlined.is-white:hover, .btn.is-outlined.is-white:hover, button.is-outlined.is-white:hover {
  background-color: rgba(255,255,255,0.1);
  color: white;
}

a.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

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

a.read-more:hover {
  color: var(--secondary-color);
}

a.read-more:hover:after {
  background-color: var(--secondary-color);
  width: 50%;
}

/* Header */
.header {
  padding: 1rem 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-item.logo h1 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.navbar-item:hover, .navbar-item.active {
  color: var(--primary-color) !important;
  background-color: transparent !important;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed;
}

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

.hero .title, .hero .subtitle {
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  color: white;
}

.hero p {
  color: white;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Section styling */
.section {
  padding: var(--spacing-xl) 0;
}

.section .title {
  margin-bottom: var(--spacing-lg);
  color: var(--dark-color);
}

/* Card styling - Neo-brutalist */
.card {
  border: 3px solid var(--dark-color);
  border-radius: 0;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.8);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 13px 13px 0 rgba(0,0,0,0.8);
}

.card-content {
  padding: var(--spacing-lg);
  width: 100%;
}

.card-image {
  width: 100%;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
}

.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card.is-popular {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.pricing-card.is-popular .popular-tag {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  font-family: var(--heading-font);
  font-weight: 700;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.8);
}

.price-tag {
  font-size: 2.5rem;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0 0.5rem;
}

/* Items, testimonials, team members, product cards */
.item, .testimonial, .team-member, .product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Image container */
.image-container {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--dark-color);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

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

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

.image-caption {
  text-align: center;
  margin-top: var(--spacing-sm);
  font-style: italic;
}

/* Progress bars */
.progress {
  height: 20px;
  border-radius: 0;
  margin-bottom: var(--spacing-md);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.progress.is-danger {
  background-color: var(--primary-color);
}

.progress.is-warning {
  background-color: var(--accent-color);
}

.progress.is-primary {
  background-color: var(--secondary-color);
}

.progress.is-info {
  background-color: var(--tertiary-color);
}

.progress-item {
  margin-bottom: var(--spacing-lg);
}

/* Stats */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: var(--spacing-lg);
  gap: var(--spacing-md);
}

.stats-item {
  text-align: center;
  flex: 1 1 30%;
  margin-bottom: var(--spacing-md);
}

.stats-number {
  display: block;
  font-size: 2.5rem;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary-color);
}

.stats-label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

/* Partner cards */
.partner-card {
  text-align: center;
  padding: var(--spacing-md);
  height: 100%;
  background-color: white;
  border: 2px solid var(--dark-color);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.8);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.8);
}

.partner-card img {
  max-width: 120px;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}

/* Events list */
.events-list {
  margin-top: var(--spacing-lg);
}

.event-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid #eee;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0;
  margin-right: var(--spacing-md);
  text-align: center;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.8);
}

.event-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}

.event-info {
  flex-grow: 1;
}

.event-info h4 {
  margin-bottom: 0.25rem;
}

/* Contact form */
.contact-card {
  padding: var(--spacing-lg);
  border: 3px solid var(--dark-color);
  border-radius: 0;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.8);
}

.contact-option-card {
  height: 100%;
}

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

.label {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--dark-color);
}

.input, .textarea, .select select {
  border: 2px solid var(--dark-color);
  border-radius: 0;
  font-family: var(--body-font);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

/* FAQ cards */
.faq-card {
  margin-bottom: var(--spacing-md);
  height: 100%;
}

.faq-card .title {
  color: var(--dark-color);
}

/* Resource links */
.resource-links li, .resource-tools li {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-sm);
}

.resource-links a, .resource-tools a {
  color: var(--secondary-color);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.resource-links a:hover, .resource-tools a:hover {
  color: var(--primary-color);
}

.resource-card {
  height: 100%;
}

/* CTA section */
.cta-section {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white;
  padding: var(--spacing-xl) 0;
}

/* Team Section */
.team-section .card {
  margin-bottom: var(--spacing-lg);
}

.team-section .image-container {
  height: 300px;
  width: 100%;
}

.team-section .image-container img {
  height: 100%;
  object-fit: cover;
}

.team-member-info {
  padding: var(--spacing-md);
  text-align: center;
}

.team-member-name {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.team-member-position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

/* Instructors Section */
.instructors-section .card {
  margin-bottom: var(--spacing-lg);
}

.instructor-info {
  padding: var(--spacing-md);
  text-align: center;
}

.instructor-name {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.instructor-specialty {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

/* Community Section */
.community-section .event-item {
  margin-bottom: var(--spacing-lg);
}

/* Insights Section */
.insights-section .card {
  margin-bottom: var(--spacing-lg);
}

.insight-date {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.insight-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

/* Press Section */
.press-section .press-item {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid #eee;
}

.press-source {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.press-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.press-date {
  color: #777;
  font-style: italic;
  margin-bottom: var(--spacing-sm);
}

/* Resources Section */
.resources-section .resource-item {
  margin-bottom: var(--spacing-lg);
}

.resource-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.resource-category {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background-color: rgba(230, 57, 70, 0.1);
}

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

.footer .title {
  color: white;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: var(--spacing-sm);
  display: inline-block;
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a, .social-links a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

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

.social-links {
  margin-top: var(--spacing-md);
}

.social-links p {
  margin-bottom: var(--spacing-xs);
}

.copyright {
  font-size: 1rem;
  opacity: 0.8;
}

.small-text {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Mission & Vision */
.mission-vision-container {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.mission-box, .vision-box {
  flex: 1;
  padding: var(--spacing-lg);
  border: 3px solid var(--dark-color);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.8);
}

.mission-box {
  background-color: rgba(230, 57, 70, 0.1);
}

.vision-box {
  background-color: rgba(72, 149, 239, 0.1);
}

/* Values */
.values-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.value-item {
  background-color: white;
  padding: var(--spacing-lg);
  border: 2px solid var(--dark-color);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.8);
}

/* Privacy & Terms pages */
.privacy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 100px; /* To avoid overlap with header */
}

.privacy-content h2, .terms-content h2 {
  color: var(--dark-color);
  margin-top: var(--spacing-xl);
}

.privacy-content h3, .terms-content h3 {
  color: var(--dark-color);
  margin-top: var(--spacing-lg);
}

.last-updated {
  font-style: italic;
  color: #777;
  text-align: right;
}

.contact-info-box {
  background-color: rgba(72, 149, 239, 0.1);
  padding: var(--spacing-lg);
  border-left: 5px solid var(--secondary-color);
}

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

.success-icon {
  margin: 0 auto;
  max-width: 150px;
}

/* Reveal animation classes */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Map container */
.map-container {
  border: 3px solid var(--dark-color);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.8);
  overflow: hidden;
}

.map-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Notifications */
.notification {
  border-radius: 0;
  border: 2px solid var(--dark-color);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
}

.notification.is-info {
  background-color: rgba(72, 149, 239, 0.2);
  color: var(--dark-color);
  border-color: var(--secondary-color);
}

/* About Us Section */
.about-section .content {
  margin-bottom: var(--spacing-lg);
}

/* Workshops Section */
.workshops-section .workshop-item {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid #eee;
}

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

.workshop-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.workshop-location {
  font-style: italic;
  margin-bottom: var(--spacing-sm);
}

/* Sidebar content */
.sidebar-content {
  position: sticky;
  top: 120px;
}

.cta-box {
  background-color: var(--accent-color);
  padding: var(--spacing-lg);
  border: 3px solid var(--dark-color);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.8);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .mission-vision-container {
    flex-direction: column;
  }
  
  .stats-container, .stats-grid {
    justify-content: center;
  }
  
  .stats-item {
    flex: 0 0 100%;
    margin-bottom: var(--spacing-lg);
  }
  
  .values-container {
    grid-template-columns: 1fr;
  }
  
  .card {
    margin-bottom: var(--spacing-lg);
  }
  
  .pricing-card.is-popular {
    transform: scale(1);
  }
  
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
}

.container {
  padding: 0 15px;
}