/* RESET & NORMALIZE */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3F3F7;
  color: #222B35;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
a {
  color: #B32029;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #B32029;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
ul, ol {
  margin-left: 24px;
  margin-top: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  color: #B32029;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
small { font-size: 0.95rem; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* LAYOUT HELPERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 16px 0 rgba(179,32,41,0.07);
}

/* Branding and Playful Dynamic Styling */
body {
  background: #F3F3F7;
}

/* Fun, playful colors for accents */
:root {
  --primary: #B32029;
  --secondary: #222B35;
  --accent: #F3F3F7;
  --yellow: #FFE259;
  --sky: #4CC8FF;
  --lime: #AFE844;
  --blue: #4650E7;
  --light: #fff;
}

/* MAIN NAVIGATION */
header {
  background: var(--yellow);
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 2px 10px 0 rgba(70,80,231,0.09);
}
.main-navigation {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0 12px 0;
  justify-content: flex-start;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
}
.main-navigation > a {
  color: var(--secondary);
  padding: 6px 10px;
  position: relative;
  border-radius: 16px;
  transition: background 0.15s, color 0.2s, box-shadow 0.18s;
}
.main-navigation > a.cta {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  font-family: 'Oswald', Arial, sans-serif;
  padding: 8px 20px;
  margin-left: 12px;
  box-shadow: 0 4px 10px 0 rgba(179,32,41,0.12);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, box-shadow 0.18s, color 0.19s;
}
.main-navigation > a.cta.primary {
  background: var(--primary);
  color: #fff;
}
.main-navigation > a.cta.secondary {
  background: var(--blue);
  color: #fff;
}
.main-navigation > a:hover, .main-navigation > a:focus {
  background: var(--lime);
  color: var(--primary);
  box-shadow: 0 8px 18px 0 rgba(70,200,255,0.08);
}
.main-navigation > a.cta:hover, .main-navigation > a.cta:focus {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 8px 22px 0 rgba(70,200,255,0.21);
}
.main-navigation img {
  height: 36px;
  margin-right: 10px;
  vertical-align: middle;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  padding: 4px 14px 2px 14px;
  border-radius: 12px;
  cursor: pointer;
  z-index: 40;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
.mobile-menu-toggle:hover {
  background: var(--sky);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242, 226, 100, 0.98);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 12px;
  align-self: flex-end;
  margin: 18px 28px 10px 0;
  padding: 2px 14px;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin: 0 36px;
  margin-bottom: 48px;
}
.mobile-nav a {
  display: block;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.45rem;
  color: var(--secondary);
  background: var(--accent);
  padding: 12px 24px;
  border-radius: 22px;
  box-shadow: 0 2px 8px 0 rgba(179,32,41,0.07);
  width: 100%;
  transition: background 0.23s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--lime);
  color: var(--primary);
}
@media (max-width: 1024px) {
  .main-navigation {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .main-navigation > a:not(:first-child):not(.cta) {
    display: none;
  }
}
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* PAGE SECTIONS */
section {
  margin-bottom: 60px;
  padding: 0;
}
.section {
  background: var(--light);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  box-shadow: 0 4px 16px 0 rgba(140, 221, 88, 0.07), 0 1.5px 8.5px 0 rgba(179,32,41,0.08);
}

/* FEATURES, CARDS & FLEX CONTAINERS*/
.card-container,
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(76, 200, 255, 0.09), 0 1.5px 8.5px 0 rgba(179,32,41,0.09);
  flex: 1 1 180px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 32px 20px 24px 20px;
  transition: transform 0.17s, box-shadow 0.27s;
  position: relative;
}
.feature-grid > div:hover {
  transform: translateY(-8px) scale(1.04) rotate(-1deg);
  box-shadow: 0 6px 30px 0 rgba(70,80,231,0.17);
}
.feature-grid img {
  width: 48px;
  margin-bottom: 8px;
}

.card {
  background: var(--light);
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(76, 200, 255, 0.11);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  transform: scale(1.045) rotate(1deg);
  box-shadow: 0 10px 32px 0 rgba(179,32,41,0.09);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe8;
  color: #222B35;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(179,32,41,0.05), 0 1.5px 8.5px 0 rgba(140,221,88,0.07);
  position: relative;
  font-size: 1.07rem;
  transition: box-shadow 0.16s;
}
.testimonial-card strong {
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
}
.testimonial-card:before {
  content: '\201C';
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--blue);
  font-size: 3rem;
  opacity: 0.16;
  position: absolute;
  left: 14px;
  top: 1px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(70,200,255,0.14);
}

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

/* FOOTER STYLES */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
  margin-top: 80px;
  font-family: 'Roboto', Arial, sans-serif;
}
footer .container {
  padding-top: 44px;
  padding-bottom: 22px;
}
footer .content-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 240px;
}
.footer-logo-contact ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.footer-logo-contact li {
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.footer-menu, .footer-utility {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a, .footer-utility a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.06rem;
  transition: color 0.2s, text-decoration 0.13s;
}
.footer-menu a:hover, .footer-utility a:hover, 
.footer-menu a:focus, .footer-utility a:focus {
  color: var(--yellow);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: background 0.2s;
}
.footer-social a:hover {
  background: var(--yellow);
}
footer small {
  color: #fff;
  opacity: 0.74;
  font-size: 0.97rem;
  text-align: center;
  margin-top: 24px;
  width: 100%;
}
@media (max-width: 1000px) {
  .footer-logo-contact {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
}

/* CATEGORY FILTERS AND TAGS */
.category-filters, .event-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  align-items: center;
}
.category-filters a, .event-filters a {
  background: var(--sky);
  color: var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 16px;
  padding: 5px 18px;
  margin-bottom: 3px;
  transition: background 0.2s, color 0.18s;
  font-weight: 700;
}
.category-filters a:hover, .category-filters a:focus, 
.event-filters a:hover, .event-filters a:focus {
  background: var(--primary);
  color: #fff;
}

/* PAGINATION */
.pagination {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.pagination a {
  color: var(--secondary);
  background: var(--yellow);
  padding: 6px 15px;
  border-radius: 14px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  transition: background 0.16s, color 0.13s;
}
.pagination a:hover, .pagination a:focus {
  background: var(--primary);
  color: #fff;
}

/* HIGHLIGHTED EVENT */
.highlighted-event {
  background: var(--lime);
  color: var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  padding: 18px 20px;
  border-radius: 18px;
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 1.14rem;
  font-weight: 600;
  box-shadow: 0 3px 12px 0 rgba(175,232,68,0.13);
}

/* CTAS + BUTTONS */
.cta {
  display: inline-block;
  border-radius: 22px;
  background: var(--lime);
  color: var(--secondary);
  padding: 11px 32px;
  font-size: 1.13rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
  margin-right: 12px;
  box-shadow: 0 2.5px 7px 0 rgba(76,200,255,0.12);
  border: none;
  transition: background 0.16s, color 0.16s, transform 0.13s, box-shadow 0.17s;
  cursor: pointer;
  outline: none;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px 0 rgba(179,32,41,0.10);
}
.cta.secondary {
  background: var(--sky);
  color: var(--secondary);
}
.cta:hover, .cta:focus {
  background: var(--yellow);
  color: var(--secondary);
  transform: scale(1.05) rotate(-0.7deg);
  box-shadow: 0 6px 30px 0 rgba(70, 200, 255, 0.12);
  text-decoration: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--blue);
  color: #fff;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--lime);
  color: var(--secondary);
}

/* NEWSLETTER SECTION LIST */
ul {
  list-style-type: disc;
}

/* SUCCESS MESSAGE */
.content-wrapper.success {
  background: var(--lime);
  border-radius: 22px;
  padding: 34px 20px;
  box-shadow: 0 2px 14px 0 rgba(179,32,41,0.05);
  text-align: center;
}
.content-wrapper.success h1 {
  color: var(--primary);
}

/* TEXT SECTIONS */
.text-section {
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 1rem;
  line-height: 1.7;
}
.text-section ul {
  margin-top: 10px;
}


/* TABLES (if used) */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
}
th, td {
  border: 1px solid #e8eaed;
  padding: 12px 10px;
  text-align: center;
}
th {
  background: var(--yellow);
  font-family: 'Oswald', Arial, sans-serif;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.25rem; }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-logo-contact, .footer-menu, .footer-utility {
    align-items: flex-start;
  }
  .footer-logo-contact ul li {
    font-size: 15px;
  }
  .testimonial-card {
    font-size: 1rem;
    gap: 13px;
    padding: 15px;
  }
  .highlighted-event {
    font-size: 1rem;
    padding: 10px 13px;
  }
}

/* MICRO-INTERACTIONS, PLAYFULNESS, ANIMS */
h1, h2, h3, h4 {
  letter-spacing: 0.02em;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 66px;
  height: 7px;
  margin-top: 10px;
  border-radius: 6px;
  background: var(--lime);
  opacity: 0.6;
  animation: dash-anim 1.3s ease 0s 1 normal;
}
@keyframes dash-anim {
  0% { width: 0; opacity: 0; }
  50% { width: 66px; opacity: 0.45; }
  100% { width: 66px; opacity: 0.6; }
}
.cta {
  animation: pulse 2.6s infinite cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(175,232,68,0.12); }
  60% { box-shadow: 0 0 0 15px rgba(175,232,68,0.00); }
  100% { box-shadow: 0 0 0 0 rgba(175,232,68,0); }
}
.testimonial-card {
  animation: bounceIn 0.8s 0.1s both;
}
@keyframes bounceIn {
  0%   { transform: scale(0.7) translateY(60px); opacity: 0; }
  70%  { transform: scale(1.12) translateY(-8px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* COOKIE BANNER (fixed bottom) */
.cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fffbe8;
  color: var(--secondary);
  box-shadow: 0 -4px 18px rgba(179,32,41,0.07);
  padding: 18px 16px;
  z-index: 24000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.4s;
  transform: translateY(0);
  font-size: 1rem;
  animation: cookie-slidein 0.77s;
}
@keyframes cookie-slidein {
  0%{transform:translateY(130%);} 100%{transform:translateY(0);}
}
.cookie-consent__text {
  max-width: 650px;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--secondary);
}
.cookie-consent__actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  border: none;
  border-radius: 18px;
  font-family: 'Oswald', Arial, sans-serif;
  padding: 9px 22px;
  font-size: 1.09rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  margin: 0;
  box-shadow: 0 2.5px 8px rgba(179,32,41,0.10);
  transition: background 0.15s, color 0.22s, transform 0.11s;
}
.cookie-btn.rejected {
  background: var(--sky);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--lime);
  color: var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--yellow);
  color: var(--secondary);
  transform: scale(1.07) rotate(-0.7deg);
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  z-index: 25000;
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.42s;
}
@keyframes fadeIn {
  from{opacity:0;} to{opacity:1;}
}
.cookie-modal {
  background: #fffbe8;
  box-shadow: 0 8px 32px rgba(70,200,255,0.12);
  border-radius: 26px;
  max-width: 430px;
  width: 98vw;
  padding: 32px 20px 18px 20px;
  color: var(--secondary);
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: bounceIn 0.6s 0.02s both;
  position: relative;
}
.cookie-modal__close {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.6rem;
  position: absolute;
  top: 10px; right: 16px;
  padding: 1px 11px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.13s;
}
.cookie-modal__close:hover {
  background: var(--secondary);
  color: var(--yellow);
}
.cookie-modal__title {
  font-size: 1.23rem;
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 0;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
}
.cookie-modal-category label {
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--secondary);
}
.cookie-modal-category .always {
  color: var(--secondary);
  background: var(--lime);
  border-radius: 10px;
  padding: 2px 9px;
  font-size: 0.96rem;
  margin-left: 4px;
  font-weight: 700;
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
}

/* OVERRIDES & MINIMUM SPACING */
.section, .card, .testimonial-card, .feature-grid > div, .content-wrapper {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .content-grid {
  gap: 24px;
}
.text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}

/* FONTS: Oswald + Roboto */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* SCROLLBAR for style flavor */
::-webkit-scrollbar {
  width: 12px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--lime);
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sky);
}

/* UTILITIES */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* END */
