/* ----------------------------------------
   VARIABLES & ROOT
---------------------------------------- */
:root {
  /* Color System - Split-complementary scheme with brutalism influence */
  --primary: #FF3D3D;
  --primary-dark: #CD2929;
  --secondary: #4169E1;
  --secondary-dark: #2745A4;
  --accent: #22CC88;
  --accent-dark: #19A76C;
  
  /* Neutrals */
  --dark: #121212;
  --dark-gray: #333;
  --medium-gray: #666;
  --light-gray: #999;
  --lighter-gray: #f0f0f0;
  --white: #fff;
  
  /* Typography */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Brutalism borders */
  --border-thin: 2px solid var(--dark);
  --border-medium: 4px solid var(--dark);
  --border-thick: 6px solid var(--dark);
  
  /* Box Shadows for brutalist style */
  --shadow-brutal: 8px 8px 0 var(--dark);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.15);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Container widths */
  --container-width: 1200px;
  --container-padding: 1.5rem;
}

/* ----------------------------------------
   RESET & BASE
---------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: var(--secondary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

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

section {
  padding: var(--space-lg) 0;
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background-color: var(--primary);
  margin: var(--space-sm) auto 0;
}

/* ----------------------------------------
   BUTTONS & FORMS
---------------------------------------- */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--heading-font);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: var(--border-thin);
  box-shadow: var(--shadow-brutal);
  position: relative;
  top: 0;
  left: 0;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  top: 2px;
  left: 2px;
  box-shadow: 6px 6px 0 var(--dark);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
  top: 2px;
  left: 2px;
  box-shadow: 6px 6px 0 var(--dark);
}

button, 
input[type="submit"] {
  font-family: var(--heading-font);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: var(--border-thin);
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-brutal);
  position: relative;
  top: 0;
  left: 0;
}

button:hover,
input[type="submit"]:hover {
  background-color: var(--primary-dark);
  top: 2px;
  left: 2px;
  box-shadow: 6px 6px 0 var(--dark);
}

input, 
textarea, 
select {
  width: 100%;
  padding: 12px;
  margin-bottom: var(--space-sm);
  border: var(--border-thin);
  background-color: var(--white);
  font-family: var(--body-font);
  font-size: 1rem;
}

input:focus, 
textarea:focus, 
select:focus {
  outline: none;
  border-color: var(--secondary);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group {
  margin-bottom: var(--space-md);
}

/* ----------------------------------------
   HEADER & NAVIGATION
---------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  border-bottom: var(--border-thin);
}

.header-inner {
  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;
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
}

.desktop-nav li {
  margin-left: 2rem;
}

.desktop-nav a {
  font-family: var(--heading-font);
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}

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

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

.desktop-nav a:hover::after {
  width: 100%;
}

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

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark);
}

.mobile-nav {
  display: none;
  background-color: var(--white);
  padding: 1rem 0;
  border-top: var(--border-thin);
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  padding: 0.5rem 1.5rem;
}

.mobile-nav a {
  font-family: var(--heading-font);
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
}

/* ----------------------------------------
   HERO SECTION
---------------------------------------- */
.hero {
  padding: 0;
  margin-top: 70px; /* To account for fixed header */
}

.hero-content {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* ----------------------------------------
   MYTHS SECTION
---------------------------------------- */
.myths-section {
  background-color: var(--lighter-gray);
}

.myths-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.myth-card {
  display: flex;
  gap: var(--space-lg);
  background-color: var(--white);
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
  padding: var(--space-md);
}

.myth-card .card-image {
  flex: 0 0 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.myth-card .card-content {
  flex: 1;
}

.myth-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.accordion {
  margin-top: var(--space-md);
  border: var(--border-thin);
}

.accordion-header {
  background-color: var(--lighter-gray);
  padding: var(--space-sm);
  font-weight: bold;
  cursor: pointer;
  position: relative;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.accordion-content {
  padding: var(--space-sm);
  display: none;
}

.accordion-content ul {
  padding-left: var(--space-md);
}

/* ----------------------------------------
   ARTIFACTS SECTION
---------------------------------------- */
.artifacts-section {
  background-color: var(--white);
}

.artifacts-gallery {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.gallery-item {
  flex: 0 0 calc(33.333% - var(--space-lg));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--white);
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
  padding: var(--space-md);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-thin);
}

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

.gallery-item h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.progress-container {
  width: 100%;
  margin-top: var(--space-md);
}

.progress-container p {
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: var(--lighter-gray);
  margin-bottom: var(--space-sm);
  border: var(--border-thin);
}

.progress {
  height: 100%;
  background-color: var(--accent);
}

/* ----------------------------------------
   STATISTICS SECTION
---------------------------------------- */
.statistics-section {
  background-color: var(--secondary);
  color: var(--white);
  padding: var(--space-lg) 0;
}

.statistics-section .section-title {
  color: var(--white);
}

.statistics-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.statistic-card {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border: var(--border-thin);
  border-color: var(--white);
}

.statistic-card h3 {
  font-size: 3rem;
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.statistic-card p {
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 600;
}

/* ----------------------------------------
   PROCESS SECTION
---------------------------------------- */
.process-section {
  background-color: var(--lighter-gray);
}

.process-cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.process-card {
  flex: 1 1 300px;
  background-color: var(--white);
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-card h3 {
  color: var(--primary);
  margin: var(--space-md) 0;
  text-align: center;
}

.process-card .image-container {
  width: 100%;
  height: 250px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------
   RESOURCES SECTION
---------------------------------------- */
.resources-section {
  background-color: var(--white);
}

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

.resource-card {
  background-color: var(--lighter-gray);
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
  padding: var(--space-md);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  background-color: var(--primary);
  color: var(--white);
}

.resource-card:hover h3 {
  color: var(--white);
}

.resource-card h3 {
  color: var(--secondary);
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
}

.resource-card p {
  margin-bottom: 0;
}

/* ----------------------------------------
   MEDIA SECTION
---------------------------------------- */
.media-section {
  background-color: var(--lighter-gray);
}

.media-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.media-card {
  display: flex;
  gap: var(--space-lg);
  background-color: var(--white);
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
  padding: var(--space-md);
}

.media-card .image-container {
  flex: 0 0 450px;
  margin-bottom: 0;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-content {
  flex: 1;
}

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

/* ----------------------------------------
   SUSTAINABILITY SECTION
---------------------------------------- */
.sustainability-section {
  background-color: var(--white);
}

.sustainability-content {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.image-side {
  flex: 0 0 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-side img {
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
  object-fit: cover;
  width: 100%;
  height: 400px;
}

.text-side {
  flex: 1;
}

.text-side h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

/* ----------------------------------------
   AWARDS SECTION
---------------------------------------- */
.awards-section {
  background-color: var(--secondary);
  color: var(--white);
}

.awards-section .section-title {
  color: var(--white);
}

.awards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.award-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--space-md);
  text-align: center;
  border: var(--border-thin);
  border-color: var(--white);
}

.award-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.award-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.award-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ----------------------------------------
   GALLERY SECTION
---------------------------------------- */
.gallery-section {
  background-color: var(--lighter-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.gallery-grid .gallery-item {
  padding: 0;
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
  overflow: hidden;
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.1);
}

/* ----------------------------------------
   CONTACT SECTION
---------------------------------------- */
.contact-section {
  background-color: var(--white);
}

.contact-container {
  display: flex;
  gap: var(--space-lg);
}

.contact-form-container {
  flex: 1;
}

.contact-info {
  flex: 1;
  background-color: var(--lighter-gray);
  padding: var(--space-lg);
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
}

.contact-details {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.contact-item p {
  margin-bottom: 0;
}

/* ----------------------------------------
   FOOTER
---------------------------------------- */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--space-lg) 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

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

.footer-column li {
  margin-bottom: var(--space-xs);
}

.footer-column a {
  color: var(--lighter-gray);
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.social-links a {
  color: var(--lighter-gray);
  display: inline-block;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

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

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ----------------------------------------
   SUCCESS PAGE
---------------------------------------- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
}

.success-content {
  max-width: 600px;
  background-color: var(--white);
  padding: var(--space-lg);
  border: var(--border-medium);
  box-shadow: var(--shadow-brutal);
}

.success-content h2 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

/* ----------------------------------------
   PRIVACY & TERMS PAGES
---------------------------------------- */
.privacy-content,
.terms-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2,
.terms-content h2 {
  color: var(--primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.privacy-content h3,
.terms-content h3 {
  color: var(--secondary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

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

@keyframes drawIn {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* ----------------------------------------
   RESPONSIVE STYLES
---------------------------------------- */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .myth-card {
    flex-direction: column;
  }
  
  .myth-card .card-image {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .media-card {
    flex-direction: column;
  }
  
  .media-card .image-container {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .sustainability-content {
    flex-direction: column;
  }
  
  .image-side {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: var(--space-md);
  }
  
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .artifacts-gallery .gallery-item {
    flex: 0 0 100%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .statistics-container {
    flex-direction: column;
  }
}