/* Zenith Construct - Vintage Retro CSS Theme */

/* 1. FONT IMPORTS (Vintage/Retro + Brand) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&family=Pacifico&family=Archivo+Black&display=swap');

:root {
  /* Brand Colors */
  --primary: #172A3A;
  --secondary: #37B5E9;
  --accent: #FFFFFF;
  /* Vintage/Retro Palette */
  --retro-yellow: #F7C873;
  --retro-orange: #E87D3E;
  --retro-red: #D7263D;
  --retro-green: #A2C523;
  --retro-blue: #3B9C9C;
  --retro-brown: #7C5E3C;
  --retro-bg: #FFF8F0;
  --retro-card: #FDF6E3;
  --retro-shadow: 0 6px 24px 0 rgba(60, 40, 10, 0.10);
  /* Typography */
  --font-display: 'Archivo Black', 'Montserrat', sans-serif;
  --font-retro: 'Pacifico', cursive;
  --font-body: 'Roboto', Arial, sans-serif;
  /* Spacing */
  --section-margin: 60px;
  --section-padding: 40px 20px;
  --card-gap: 24px;
  --card-margin: 20px;
  --container-max: 1200px;
  /* Patterns */
  --pattern-stripes: repeating-linear-gradient(135deg, #F7C873 0 8px, #FFF8F0 8px 16px);
  --pattern-dots: radial-gradient(circle, #E87D3E 1.5px, transparent 1.5px);
  /* Shadows */
  --shadow-soft: 0 2px 8px 0 rgba(60, 40, 10, 0.10);
  --shadow-strong: 0 8px 32px 0 rgba(60, 40, 10, 0.18);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  background: var(--retro-bg);
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--retro-bg);
  margin: 0;
  min-height: 100vh;
  line-height: 1.7;
}

/* 2. GENERAL LAYOUT & CONTAINER */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

main {
  flex: 1 0 auto;
}

.section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
  background: var(--retro-card);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  font-family: var(--font-retro), var(--font-display);
  color: var(--retro-red);
  text-shadow: 2px 2px 0 #F7C873, 4px 4px 0 #E87D3E;
}
h2 {
  font-size: 2rem;
  color: var(--retro-orange);
  font-family: var(--font-display);
  text-shadow: 1px 1px 0 #F7C873;
}
h3 {
  font-size: 1.3rem;
  color: var(--retro-brown);
  font-family: var(--font-display);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--primary);
}
p, ul, ol, li {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1rem;
}
strong {
  color: var(--retro-red);
}

ul, ol {
  padding-left: 1.5em;
  margin: 0.5em 0 1em 0;
}
li {
  margin-bottom: 0.5em;
  position: relative;
}
ul li:before {
  content: '\25A0';
  color: var(--retro-orange);
  font-size: 0.8em;
  margin-right: 0.7em;
  vertical-align: middle;
}

/* 4. BUTTONS & CTA */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--retro-yellow) 60%, var(--retro-orange) 100%);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.85em 2.2em;
  border: none;
  border-radius: 32px;
  box-shadow: 0 4px 16px 0 rgba(215,38,61,0.10);
  text-decoration: none;
  letter-spacing: 1px;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.25s, color 0.25s, transform 0.15s;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--retro-orange) 60%, var(--retro-red) 100%);
  color: var(--accent);
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(215,38,61,0.18);
}

button, .button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  padding: 0.7em 1.7em;
  background: var(--retro-yellow);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-soft);
}
button:hover, .button:hover {
  background: var(--retro-orange);
  color: var(--accent);
}

/* 5. FLEXBOX LAYOUTS */
.feature-grid, .team-grid, .event-cards, .sponsor-grid, .gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
  justify-content: space-between;
  margin-bottom: var(--card-margin);
}
.feature-grid > div, .team-grid > div, .event-cards > div, .sponsor-grid > div {
  background: var(--retro-card);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover, .team-grid > div:hover, .event-cards > div:hover, .sponsor-grid > div:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
}
.gallery-grid {
  gap: 20px;
  justify-content: flex-start;
}
.gallery-grid img {
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(60, 40, 10, 0.10);
  width: 220px;
  height: 140px;
  object-fit: cover;
  background: var(--pattern-stripes);
  margin-bottom: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.gallery-grid img:hover {
  box-shadow: var(--shadow-strong);
  transform: scale(1.04) rotate(-2deg);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
}
.card {
  margin-bottom: var(--card-margin);
  position: relative;
  background: var(--retro-card);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  border-left: 8px solid var(--retro-orange);
  font-size: 1.05rem;
  color: var(--primary);
  max-width: 700px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-strong);
  border-left: 8px solid var(--retro-red);
}
.testimonial-card p {
  margin: 0 0 0.5em 0;
  color: var(--primary);
}
.testimonial-card span {
  font-size: 0.98em;
  color: var(--retro-brown);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: var(--retro-card);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
  transition: box-shadow 0.2s;
}
.faq-accordion > div:hover {
  box-shadow: var(--shadow-strong);
}

/* 6. HEADER & NAVIGATION */
header {
  background: var(--pattern-stripes);
  border-bottom: 4px solid var(--retro-orange);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 24px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  color: var(--primary);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--retro-orange);
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
nav a:hover, nav a:focus {
  color: var(--retro-red);
}
nav a:hover:after, nav a:focus:after {
  width: 100%;
}

/* 7. MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-orange);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-left: 18px;
  z-index: 120;
}
.mobile-menu-toggle:hover {
  background: var(--retro-red);
  color: var(--accent);
  transform: scale(1.08) rotate(-8deg);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--retro-yellow);
  background-image: var(--pattern-stripes);
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: slideInMenu 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes slideInMenu {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  background: var(--retro-red);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.mobile-menu-close:hover {
  background: var(--retro-orange);
  transform: scale(1.08) rotate(8deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 48px 0 0 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.4rem;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s, background 0.2s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-red);
  background: var(--retro-yellow);
}

/* 8. FOOTER */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 0;
  border-top: 6px solid var(--retro-orange);
}
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0 24px 0;
}
footer img {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.88;
  transition: color 0.2s, opacity 0.2s;
}
footer nav a:hover {
  color: var(--retro-yellow);
  opacity: 1;
}
footer .contact-info p, .newsletter-signup p {
  color: var(--accent);
  font-size: 0.98rem;
  margin: 0 0 6px 0;
  opacity: 0.92;
}

.newsletter-signup {
  margin-top: 12px;
  font-style: italic;
  color: var(--retro-yellow);
}

/* 9. TABLES (Programma) */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--retro-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}
thead {
  background: var(--retro-yellow);
}
th, td {
  padding: 14px 10px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
}
th {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: bold;
}
tbody tr:nth-child(even) {
  background: #FFF3E0;
}
tbody tr:nth-child(odd) {
  background: var(--retro-card);
}

/* 10. SOCIAL LINKS */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 18px 0;
}
.social-links a {
  color: var(--retro-red);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-decoration: none;
  background: var(--retro-yellow);
  border-radius: 8px;
  padding: 6px 16px;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover {
  background: var(--retro-orange);
  color: var(--accent);
}

/* 11. MAP IMAGE */
.map img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  margin-top: 12px;
}

/* 12. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid > div, .team-grid > div, .event-cards > div, .sponsor-grid > div {
    min-width: 180px;
    padding: 20px 12px;
  }
  .gallery-grid img {
    width: 140px;
    height: 90px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 8px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-section {
    padding: 28px 0 16px 0;
    gap: 18px;
  }
  .feature-grid, .team-grid, .event-cards, .sponsor-grid, .gallery-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .team-grid > div, .event-cards > div, .sponsor-grid > div {
    min-width: 0;
    width: 100%;
  }
  .gallery-grid img {
    width: 100%;
    max-width: 100vw;
    height: 120px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    max-width: 100%;
  }
  .faq-accordion > div {
    padding: 12px 8px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .cta-btn, button, .button {
    font-size: 1rem;
    padding: 0.7em 1.2em;
  }
  .gallery-grid img {
    height: 80px;
  }
}

/* 13. COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--retro-yellow);
  color: var(--primary);
  font-family: var(--font-body);
  box-shadow: 0 -2px 16px 0 rgba(60, 40, 10, 0.10);
  padding: 20px 16px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: slideInBanner 0.5s cubic-bezier(.77,0,.18,1);
}
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  padding: 0.6em 1.4em;
  background: var(--retro-orange);
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  box-shadow: var(--shadow-soft);
}
.cookie-banner button:hover {
  background: var(--retro-red);
  color: var(--accent);
  transform: scale(1.04);
}
.cookie-banner .cookie-settings-btn {
  background: var(--retro-yellow);
  color: var(--primary);
  border: 2px solid var(--retro-orange);
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--retro-orange);
  color: var(--accent);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,42,58,0.65);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--retro-card);
  border-radius: 18px;
  box-shadow: var(--shadow-strong);
  padding: 32px 24px 24px 24px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn 0.35s cubic-bezier(.77,0,.18,1);
}
@keyframes modalPopIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--retro-orange);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--retro-yellow);
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--retro-orange);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-close-btn {
  background: var(--retro-red);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  align-self: flex-end;
  margin-bottom: -18px;
  margin-top: -18px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cookie-modal .cookie-close-btn:hover {
  background: var(--retro-orange);
  transform: scale(1.08) rotate(8deg);
}

/* 14. MISC RETRO ELEMENTS */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px; left: 24px;
  width: 60px; height: 8px;
  background: var(--pattern-stripes);
  border-radius: 8px 8px 0 0;
  opacity: 0.5;
  z-index: 0;
}
.section:nth-child(even):before {
  left: auto; right: 24px;
}

/* Decorative dots for cards */
.feature-grid > div:after, .team-grid > div:after, .event-cards > div:after, .sponsor-grid > div:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 12px; right: 12px;
  width: 18px; height: 18px;
  background: var(--pattern-dots);
  background-size: 6px 6px;
  opacity: 0.25;
  border-radius: 50%;
  z-index: 0;
}

/* 15. ACCESSIBILITY & FOCUS */
a, button, .cta-btn, .button {
  outline: none;
  transition: box-shadow 0.2s;
}
a:focus, button:focus, .cta-btn:focus, .button:focus {
  box-shadow: 0 0 0 3px var(--retro-yellow);
  z-index: 2;
}

/* 16. HIDE/SHOW NAV ON MOBILE */
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* 17. Z-INDEX SAFETY */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 1000;
}

/* 18. PREVENT OVERLAPPING */
.section, .card, .testimonial-card, .faq-accordion > div, .feature-grid > div, .team-grid > div, .event-cards > div, .sponsor-grid > div {
  margin-bottom: 20px;
}

/* END Zenith Construct Vintage Retro CSS */
