﻿/* =============================================
   FÖRDER- UND KULTURVEREIN DIETZENBACH
   Jugendvorstand Website – Stylesheet
   ============================================= */

/* ---- Grundlegende Einstellungen ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-primary: #4f6ef7;
  --clr-primary-dk: #3655e0;
  --clr-accent: #e94f7c;
  --clr-dark: #0f1117;
  --clr-dark2: #1a1d2e;
  --clr-mid: #2d3150;
  --clr-muted: #7880a0;
  --clr-light: #f4f6ff;
  --clr-white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(79, 110, 247, 0.18);
  --transition: 0.25s ease;
  --font: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--clr-dark);
  color: var(--clr-light);
  line-height: 1.7;
  overflow-x: hidden;
}

.admin-lock {
  position: fixed;
  top: 0.85rem;
  left: 0.85rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(17, 21, 33, 0.88);
  color: #fff;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.admin-lock svg {
  width: 18px;
  height: 18px;
}
.admin-lock:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 110, 247, 0.75);
  background: rgba(79, 110, 247, 0.24);
}
.admin-lock:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

/* ---- Hilfsklassen ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--clr-dark2);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 0.5rem;
}

.tag {
  display: inline-block;
  background: rgba(79, 110, 247, 0.18);
  color: var(--clr-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 110, 247, 0.3);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.split-card {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}
.split-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 110, 247, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}
.split-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(79, 110, 247, 0.15);
  margin-bottom: 0.7rem;
}
.split-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.split-card p {
  margin: 0;
  color: var(--clr-muted);
  font-size: 0.9rem;
}

/* ---- Schaltflaechen ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--clr-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--clr-primary-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* =============================================
  NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: #0f1117;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.logo-accent {
  color: var(--clr-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: var(--transition);
}

/* =============================================
  TITELBEREICH
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 70% 60% at 60% 40%,
      rgba(79, 110, 247, 0.28) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 50% at 20% 80%,
      rgba(233, 79, 124, 0.18) 0%,
      transparent 60%
    ),
    var(--clr-dark);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f6ef7' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 40%, var(--clr-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}
.hero-sub {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--clr-muted);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-muted);
  animation: fadeUp 1s 1.2s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-primary), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* =============================================
  UEBER UNS
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  color: var(--clr-muted);
  margin-bottom: 1rem;
}
.about-values {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.about-values li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.about-values .icon {
  font-size: 1.2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: rgba(79, 110, 247, 0.1);
  border: 1px solid rgba(79, 110, 247, 0.25);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--clr-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--clr-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   TEAM
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--clr-mid);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 1.25rem;
}
.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

/* =============================================
  VERANSTALTUNGEN
   ============================================= */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.event-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  position: relative;
  transition:
    transform var(--transition),
    border-color var(--transition);
}
.event-card:hover {
  transform: translateX(6px);
  border-color: rgba(79, 110, 247, 0.4);
}

.event-date {
  text-align: center;
  min-width: 56px;
}
.event-day {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-primary);
  line-height: 1;
}
.event-month {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
}
.event-info {
  flex: 1;
}
.event-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.event-info p {
  color: var(--clr-muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}
.event-meta {
  font-size: 0.82rem;
  color: var(--clr-muted);
}

.event-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(79, 110, 247, 0.15);
  color: var(--clr-primary);
  border: 1px solid rgba(79, 110, 247, 0.3);
  white-space: nowrap;
}
.event-badge.upcoming {
  background: rgba(233, 79, 124, 0.15);
  color: var(--clr-accent);
  border-color: rgba(233, 79, 124, 0.3);
}

/* =============================================
  PROJEKTE
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project-card {
  background: var(--clr-mid);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 2rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.project-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.project-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.project-card p {
  font-size: 0.92rem;
  color: var(--clr-muted);
  line-height: 1.65;
}
.project-card .btn {
  margin-top: 0.9rem;
}

/* =============================================
  MEDIEN
   ============================================= */
.gallery-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.gallery-group h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.gallery-note {
  font-size: 0.9rem;
  color: var(--clr-muted);
  margin-bottom: 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.photo-slot {
  min-height: 130px;
  border: 1px dashed rgba(79, 110, 247, 0.45);
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    rgba(79, 110, 247, 0.12),
    rgba(233, 79, 124, 0.12)
  );
  color: var(--clr-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-slot-image {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: block;
  overflow: hidden;
  min-height: 220px;
}
.photo-slot-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #111;
  cursor: zoom-in;
}
.photo-slot-image figcaption {
  font-size: 0.78rem;
  color: var(--clr-muted);
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 0.6rem 0.7rem;
}

.flyer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.flyer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.flyer-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
}
.flyer-card-current {
  border-color: rgba(79, 110, 247, 0.35);
  box-shadow: 0 10px 30px rgba(79, 110, 247, 0.12);
}
.flyer-preview {
  border: 1px dashed rgba(79, 110, 247, 0.5);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.flyer-preview img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  background: #111;
  cursor: zoom-in;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 12, 19, 0.88);
  backdrop-filter: blur(2px);
}
.lightbox.open {
  display: grid;
}
.lightbox__content {
  position: relative;
  max-width: min(95vw, 1200px);
  max-height: 88vh;
}
.lightbox__image {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
.lightbox__close {
  position: absolute;
  top: -42px;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(26, 29, 46, 0.95);
  color: #fff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-target {
  cursor: zoom-in;
}

/* =============================================
  KONTAKT
   ============================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info p {
  color: var(--clr-muted);
  margin-bottom: 1.5rem;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.contact-list li {
  color: var(--clr-muted);
  font-size: 0.95rem;
}
.contact-list a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.social-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.social-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.qr-wrap {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: stretch;
}
.qr-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.qr-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.qr-card p {
  font-size: 0.85rem;
  color: var(--clr-muted);
  margin-bottom: 0.75rem;
}
.qr-slot {
  border: 1px dashed rgba(79, 110, 247, 0.5);
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    rgba(79, 110, 247, 0.12),
    rgba(233, 79, 124, 0.12)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-light);
}
.qr-slot-large {
  width: 170px;
  height: 170px;
}
.qr-slot-small {
  width: 110px;
  height: 110px;
}

/* Kontaktformular */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-muted);
}
.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-muted);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--clr-accent);
}

.form-feedback {
  font-size: 0.88rem;
  min-height: 1.4em;
  transition: color var(--transition);
}
.form-feedback.success {
  color: #29b68a;
}
.form-feedback.error {
  color: var(--clr-accent);
}

/* =============================================
  RECHTLICHES
   ============================================= */
.legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 2rem;
}
.legal-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-light);
  margin-top: 1.25rem;
  margin-bottom: 0.45rem;
}
.legal-card h3:first-child {
  margin-top: 0;
}
.legal-card p {
  color: var(--clr-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.legal-card a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================
  FUSSBEREICH
   ============================================= */
.footer {
  background: var(--clr-dark2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.footer-logo {
  font-weight: 900;
  font-size: 1.05rem;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--clr-muted);
}
.footer-copy a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================
  RESPONSIV
   ============================================= */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .admin-lock {
    top: 0.65rem;
    left: 0.65rem;
    width: 36px;
    height: 36px;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 340px);
    padding: 6rem 1.25rem 1.5rem;
    background: #0f1117;
    border-left: 1px solid #2a2f44;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    font-size: 1rem;
    z-index: 99;
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
    box-shadow: -14px 0 34px rgba(0, 0, 0, 0.45);
  }
  .nav-links a {
    padding: 0.85rem 0.8rem;
    border-radius: 10px;
    background: #1a1f30;
    border: 1px solid #2a2f44;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.menu-open {
    overflow: hidden;
  }
  body.menu-open .navbar::after {
    content: "";
    position: fixed;
    inset: 0;
    background: #0a0c13;
    z-index: 98;
  }
  .nav-toggle {
    display: flex;
    z-index: 101;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .flyer-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .qr-wrap {
    grid-template-columns: 1fr;
  }
  .qr-slot-large {
    width: 150px;
    height: 150px;
  }
  .qr-slot-small {
    width: 100px;
    height: 100px;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .event-badge {
    position: static;
  }
}

@media (max-width: 540px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid-4 {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .photo-slot-image img {
    height: 200px;
  }
  .legal-card {
    padding: 1.25rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    justify-content: center;
  }
  .lightbox__close {
    top: 8px;
    right: 8px;
  }
}

