/* CSS 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;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F6F5F0;
  color: #344F2D;
  font-family: 'Lato', Arial, sans-serif;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* BRAND COLORS */
:root {
  --color-primary: #344F2D;
  --color-secondary: #9EC799;
  --color-accent: #F6F5F0;
  --color-fun1: #FFE27A;
  --color-fun2: #FF9797;
  --color-fun3: #87D9FB;
  --color-fun4: #FFDAAD;
  --color-fun5: #FFD9C0;
  --color-dark: #22301C;
  --color-white: #FFF;
}

/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Quicksand:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

body {
  font-family: 'Lato', Arial, sans-serif;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', Arial, sans-serif;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 15px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-fun2);
  text-shadow: 1px 3px 10px #fff5f7, 0 2px 8px var(--color-fun1);
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1.25;
}
h3 {
  font-size: 1.3rem;
  color: var(--color-fun3);
}
p,li,small {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}
blockquote {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--color-fun4);
  font-style: italic;
  padding-left: 14px;
  border-left: 5px solid var(--color-fun1);
}
small {
  color: var(--color-primary);
  font-size: 0.93em;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--color-fun2);
  color: var(--color-primary);
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  border: none;
  border-radius: 30px;
  padding: 12px 34px;
  margin: 16px 0 0 0;
  cursor: pointer;
  box-shadow: 0 3px 16px 0 rgba(255,151,151,0.12), 0 4px 20px 0 rgba(157, 199, 153, 0.11);
  transition: background 0.22s, color 0.22s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-fun1);
  color: var(--color-dark);
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
}

.btn-secondary {
  display: inline-block;
  background: var(--color-fun3);
  color: var(--color-dark);
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 30px;
  padding: 11px 30px;
  margin: 14px 0 0 0;
  box-shadow: 0 2px 12px 0 rgba(135, 217, 251, 0.13);
  cursor: pointer;
  transition: background 0.23s, color 0.19s, transform 0.16s;
  position: relative;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-fun5);
  color: var(--color-primary);
  transform: translateY(-1.5px) scale(1.06) rotate(2deg);
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 30px 10px 35px 15px;
  box-shadow: 0 2px 18px 0 rgba(52,79,45,0.07);
  position: relative;
  transition: box-shadow 0.19s;
}
.section:nth-child(odd) {
  background: #fffbe7;
}
.section:nth-child(even) {
  background: var(--color-accent);
}

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

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  border-radius: 22px;
  background: #fff;
  position: relative;
  box-shadow: 0 3px 14px 0 rgba(52,79,45,0.08);
  padding: 26px 24px 22px 24px;
}

.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;
  color: var(--color-primary);
  border-radius: 28px 10px 24px 12px;
  box-shadow: 0 3px 16px 0 rgba(132,173,99,0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  min-height: 110px;
  font-size: 1.03rem;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  border-color: var(--color-secondary);
  background: var(--color-fun1);
  padding: 6px 18px 6px 18px;
  border-radius: 26px;
}
.testimonial-card p {
  margin: 0;
  font-size: 1em;
  color: var(--color-primary);
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-card {
  margin-bottom: 20px;
  padding: 22px 22px 18px 22px;
  border-radius: 23px 8px 22px 8px;
  background: var(--color-fun3);
  box-shadow: 0 2px 16px 0 rgba(135,217,251,0.09);
  color: var(--color-primary);
  transition: background 0.22s, transform 0.22s;
  position: relative;
}
.event-card:hover {
  background: var(--color-fun1);
  transform: scale(1.02) rotate(-1deg);
  z-index: 1;
}
.event-card h2 {
  color: var(--color-fun2);
  margin-bottom: 0.4em;
}
.event-card a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: bold;
  font-family: 'Quicksand', Arial, sans-serif;
  transition: color 0.18s;
}
.event-card a:hover {
  color: var(--color-primary);
}

/* SPECIAL ELEMENTS */
.table {
  width: 100%;
  border-spacing: 0;
  margin: 10px 0 18px 0;
}
table th, table td {
  padding: 13px 8px;
  text-align: left;
  border-bottom: 1px solid var(--color-secondary);
  color: var(--color-primary);
}
table th {
  background: var(--color-secondary);
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 700;
}
table tr:nth-child(odd) td {
  background: #e9f7e3;
}
table tr:nth-child(even) td {
  background: #fff;
}
table {
  border-radius: 16px;
  overflow: hidden;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 25px 0 16px 0;
}
.main-nav a {
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: var(--color-primary);
  border-radius: 22px;
  padding: 7px 15px;
  transition: background 0.17s, color 0.16s;
  margin-right: 2px;
}
.main-nav a:hover:not(.btn-primary) {
  background: var(--color-fun1);
  color: var(--color-fun2);
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 22px;
}

header {
  background: var(--color-accent);
  border-bottom: 3px solid var(--color-secondary);
  position: relative;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-fun1);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 18px;
  margin-top: 10px;
  z-index: 99;
  box-shadow: 0 2px 12px 0 rgba(52,79,45,0.16);
  transition: background 0.22s, transform 0.17s;
  position: absolute;
  top: 16px;
  right: 10px;
  display: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-fun2);
  color: var(--color-primary);
  transform: scale(1.12) rotate(7deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.97);
  box-shadow: -2px 0 22px 0 rgba(52,79,45,0.11);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.5,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.36s cubic-bezier(0.49,0.01,0.28,1);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: var(--color-fun2);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin: 17px 16px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, transform 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-primary);
  color: var(--color-fun1);
  transform: scale(1.10) rotate(-12deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding: 48px 42px 0 42px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  padding: 11px 0;
  border-radius: 18px;
  transition: background 0.14s, color 0.13s;
  margin-left: 0;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-fun3);
  color: var(--color-fun2);
}

@media (max-width: 1100px) {
  .main-nav a {
    font-size: 1rem;
    padding: 7px 7px;
    margin-right: 0;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
    padding-bottom: 12px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    gap: 2px;
    padding-bottom: 6px;
  }
}
@media (max-width: 900px) {
  .container {max-width: 96vw;}
  .section {padding: 26px 5px;}
}

@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 540px) {
  .mobile-nav {
    padding: 30px 10px 0 10px;
    gap: 16px;
  }
  .mobile-menu-close {
    margin: 15px 10px 0 0;
  }
}

/* FOOTER */
footer {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 40px 0 16px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 64px;
  box-shadow: 0 -2px 20px 0 rgba(178,224,173,0.09);
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--color-primary);
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  transition: color 0.18s;
  border-radius: 14px;
  padding: 4px 12px;
}
.footer-links a:hover {
  background: var(--color-fun2);
  color: var(--color-white);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1.03rem;
}
.footer-contact img {
  height: 18px;
  width: auto;
  vertical-align: middle;
  margin-right: 2px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-bottom: 9px;
}
.footer-social img {
  height: 28px;
  width: 28px;
  filter: grayscale(0.6) contrast(1.2) brightness(1.1);
  transition: filter 0.22s, transform 0.21s;
  cursor: pointer;
}
.footer-social img:hover {
  filter: grayscale(0) drop-shadow(0 1px 8px var(--color-fun4));
  transform: scale(1.1) rotate(-4deg);
}
footer small {
  font-size: 0.95rem;
  color: var(--color-dark);
  opacity: 0.8;
  margin-top: 2px;
}

/* ICON LIST ITEMS */
li img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
}

ul li, ol li {
  margin-bottom: 10px;
}

/* LOCATION & MAP SECTION */
.location-map {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 14px 0 10px 0;
  font-size: 1.12rem;
  font-family: 'Quicksand', Arial, sans-serif;
  color: var(--color-primary);
}
.location-map img {
  height: 30px;
  width: 30px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .main-nav a, .footer-social img, .event-card, .card {
  will-change: transform, background;
}

@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 4vw;
  }
  .section {
    padding: 19px 2vw;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .card-container, .content-grid, .footer-links {
    gap: 15px;
  }

  .text-image-section {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 13px;
    border-radius: 15px;
    font-size: 0.98rem;
  }
  .event-card {
    padding: 13px 12px 10px 12px;
    border-radius: 11px 8px 9px 8px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .footer-links {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 6px;
  }
  footer {
    border-top-left-radius: 9px;
    border-top-right-radius: 24px;
    padding: 28px 0 11px 0;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.35rem;
    margin-bottom: 7px;
  }
  h3 {
    font-size: 1.05rem;
    margin-bottom: 3px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 2vw;
  }
  .location-map img {
    height: 22px; width: 22px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9001;
  background: #fffbe7;
  color: var(--color-primary);
  padding: 20px 32px 18px 32px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  box-shadow: 0 -2px 22px 0 rgba(52,79,45,0.10);
  border-top-left-radius: 25px;
  border-top-right-radius: 13px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.06rem;
  animation: fadeInUp 0.7s cubic-bezier(0.37,0,0.63,1);
}
@keyframes fadeInUp {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  text-align: center;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 0px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 10px 22px;
  border: none;
  border-radius: 16px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: bold;
  margin-right: 0;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.18s, color 0.17s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-fun3);
  color: var(--color-dark);
  transform: scale(1.08) rotate(-3deg);
}
.cookie-btn.settings {
  background: var(--color-fun1);
  color: var(--color-primary);
}
.cookie-btn.settings:hover {
  background: var(--color-fun2);
  color: var(--color-accent);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9100;
  top: 0; left:0; right:0; bottom:0;
  background: rgba(52, 79, 45, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.3s cubic-bezier(0.37,0,0.63,1);
}
@keyframes fadeInBg {
  0% { opacity: 0; }
  100% {opacity: 1;}
}
.cookie-modal {
  background: #fffbe7;
  color: var(--color-primary);
  font-family: 'Quicksand', Arial, sans-serif;
  border-radius: 33px 14px 25px 15px;
  box-shadow: 0 8px 44px 0 rgba(157,199,153,0.12);
  max-width: 420px;
  width: 97vw;
  padding: 38px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInModal 0.5s cubic-bezier(0.46,0,0.19,1);
}
@keyframes fadeInModal {
  0% { transform: scale(0.75) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 50%;
  padding: 3px;
  transition: background 0.14s, color 0.12s, transform 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--color-fun1);
  color: var(--color-fun2);
  transform: scale(1.10) rotate(-15deg);
}
.cookie-modal__title {
  font-size: 1.32rem;
  color: var(--color-fun2);
  font-family: 'Quicksand', Arial, sans-serif;
  margin-bottom: 7px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 9px;
  font-size: 1.07rem;
}
.cookie-modal__category label {
  font-weight: bold;
  font-family: 'Quicksand', Arial, sans-serif;
  color: var(--color-primary);
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: var(--color-secondary);
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: var(--color-fun2);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left 0.15s;
}
.cookie-toggle:checked:before {
  left: 19px;
  background: var(--color-fun1);
}
.cookie-modal__buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 25px 7px 4px 7px;
    border-radius: 19px 7px 13px 8px;
  }
}

/* UTILITY */
.flex {
  display: flex !important;
}
.flex-col {
  flex-direction: column !important;
}
.flex-row {
  flex-direction: row !important;
}
.flex-center {
  align-items: center !important;
}
.flex-wrap {
  flex-wrap: wrap !important;
}
.gap-20 {
  gap: 20px !important;
}
.gap-24 {
  gap: 24px !important;
}
.mt-20 {margin-top: 20px !important;}
.mb-20 {margin-bottom: 20px !important;}
.px-20 {padding-left:20px !important;padding-right:20px !important;}

/* FOCUS STATES ACCESSIBILITY */
.btn-primary:focus, .btn-secondary:focus, .main-nav a:focus, .footer-links a:focus, .mobile-nav a:focus {
  outline: 2px solid var(--color-fun3);
  outline-offset: 2px;
}

/* DECORATIVE ANIMATED ELEMENT (WAVES) */
.section::before {
  content: '';
  position: absolute;
  top: -18px;
  right: 24px;
  width: 65px;
  height: 22px;
  background: var(--color-fun1);
  border-radius: 60px 10px 45px 5px;
  opacity: 0.34;
  z-index: 0;
  transform: rotate(-5deg);
  animation: waveFloat 3.3s ease-in-out infinite alternate;
}
@keyframes waveFloat {
  0% { top: -13px; opacity: 0.34; }
  100% { top: -32px; opacity: 0.78; }
}
.section:nth-child(even)::before {
  background: var(--color-fun3);
  left: 20px; right: auto;
  top: -8px;
  width: 35px; height: 28px;
  border-radius: 20px 23px 45px 24px;
  opacity: .18;
  animation: waveFloat2 3.7s cubic-bezier(.59,0,.41,1) infinite alternate;
  transform: rotate(13deg);
}
@keyframes waveFloat2 {
  0% { top: -8px; opacity: 0.18; }
  100% { top: -28px; opacity: 0.46; }
}

/* -------- RECOMMENDED: ADD JS CODE TO TOGGLE .open ON .mobile-menu ----------- */
