/* Skyward Spiele – style.css | Vibrant Energetic Design | Mobile-first, Flexbox-only */
/* ===== CSS RESET & NORMALIZATION ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F8FAFF; /* subtle bluish background */
  color: #222;
}
body {
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #234C81;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EBCB3D;
  outline: none;
}
ul, ol {
  padding-left: 20px;
}
strong, b {
  font-weight: 700;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  border: none;
  outline: none;
  background: none;
  color: inherit;
  box-sizing: border-box;
}
hr {
  border: none;
  border-top: 2px solid #EBCB3D;
  margin: 30px 0;
}

/* ===== BRAND COLORS & FONTS ===== */
:root {
  --primary: #234C81;
  --secondary: #EBCB3D;
  --accent: #FFFFFF;
  --electric-blue: #2997FF;
  --hot-pink: #FF2374;
  --vibrant-cyan: #17E6D7;
  --vivid-orange: #FFAA00;
  --gray-bg: #F8FAFF;
  --dark: #181B21;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
  position: relative;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 40px;
  }
}

/* ===== TYPOGRAPHY (HEADINGS, PARAGRAPHS) ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem; /* 40px */
  color: var(--hot-pink);
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem; /* 32px */
  color: var(--electric-blue);
  margin-bottom: 12px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  color: var(--primary);
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem; /* 18px */
  color: var(--hot-pink);
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #222;
}
.text-section > p,
.text-section > ul,
.text-section > ol {
  margin-bottom: 14px;
}
.text-section ul {
  list-style: disc inside;
}
@media (min-width: 750px) {
  h1 {font-size: 3rem;}
  h2 {font-size: 2.5rem;}
  h3 {font-size: 1.5rem;}
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  box-shadow: 0 6px 18px -6px rgba(35, 76, 129, 0.15);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
header a img {
  height: 42px;
  width: auto;
  margin-right: 22px;
}
header nav {
  display: none;
}
header .cta-button {
  margin-left: 0;
}
/* Desktop Nav */
@media (min-width: 900px) {
  header nav {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  header nav a {
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.02em;
    padding: 8px 0;
    position: relative;
    transition: color 0.18s;
  }
  header nav a:hover, header nav a:focus {
    color: var(--secondary);
  }
  header .cta-button {
    margin-left: 36px;
  }
}

/* CTA BUTTON STYLE */
.cta-button {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--hot-pink) 15%, var(--electric-blue) 70%, var(--secondary) 100%);
  color: #fff;
  padding: 13px 26px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 4px 24px -8px var(--electric-blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: filter 0.18s, background 0.18s, transform 0.16s;
  cursor: pointer;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #fff 10%, var(--electric-blue) 70%, var(--hot-pink) 100%);
  color: var(--primary);
  filter: brightness(1.1) drop-shadow(0 2px 8px #17e6d7bb);
  transform: translateY(-2px) scale(1.04);
}

/* ===== MOBILE NAV & BURGER MENU ===== */
.mobile-menu-toggle {
  position: relative;
  z-index: 100;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--secondary);
  padding: 6px 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
  transition: color 0.16s, transform 0.16s;
}
.mobile-menu-toggle:active {
  color: #fff;
  transform: scale(0.98);
}
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--primary);
  color: #fff;
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.83,0,0.17,1);
  box-shadow: -3px 0 36px 0 rgba(35,76,129,0.32);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  padding: 18px 30px 8px 0;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.18s;
  z-index: 10;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 24px 32px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.33rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 14px 0 6px 0;
  border-bottom: 1.5px solid var(--hot-pink);
  transition: color 0.12s, border-bottom 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  border-bottom: 2.5px solid var(--electric-blue);
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(99deg, var(--electric-blue) 0%, var(--primary) 61%, var(--hot-pink) 100%);
  color: #fff;
  padding: 49px 0 61px 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 12px 30px -8px rgba(35,76,129,0.17);
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 24px;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 12px;
  letter-spacing: 0.015em;
  text-shadow: 0 3px 16px #181b21bb;
}
.hero p {
  color: #fff;
  font-size: 1.17rem;
  font-family: var(--font-body);
  margin-bottom: 10px;
  text-shadow: 0 2px 8px #234c8185;
}
@media (min-width: 750px) {
  .hero .content-wrapper {
    padding: 34px 44px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

/* ===== CARDS & FLEX GRIDS ===== */
.card-container, .feature-grid, .category-grid, .services-list, .workshop-list, .testimonial-slider, .testimonial-list, .event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: stretch;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 24px -7px rgba(41,151,255,0.13);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature:hover, .category-card:hover, .service-card:hover, .workshop-card:hover {
  box-shadow: 0 7px 38px -8px var(--vibrant-cyan);
  transform: translateY(-4px) scale(1.025);
}
/* Feature/Grid elements (Index: Highlights & similar) */
.feature, .category-card, .service-card, .workshop-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 20px -6px rgba(255,35,116,0.08), 0 2px 10px -4px #234c8122;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 24px 18px 22px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.feature img, .category-card img, .service-card img, .workshop-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  filter: drop-shadow(0 3px 8px #234c8140) brightness(1.09);
}
.feature h3, .category-card h3, .service-card h3, .workshop-card h3 {
  font-size: 1.23rem;
  font-family: var(--font-display);
  color: var(--electric-blue);
  font-weight: 700;
}
.feature p, .category-card p, .service-card p, .workshop-card p {
  color: #222;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}
/* Responsive layout for cards */
@media (max-width: 800px) {
  .feature-grid, .category-grid, .services-list, .workshop-list, .testimonial-slider, .testimonial-list, .event-list {
    gap: 16px;
  }
  .feature, .category-card, .service-card, .workshop-card {
    min-width: 90%;
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ===== FLEXBOX CUSTOM COMPONENTS ===== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section, .text-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 22px -8px var(--electric-blue);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 370px;
  flex: 1 1 250px;
  border: 3px solid var(--secondary);
  position: relative;
  transition: box-shadow 0.19s, border 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px -6px var(--hot-pink);
  border-color: var(--hot-pink);
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: #191c1f;
  text-align: center;
  margin-bottom: 6px;
  padding-bottom: 0;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  opacity: 0.82;
}

/* ===== CTA SECTIONS ===== */
.cta {
  background: linear-gradient(90deg, var(--secondary) 10%, #fff 80%);
  padding: 44px 0 48px 0;
  text-align: center;
  margin-bottom: 60px;
  border-radius: 6px;
  box-shadow: 0 3px 21px -7px #ebcb3d55;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.cta h2 {
  color: var(--hot-pink);
  margin-bottom: 12px;
}
.cta p {
  color: #232c4c;
}
@media (max-width: 750px) {
  .cta {
    padding: 24px 0 28px 0;
    margin-bottom: 30px;
  }
  .cta .content-wrapper {
    gap: 10px;
  }
}

/* ===== FOOTER ===== */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 34px 0 14px 0;
  margin-top: 36px;
  box-shadow: 0 -2px 24px -3px #234c8144;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  margin-bottom: 12px;
}
.footer-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 12px #fff2) drop-shadow(0 4px 18px var(--electric-blue));
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
}
footer nav a {
  color: var(--secondary);
  font-size: 1rem;
  text-decoration: underline;
  font-family: var(--font-display);
  margin-bottom: 3px;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
.footer-contact {
  color: #fff;
  font-size: 0.98rem;
  text-align: center;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
}
@media (min-width: 750px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-bottom: 0;
  }
  .footer-logo {
    margin-bottom: 0;
  }
  .footer-contact {
    text-align: right;
    max-width: 350px;
  }
  footer nav {
    gap: 30px;
    justify-content: flex-start;
  }
}

/* ===== LISTS & SIMPLE COMPONENTS ===== */
.service-list-short, .event-highlights ul, .text-section ul {
  list-style: disc inside;
  margin-bottom: 18px;
  padding-left: 0;
  color: #222;
}
.service-list-short li, .event-highlights li {
  margin-bottom: 8px;
  font-size: 1.07rem;
  font-family: var(--font-body);
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
  background: linear-gradient(99deg, #fff 0%, var(--secondary) 50%, #fff 100%);
  border-radius: 25px;
  margin: 40px 12px 60px 12px;
  padding: 40px 0;
  box-shadow: 0 12px 34px -15px var(--primary);
}
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
}
.thank-you h1 {
  color: var(--hot-pink);
  font-size: 2.1rem;
}
.thank-you a.cta-button {
  margin-top: 18px;
}
@media (max-width: 750px) {
  .thank-you {
    padding: 22px 3vw 35px 3vw;
    margin: 18px 0 22px 0;
  }
  .thank-you h1 {
    font-size: 1.3rem;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #232c4c;
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 18px 20px;
  box-shadow: 0 -6px 32px -6px #181b2185;
  transition: transform 0.32s;
}
.cookie-banner-hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-banner-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 8px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  border-radius: 24px;
  font-size: 0.97rem;
  font-weight: 700;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
  background: var(--electric-blue);
  color: #fff!important;
  box-shadow: 0 2px 12px -3px #17e6d7AA;
}
.cookie-banner .cookie-reject {
  background: var(--hot-pink);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: var(--primary)!important;
  border: 2px solid var(--electric-blue);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.15) drop-shadow(0 2px 8px var(--vibrant-cyan));
  transform: translateY(-2px) scale(1.02);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(35,76,129,0.81);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-box {
  background: #fff;
  color: #232c4c;
  padding: 36px 28px 26px 28px;
  border-radius: 26px;
  max-width: 95vw;
  min-width: 260px;
  box-shadow: 0 8px 32px -6px var(--primary);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-box h3 {
  font-size: 1.4rem;
  color: var(--hot-pink);
  margin-bottom: 8px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 1.08rem;
}
.cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
}
.cookie-modal-btns {
  display: flex;
  gap: 17px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: none;
  color: var(--hot-pink);
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal-close:hover {color: var(--electric-blue);}

/* ===== FORM COMPONENTS ===== */
input, textarea, select {
  padding: 13px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--primary);
  font-size: 1rem;
  background: #fff;
  margin-bottom: 14px;
  transition: border 0.16s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--electric-blue);
  outline: none;
  box-shadow: 0 2px 10px -4px var(--hot-pink);
}
button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 22px;
  padding: 10px 18px;
  cursor: pointer;
  background: var(--electric-blue);
  transition: background 0.18s, color 0.16s, box-shadow 0.11s;
  color: #fff;
  border: none;
  font-size: 1rem;
}
button:hover, button:focus {
  background: var(--hot-pink);
  color: #fff;
  box-shadow: 0 2px 10px -3px var(--vibrant-cyan);
}

/* ===== MISC UTILITIES ===== */
.mb-12 {margin-bottom: 12px;}
.mt-24 {margin-top: 24px;}
.rounded-12 {border-radius: 12px;}
.shadow-lg {box-shadow: 0 8px 32px -6px #234c8130;}
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .content-wrapper, .section {
    padding: 18px 3vw;
  }
}

/* ===== ANIMATIONS & MICRO-INTERACTIONS ===== */
.cta-button,
button,
.feature, .category-card, .service-card, .workshop-card, .card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.19s, background 0.18s, color 0.14s;
}
.feature:hover, .category-card:hover, .service-card:hover, .workshop-card:hover {
  background: var(--gray-bg);
}
.testimonial-card:hover {
  background: #f8fafc;
}

/* Fade-in anim for hero sections */
@keyframes fadeInHero {
  0% { opacity: 0; transform: translateY(34px);}
  100% {opacity:1; transform:none;}
}
.hero .content-wrapper {
  animation: fadeInHero 1.1s cubic-bezier(0.69,0,0.23,1);
}

/* Highlight shock effect on CTA hover */
@keyframes buttonBounce {
  0% { transform: scale(1); }
  25% { transform: scale(1.06); }
  50% { transform: scale(.98); }
  75% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.cta-button:active {
  animation: buttonBounce .21s linear both;
}

/* ===== RESPONSIVE: FLEXBOX DIRECTION & GAP ===== */
@media (max-width: 768px) {
  .content-grid,
  .feature-grid,
  .category-grid,
  .services-list,
  .workshop-list,
  .card-container,
  .event-list,
  .testimonial-slider,
  .testimonial-list,
  .text-image-section {
    flex-direction: column;
    gap: 18px !important;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 8px;
  }
}

/* ===== CRITICAL LAYOUT PROTECTIONS ===== */
/* Enforce min gap and margin between content elements to prevent overlap */
.section > *,
.section .content-wrapper > *,
.container > * {
  margin-bottom: 20px;
}
.section > *:last-child,
.section .content-wrapper > *:last-child,
.container > *:last-child {
  margin-bottom: 0;
}
/* Remove margin for cards if in grid/flex context */
.feature-grid .feature,
.category-grid .category-card,
.services-list .service-card,
.workshop-list .workshop-card,
.testimonial-slider .testimonial-card,
.card-container .card {
  margin-bottom: 0;
}

/* NO GRID, NO COLUMNS PROPERTIES USED ANYWHERE */

/* ===== COLOR CONTRAST & ACCESSIBILITY ===== */
.testimonial-card, .testimonial-slider .testimonial-card {
  background: #fff;
  color: #232c4c;
  border: 3px solid var(--secondary);
}
.testimonial-card p, .testimonial-card span {
  color: #191c1f;
}

/* ===== PRINT PROTECTION ===== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {display: none !important;}
}
