/* ====================================================== */
/*    CSS RESET & NORMALIZATION – Mobile First Approach   */
/* ====================================================== */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html, body {
  height: 100%;
}
body {
  background: #FFF;
  color: #263238;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
}
ul, ol {
  padding-left: 18px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 6px;
  list-style-type: disc;
}
a {
  text-decoration: none;
  color: #CF2626;
  transition: color 0.2s cubic-bezier(.6,.2,.2,1);
}
a:hover, a:focus {
  color: #263238;
  text-decoration: underline;
}
img, svg {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #263238;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
p, .subheadline {
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ==================================== */
/*         Container & Layout           */
/* ==================================== */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 16px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  align-items: center;
  text-align: center;
}
.footer-contact, .footer-social, .newsletter-signup {
  margin-top: 10px;
}

/* ================================================== */
/*         Playful_Dynamic Theming & Spacing          */
/* ================================================== */
body {
  background: #FFF2E0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(207,38,38,0.10);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(207,38,38,0.2), 0 0 0 4px #F2E8D5;
  z-index: 1;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 5px 16px 0 rgba(38,50,56,0.07);
  margin-bottom: 20px;
  border-left: 8px solid #CF2626;
  max-width: 460px;
  transition: transform 0.18s cubic-bezier(.5,.16,.55,.95);
}
.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02) rotate(-2deg);
}
.testimonial-card p {
  color: #263238;
  font-size: 1.02rem;
  line-height: 1.7;
  font-style: italic;
}
.testimonial-card span {
  color: #CF2626;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(207,38,38,0.06);
  margin-bottom: 20px;
}

/* =========================== */
/*        HERO/CTA Styles      */
/* =========================== */
.cta-btn {
  background: #CF2626;
  color: #FFF;
  border-radius: 28px;
  padding: 12px 34px;
  border: none;
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 1.07rem;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 3px 9px 0 rgba(38,50,56,0.15);
  transition: background 0.18s, transform 0.12s cubic-bezier(.62,.07,.87,1.12);
  letter-spacing: 0.5px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F2E8D5;
  color: #CF2626;
  transform: scale(1.065) rotate(-1.5deg);
  box-shadow: 0 8px 28px 0 rgba(207,38,38,0.17);
}

/* ======================== */
/*   Navigation + Desktop  */
/* ======================== */
header {
  width: 100%;
  background: #FFF;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(38,50,56,0.07);
  padding-top: 3px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem;
  background: none;
}
.main-nav a {
  padding: 7px 14px;
  border-radius: 20px;
  transition: background 0.13s;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  background: #F2E8D5;
  color: #CF2626;
}
.main-nav .cta-btn {
  margin-left: 10px;
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  position: absolute;
  right: 18px;
  top: 19px;
  font-size: 2rem;
  color: #CF2626;
  background: #FFF2E0;
  border-radius: 8px;
  border: none;
  width: 44px;
  height: 44px;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(207,38,38,0.09);
  display: none;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F2E8D5;
}

/* ========================= */
/*       Mobile Menu         */
/* ========================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF2E0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.81,-0.06,.38,1.29);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #CF2626;
  background: #FFF;
  border-radius: 8px;
  border: none;
  width: 44px;
  height: 44px;
  margin: 16px 16px 0 16px;
  align-self: flex-end;
  box-shadow: 0 1px 4px rgba(207,38,38,0.10);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F2E8D5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 0 30px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  color: #263238;
  background: none;
  font-size: 1.35rem;
  padding: 12px 0;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #CF2626;
  text-decoration: underline wavy #CF2626 2px;
}

/* Hide navigation on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* ============================================== */
/*          Flexbox For Layout Components         */
/* ============================================== */
.feature-grid, .article-cards-grid, .team-member-profiles, .traditions-grid, .articles-table, .upcoming-events-table, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 10px 0;
}
.feature-grid > div,
.article-cards-grid > div,
.team-member-profiles > div,
.traditions-grid > div,
.articles-table > div,
.upcoming-events-table > div,
.faq-list > div {
  flex: 1 1 270px;
  background: #FFF;
  border-radius: 16px;
  padding: 20px 18px;
  min-width: 220px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px 0 rgba(38,50,56,0.08);
  transition: box-shadow 0.15s, transform 0.11s;
}
.feature-grid > div:hover,
.article-cards-grid > div:hover,
.traditions-grid > div:hover,
.articles-table > div:hover,
.upcoming-events-table > div:hover,
.team-member-profiles > div:hover {
  box-shadow: 0 5px 24px 0 rgba(207,38,38,0.12);
  transform: translateY(-6px) scale(1.03) rotate(-0.5deg);
}

/* Special highlight and info */
.quick-facts, .culture-highlight, .featured-event-highlight, .authenticity-highlight, .next-steps-info {
  background: #F2E8D5;
  border-radius: 13px;
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(207,38,38,0.07);
}
.next-steps-info ul {
  list-style: disc;
}

/* Category & Filter bars */
.category-filters, .events-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 20px 0 20px 0;
  font-size: 1.05rem;
}
.category-filters a, .events-filters a {
  background: #F2E8D5;
  border-radius: 8px;
  color: #CF2626;
  padding: 6px 16px;
  transition: background 0.16s, color 0.15s;
}
.category-filters a:hover, .events-filters a:hover {
  background: #CF2626;
  color: #FFF;
}

/* =================== */
/*   Forms/Inputs      */
/* =================== */
.search-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.search-bar label {
  color: #CF2626;
  font-weight: bold;
  font-size: 0.98rem;
}
.search-bar input[type="text"] {
  border: 2px solid #CF2626;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  transition: border 0.13s;
}
.search-bar input[type="text"]:focus {
  border: 2px solid #263238;
  outline: none;
}

/* ==================== */
/*      Footer          */
/* ==================== */
footer {
  background: #263238;
  color: #FFF;
  padding: 34px 0 18px 0;
  font-size: 1rem;
  margin-top: 90px;
  box-shadow: 0 -4px 24px 0 rgba(38,50,56,0.07);
}
footer img,
.footer-contact img {
  margin-right: 7px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #FFF;
  opacity: 0.89;
  font-size: 0.97rem;
  padding-bottom: 2px;
  transition: opacity 0.13s, color 0.14s;
}
.footer-menu a:hover {
  color: #CF2626;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin: 16px 0;
}
.footer-social a {
  display: flex;
  align-items: center;
}
.footer-social img {
  width: 32px;
  height: 32px;
  transition: filter 0.13s;
  filter: grayscale(100%) brightness(1.12);
}
.footer-social a:hover img {
  filter: none;
}
.newsletter-signup p {
  color: #FFF2E0;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.newsletter-signup .cta-btn {
  background: #FFF2E0;
  color: #CF2626;
  box-shadow: none;
  font-size: 1.02rem;
}
.newsletter-signup .cta-btn:hover {
  color: #263238;
}

/* ==================== */
/*    Cookie Banner     */
/* ==================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4500;
  background: #FFF2E0;
  border-top: 3px solid #CF2626;
  box-shadow: 0 -2px 14px 0 rgba(38,50,56,0.10);
  padding: 18px 15px 18px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  font-size: 1.04rem;
  animation: appearBanner 0.5s cubic-bezier(.57,.29,.63,1.13);
}
@keyframes appearBanner {
  0% { transform: translateY(110px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: #CF2626;
  color: #FFF;
  font-weight: bold;
  font-family: 'Merriweather', serif;
  border: none;
  border-radius: 20px;
  padding: 9px 26px;
  font-size: 1rem;
  margin-top: 2px;
  transition: background 0.17s, color 0.13s, box-shadow 0.12s;
  cursor: pointer;
}
.cookie-banner .cookie-btn:hover {
  background: #263238;
}
.cookie-banner .cookie-btn.secondary {
  background: #F2E8D5;
  color: #CF2626;
  border: 1px solid #CF2626;
}
.cookie-banner .cookie-btn.secondary:hover {
  background: #CF2626;
  color: #FFF;
}

/* Cookie Preferences Modal (generic example class) */
.cookie-modal {
  position: fixed;
  z-index: 4550;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38,50,56, 0.14);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeAppear 0.35s;
}
@keyframes fadeAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF;
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: 0 8px 48px 0 rgba(207,38,38,0.17);
  max-width: 95vw;
  width: 410px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn 0.41s cubic-bezier(.6,1.4,.45,1.06);
}
@keyframes modalPopIn {
  0% { transform: scale(0.93) translateY(54px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #263238;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #CF2626;
}
.cookie-modal .cookie-btn {
  margin-top: 6px;
}

/* ============================== */
/*   Typography, Decorative, UI   */
/* ============================== */
.section {
  background: none;
}
::-webkit-input-placeholder { color: #BDBDBD; }
::-moz-placeholder { color: #BDBDBD; }
:-ms-input-placeholder { color: #BDBDBD; }
::placeholder { color: #BDBDBD; }
strong {
  color: #CF2626;
  font-weight: 700;
}

/* Decorative playful dots */
.card:after, .testimonial-card:after, .feature-item:after {
  content: '';
  display: block;
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 22px;
  height: 22px;
  background: #FCE58C;
  border-radius: 50%;
  opacity: 0.24;
  z-index: 0;
  pointer-events: none;
}
.card:after { right: 16px; bottom: 13px; width: 18px; height: 18px; }
.testimonial-card:after { display: none; }

/* Fun heading effects */
h1, h2, h3 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  background: #FCE58C;
  height: 7px;
  width: 42px;
  border-radius: 11px;
  position: absolute;
  left: -8px;
  bottom: -7px;
  z-index: -1;
  animation: fadeBar 2.4s infinite alternate cubic-bezier(.42,0,.88,1);
  opacity: 0.3;
}
@keyframes fadeBar {
  0% { opacity: 0.15; left: -8px; }
  100% { opacity: 0.34; left: 22px; }
}


/* ================================ */
/*        Responsive Design         */
/* ================================ */
@media (max-width: 1320px) {
  .container { max-width: 99vw; }
}
@media (max-width: 1150px) {
  .container { max-width: 92vw; }
}
@media (max-width: 900px) {
  .container { max-width: 97vw; }
  .content-wrapper { gap: 18px; }
  .testimonial-card, .card, .feature-item { padding: 17px 10px; }
  .feature-grid > div,
  .team-member-profiles > div,
  .article-cards-grid > div,
  .traditions-grid > div,
  .articles-table > div,
  .upcoming-events-table > div { min-width: 160px; padding: 14px 9px; }
}
@media (max-width: 768px) {
  .container { padding: 0 6px; }
  .content-wrapper { gap: 12px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .footer-menu { flex-wrap: wrap; gap: 7px; }
  .footer-contact, .newsletter-signup { font-size: 0.97rem; }
  .newsletter-signup .cta-btn { font-size: 0.98rem; }
  .section { padding: 28px 4px; margin-bottom: 28px; }
  .text-section { align-items: flex-start; text-align: left; }
  .testimonial-card { max-width: 100%; margin-bottom: 16px; }
  .feature-grid, .article-cards-grid, .traditions-grid, .team-member-profiles, .articles-table, .upcoming-events-table, .faq-list {
    gap: 8px;
    flex-direction: column;
  }
  .feature-grid > div,
  .team-member-profiles > div,
  .article-cards-grid > div,
  .traditions-grid > div,
  .articles-table > div,
  .upcoming-events-table > div {
    min-width: 0;
    flex-basis: unset;
  }
  .testimonial-card, .card, .feature-item, .quick-facts, .culture-highlight, .featured-event-highlight, .authenticity-highlight, .next-steps-info {
    padding: 12px 6px;
  }
  .text-image-section { flex-direction: column; gap: 14px; align-items: flex-start; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
}

/* ======================== */
/*     Misc Spacing/Align   */
/* ======================== */
.team-member-profiles {
  gap: 22px;
}
.genres-list, .iconic-figures, .timeline {
  margin-bottom: 16px;
}
.benefits-list {
  margin-bottom: 15px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.07rem;
}
.map-embed {
  margin: 16px 0;
  font-size: 1.01rem;
  color: #263238;
}
.faq-list strong {
  color: #263238;
}

/* =========================== */
/*     Animation details       */
/* =========================== */
.card,
.testimonial-card,
.feature-item,
.quick-facts,
.culture-highlight,
.featured-event-highlight,
.authenticity-highlight,
.next-steps-info {
  animation: fadeInUp 0.55s ease;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(48px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================== */
/*   PRINT STYLES (optional)   */
/* =========================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  main, section, .container {
    background: #FFF !important;
    color: #222 !important;
  }
}

/* =========================== */
/*   END OF STYLE.CSS          */
/* =========================== */
