/*
Theme Name: DPM Förderverein
Theme URI: https://dpm-foerderverein.de
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dpm-foerderverein
Domain Path: /languages
*/

/* ============================================
   DESIGN PHILOSOPHY: Industrial Rustic Heritage
   Color Palette: Dark Steel Gray (#2C2C2C), Warm Beige (#F5F1E8), Rust Brown (#A0522D)
   Typography: Playfair Display (headings), Inter (body)
   ============================================ */
/* ============================================
   USN STENCIL FONT
   ============================================ */

@font-face {
  font-family: 'USN Stencil';
  src: url('assets/fonts/usn-stencil.woff2') format('woff2'),
       url('assets/fonts/usn-stencil.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #B8860B;
  --primary-dark: #A0522D;
  --dark-bg: #2C2C2C;
  --light-bg: #F5F1E8;
  --dark-text: #5A5A5A;
  --light-text: #D4C5B9;
  --border-color: #3A3A3A;
  --radius: 0.65rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
}

/* ============================================
   HEADINGS – MILITARY STYLE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'USN Stencil', sans-serif;
  font-weight: normal;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  font-size: 3.5rem;
  padding-top: 100px;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

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

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

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.85);
  transition: all 0.3s ease;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--light-bg);
}

/* Navigation Desktop */
.main-navigation {
  display: flex;
  gap: 2rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--light-bg);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

/* CTA */
.header-cta {
  margin-left: 2rem;
}


/* ============================================
   MOBILE VERSION
   ============================================ */

@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    display: none;
    animation: fade-in 0.3s ease forwards;
  }

  .main-navigation.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-menu a {
    font-size: 1.1rem;
  }

  .header-cta {
    display: none;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 0.3s ease;
  background-color: transparent;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7); /* halbtransparent schwarz */
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  transition: opacity 0.3s ease;
}

.site-logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.site-header.scrolled .site-logo {
  color: var(--light-bg);
}

.main-navigation {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-navigation {
    display: flex;
  }
}

.main-navigation a {
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-block;
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.current {
  border-bottom-color: var(--primary-color);
}

.site-header.scrolled .main-navigation a {
  color: var(--light-bg);
}

.site-header.scrolled .main-navigation a:hover {
  color: var(--primary-color);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: block;
  }
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--light-bg);
  border: 2px solid var(--light-bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: rgba(245, 241, 232, 0.1);
}


/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px; /* Abstand zum Header */
  text-align: center;
}

.hero-img {
  width: 100%;
  height: auto;        /* proportional */
  max-height: 1000px;   /* nach Bedarf anpassen */
  object-fit: cover;   /* Bild proportional füllen */
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(44,44,44,0.7), rgba(44,44,44,0.5), transparent);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 2;
  color: #fff;
  max-width: 600px;
  padding: 2rem;
}

.hero-content h1 {
  color: var(--light-bg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content p {
  color: var(--light-text);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center; /* horizontal zentrieren */
}

/* ============================================
   DIVIDERS
   ============================================ */

.divider {
  height: 100px;
  overflow: hidden;
  position: relative;
}

.divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 5rem 0;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark-bg);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--dark-text);
  margin-bottom: 3rem;
}

.dark-section {
  background-color: var(--dark-bg);
  color: var(--light-bg);
}

.dark-section .section-title {
  color: var(--light-bg);
}

.dark-section .section-subtitle {
  color: var(--light-text);
}

/* ============================================
   THREE PILLARS
   ============================================ */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pillar-card {
  background-color: var(--border-color);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-color);
  transition: box-shadow 0.3s ease;
}

.pillar-cardsec {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-color);
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pillar-cardsec:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pillar-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pillar-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pillar-card p {
  color: var(--light-text);
  line-height: 1.8;
}

.members-stats {
  background: linear-gradient(to right, var(--border-color), var(--dark-bg));
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(184, 134, 11, 0.3);
  text-align: center;
}

.members-stats .big-number {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.members-stats .big-title {
  font-size: 2rem;
  color: var(--light-bg);
  margin-bottom: 1rem;
}

.members-stats p {
  color: var(--light-text);
  font-size: 1.125rem;
}

/* ============================================
   VORSTAND SECTION
   ============================================ */

.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  justify-items: center; /* zentriert jede einzelne Box */
}
.vorstand-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-color);
  transition: box-shadow 0.3s ease;
}

.vorstand-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.vorstand-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: #E8E0D8;
  position: relative;
}

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

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

.vorstand-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 44, 44, 0.4), transparent);
}

.vorstand-content {
  padding: 2rem;
  text-align: center; 

  display: flex;
  flex-direction: column;
  align-items: center;
}

.vorstand-content h3 {
  font-size: 1.75rem;
  color: var(--dark-bg);
  margin-bottom: 0.5rem;
}

.vorstand-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.vorstand-subtitle {
  font-size: 1rem;
  color: var(--dark-text);
}

/* ============================================
   DONATION SECTION
   ============================================ */

.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.donation-card {
  background-color: var(--border-color);
  padding: 2rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--primary-color);
}

.donation-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.donation-info {
  space-y: 1rem;
}

.donation-info div {
  margin-bottom: 1.5rem;
}

.donation-info p {
  color: var(--light-text);
  margin: 0.5rem 0;
}

.donation-label {
  font-size: 0.875rem;
  color: #8B8B6B;
  margin-bottom: 0.25rem;
}

.donation-value {
  font-family: 'Courier New', monospace;
  font-size: 1.125rem;
  color: var(--light-bg);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background-color: #1A1A1A;
  color: var(--light-text);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--light-bg);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p {
  font-size: 0.875rem;
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-section a {
  color: var(--light-text);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .pillars-grid,
  .vorstand-grid,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 0;
  }
}


/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
