/*
Theme Name: ClimateCoin Modern
Theme URI: https://climatecoin.com
Author: Your Name
Author URI: https://climatecoin.com
Description: Ein modernes, mobil-freundliches Theme für ClimateCoin - ohne JavaScript
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: climatecoin
Tags: responsive, modern, climate, environmental
*/

:root {
  --primary-green: #00b894;
  --dark-green: #00563f;
  --light-green: #55efc4;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #2d3436;
  --text-light: #636e72;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

main {
  display: block;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.light {
  background: rgba(26, 26, 26, 0.95);
}

header.light .logo h2 {
  color: white;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo h2 {
  color: var(--dark-green);
  transition: color 0.3s ease;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.header-menu li {
  margin: 0;
  padding: 0;
}

.header-menu li a {
  color: var(--text-dark);
  text-decoration: none !important;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  border: none !important;
}

.header-menu li a:hover {
  color: var(--primary-green);
}

header.light .header-menu li a {
  color: white;
}

header.light .header-menu li a:hover {
  color: var(--light-green);
}

/* Remove all underlines from menu */
.header-nav a,
.header-menu a {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Current menu item */
.header-menu .current-menu-item a,
.header-menu .current_page_item a {
  color: var(--primary-green);
  font-weight: 600;
}

/* Hide checkbox completely */
.menu-toggle {
  display: none !important;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hamburger Icon - Hidden by default */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dark-green);
  transition: all 0.3s ease;
  border-radius: 2px;
}

header.light .menu-icon span {
  background: white;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.btn-primary:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: var(--white);
}

header.light .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

header.light .btn-outline:hover {
  background: var(--white);
  color: var(--text-dark);
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Light Section */
.section-light {
  background: var(--dark-bg);
  color: var(--white);
}

.section-light .section-title {
  color: var(--white);
}

.section-light .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Card Styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.section-light .card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-green);
}

.card p {
  color: var(--text-light);
  line-height: 1.8;
}

.section-light .card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-member {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.team-member h4 {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.team-member p {
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Simple CSS-only animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.card,
.section-header,
.team-member {
  animation: fadeInUp 0.8s ease-out forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }

/* Mobile Styles */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .menu-icon {
    display: flex;
  }
  
  .header-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }
  
  header.light .header-nav {
    background: var(--dark-bg);
  }
  
  .header-menu {
    flex-direction: column;
    gap: 0;
  }
  
  .header-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  header.light .header-menu li {
    border-bottom-color: rgba(255,255,255,0.1);
  }
  
  .header-menu a {
    display: block;
    padding: 15px 0;
  }
  
  .menu-toggle:checked ~ .header-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Page Content Styling */
.page-content,
.entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.page-content h2,
.entry-content h2 {
  font-size: 2rem;
  color: var(--dark-green);
  margin: 60px 0 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-green);
}

.page-content h3,
.entry-content h3 {
  font-size: 1.5rem;
  color: var(--dark-green);
  margin: 40px 0 20px;
  font-weight: 600;
}

.page-content h4,
.entry-content h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 30px 0 15px;
  font-weight: 600;
}

.page-content p,
.entry-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-dark);
}

.page-content ul,
.entry-content ul {
  margin: 20px 0 30px 0;
  padding-left: 0;
  list-style: none;
}

.page-content ul li,
.entry-content ul li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-content ul li:before,
.entry-content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.page-content strong,
.entry-content strong {
  color: var(--dark-green);
  font-weight: 600;
}

.page-content a,
.entry-content a {
  color: var(--primary-green);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.page-content a:hover,
.entry-content a:hover {
  border-bottom-color: var(--primary-green);
}

.page-content em,
.entry-content em {
  color: var(--text-light);
  font-style: italic;
  display: block;
  margin-top: 40px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 8px;
}

/* Better spacing for nested lists */
.page-content ul ul,
.entry-content ul ul {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Quote styling */
.page-content blockquote,
.entry-content blockquote {
  margin: 30px 0;
  padding: 25px 30px;
  background: var(--light-bg);
  border-left: 5px solid var(--primary-green);
  font-style: italic;
  color: var(--text-light);
}

/* Contact info boxes */
.page-content p:has(strong:contains('Email')),
.entry-content p:has(strong:contains('Email')) {
  background: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
}

/* Section dividers */
.page-content h2:first-of-type,
.entry-content h2:first-of-type {
  margin-top: 0;
}
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-green);
}