﻿/*
Theme Name: GES-Charity-Theme
Author: Christian Kolmanz
Version: 5.1
Description: Charity theme for youth support
*/
:root {
  /* BASE */
  --bg: #f6f2ea;
  --bg-soft: #efe6d6;
  --surface: #fbf7f0;
  --surface-strong: #e9dfcd;

  /* TEXT */
  --text: #24342b;
  --text-muted: #6a7a6f;
  --text-soft: #8c9a90;

  /* ACCENT (Gold / Warm) */
  --accent: #b08a44;
  --accent-light: #d6b87a;
  --accent-dark: #8c6a2f;

  /* SECONDARY (Deep Green) */
  --primary: #2f4a3a;
  --primary-dark: #1f3328;
  --primary-soft: #5c7a67;

  /* UI */
  --border: #d3c7b2;
  --border-soft: #e6ddcc;
  --white: #ffffff;

  /* EFFECTS */
  --shadow-soft: 0 10px 30px rgba(36, 52, 43, 0.06);
  --shadow-medium: 0 20px 50px rgba(36, 52, 43, 0.08);
  --shadow-strong: 0 30px 80px rgba(36, 52, 43, 0.12);

  /* RADIUS */
  --radius: 28px;
  --radius-sm: 16px;

  /* LAYOUT */
  --container: 1200px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-width: 320px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-notice {
  background: #2f4a3a;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 242, 234, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-dark);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(185, 176, 159, 0.7);
  border-radius: 999px;
  padding: 6px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background: rgba(155, 122, 51, 0.12);
}

.lang-btn.active {
  background: var(--text);
  color: var(--white);
}

.hero-section {
  padding: 36px 0 48px;
}

.hero-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.9), rgba(242, 230, 210, 0.95)),
    radial-gradient(circle at 20% 10%, rgba(176, 138, 68, 0.25), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(47, 74, 58, 0.18), transparent 60%);
  border-radius: 42px;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-strong);
}

.hero-content {
  max-width: 820px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1,
h2,
h3,
.footer-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 0.95;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1.02;
  margin-bottom: 12px;
}

.hero-text,
.section-lead,
.section-body p,
.card-block p,
.contact-copy p,
.info-card p,
.event-card-body p,
.form-note,
.site-footer p,
.site-footer a,
.footer-bottom {
  color: var(--text-muted);
}

.hero-text {
  color: var(--text-muted);
}

.section-lead {
  color: var(--text-muted);
}

h1 {
  color: var(--primary-dark);
}
.hero-text {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 1.125rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, var(--primary-dark), #16261f);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(176, 138, 68, 0.08);
}

.btn-small {
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.hero-gallery {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.art-card,
.simple-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.art-card:hover,
.simple-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.art-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ticker-section {
  overflow: hidden;
  border-top: 1px solid rgba(185, 176, 159, 0.6);
  border-bottom: 1px solid rgba(185, 176, 159, 0.6);
  background: rgba(255, 255, 255, 0.34);
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  min-width: max-content;
  animation: ticker 24s linear infinite;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.content-section {
  padding: 88px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.section-intro.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.section-body p,
.card-block p {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.card-block {
  background: var(--surface);
  border: 1px solid rgba(185, 176, 159, 0.85);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow-soft);
}

.support-section {
  background: linear-gradient(180deg, rgba(230, 220, 203, 0.55), rgba(245, 241, 234, 0.15));
}

.support-grid,
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.info-card,
.event-card {
  background: var(--surface);
  border: 1px solid rgba(185, 176, 159, 0.85);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.icon-box {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(185, 176, 159, 0.5);
}

.info-card p {
  margin: 0 0 24px;
  flex-grow: 1;
}

.event-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-card-body {
  padding: 24px;
}

.event-meta {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

.event-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.contact-details {
  margin-top: 26px;
}

.contact-details p {
  margin: 0 0 8px;
}

.contact-form-preview {
  background: var(--bg-soft);
  border: 1px solid rgba(185, 176, 159, 0.85);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(185, 176, 159, 0.9);
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(155, 122, 51, 0.12);
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.94rem;
}

.site-footer {
  padding-top: 52px;
  background: #ece4d7;
  border-top: 1px solid rgba(185, 176, 159, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer-title {
  font-size: 2rem;
  margin-bottom: 6px;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--accent-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(185, 176, 159, 0.7);
  padding: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.page-hero {
  padding: 48px 0 24px;
}

.page-hero-card {
  background: var(--surface);
  border: 1px solid rgba(185, 176, 159, 0.85);
  border-radius: 36px;
  padding: 48px 28px;
  box-shadow: var(--shadow-soft);
}

.page-lead {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.simple-card {
  background: var(--surface);
  border: 1px solid rgba(185, 176, 159, 0.85);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.simple-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.simple-card-body {
  padding: 24px;
}

.notice-box {
  background: rgba(255, 255, 255, 0.55);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text-muted);
}

.impact-grid .info-card {
  min-height: 260px;
}

.contact-buttons {
  justify-content: flex-start;
  margin-top: 22px;
}

.checkbox-row {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    gap: 18px;
  }

  .menu {
    gap: 18px;
  }

  .hero-gallery,
  .support-grid,
  .event-grid,
  .simple-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: auto;
  }

  body {
    font-size: 15px;
	font-family: "Inter", Arial, sans-serif;
  }

  .container {
    width: min(100% - 22px, var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    gap: 14px;
  }

  .logo {
    width: 64px;
    height: 64px;
  }

  .main-nav {
    gap: 12px 16px;
  }

  .menu {
    gap: 12px 16px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
  }

  .hero-section {
    padding-top: 22px;
  }

  .hero-card {
    min-height: auto;
    border-radius: 36px;
    padding: 48px 28px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn,
  .btn-small {
    width: 100%;
	transition: all 0.2s ease;
  }

  .hero-gallery,
  .support-grid,
  .event-grid,
  .simple-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 64px 0;
  }

  .card-block,
  .contact-form-preview {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .booking-form {
    max-width: 600px;
    margin: 0 auto;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
  }

  .notice-box {
    background: rgba(47, 74, 58, 0.1);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
  }  
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.activities-hero {
    padding-top: 8rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.activities-content h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}

.activities-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.activities-block {
    margin-bottom: 3rem;
}

.activities-block h2,
.activities-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.activities-block p,
.activities-card p,
.activities-list li {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.9;
}

.activities-visuals {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.activities-image {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.activities-logo {
    background: #f7f7f7;
    padding: 1rem;
}

.activities-details {
    padding-top: 0;
}

.activities-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
}

.activities-list {
    display: grid;
    gap: 1.2rem;
    padding-left: 1.2rem;
}

.activities-note {
    background: linear-gradient(
        135deg,
        rgba(212,175,55,0.08),
        rgba(255,255,255,0.03)
    );
}
.stormloop-gallery {
  padding: 5rem 0;
}

.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  display: block;
  break-inside: avoid;
  transition: transform .35s ease, opacity .35s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  opacity: 0.96;
}

@media (max-width: 900px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    columns: 1;
  }
}
@media (max-width: 900px) {

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .activities-hero {
        padding-top: 5rem;
    }

}
.content-wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
}

.wp-block-group {
    margin-bottom: 40px;
}

.wp-block-heading {
    margin-bottom: 24px;
}

.wp-block-paragraph {
    margin-bottom: 20px;
    line-height: 1.8;
}

.wp-block-buttons {
    margin-top: 32px;
}
