/* --- 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;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #ECE9E6;
  color: #22313F;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a {
  color: #7A614A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #22313F;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
}

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #22313F;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  line-height: 1.12;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.15rem;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}

/* --- PLAYFUL DYNAMIC COLOR SCHEME --- */
:root {
  --primary: #22313F;
  --secondary: #FFFFFF;
  --bg: #ECE9E6;
  --accent: #7A614A;
  --accent-light: #f9e3b4;
  --fun1: #f9c846; /* bright playful yellow */
  --fun2: #5eeaf5; /* dynamic aqua */
  --fun3: #fc981e; /* playful orange */
  --fun4: #fe6584; /* energetic coral-pink */
}

/* --- LAYOUT CONTAINERS & FLEXBOX RULES --- */
.container {
  width: 95%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 10px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(34,49,63,0.07);
  position: relative;
  transition: box-shadow 0.2s;
}
.section:hover {
  box-shadow: 0 10px 32px 0 rgba(34,49,63,0.12);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent-light);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,49,63,0.11);
  margin-bottom: 20px;
  position: relative;
  padding: 16px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(34,49,63,0.14);
  transform: translateY(-3px) scale(1.025) rotate(-1deg);
}

.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;
  margin-bottom: 20px;
  background: #fffbea;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(34,49,63,0.07);
  font-size: 1.1rem;
  color: #1e2b35;
  min-width: 220px;
  position: relative;
  flex-direction: column;
}
.testimonial-card p {
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 10px;
  color: #22313F;
}
.testimonial-author {
  font-family: 'Oswald', Arial, sans-serif;
  color: #fe6584;
  font-size: 1rem;
}

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

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 2px 10px 0 rgba(34,49,63,0.13);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 70px;
  padding: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  padding: 8px 8px 6px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
}
header nav a:hover, header nav a.active {
  background: var(--fun4);
  color: #fff;
}
header img {
  height: 38px;
  width: auto;
}
.cta-btn {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  background: var(--fun3);
  color: #fff;
  border-radius: 8px;
  font-size: 1.17rem;
  padding: 12px 26px;
  letter-spacing: 1px;
  box-shadow: 0 2px 7px 0 rgba(122,97,74,.13);
  margin-left: 10px;
  transition: background 0.21s, transform 0.17s, color 0.14s;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--fun4);
  transform: scale(1.07) rotate(-1deg);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
}

/* --- MAIN RESPONSIVE SPACING --- */
main, .main {
  width: 100%;
  min-height: 67vh;
  display: flex;
  flex-direction: column;
  gap: 0px;
  z-index: 1;
}

/* --- BUTTON STYLES (SECONDARY/ACTION) --- */
button, .button, input[type="submit"] {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--fun1);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  margin: 8px 0;
  cursor: pointer;
  transition: background 0.21s, transform 0.16s, color 0.11s;
}
button:hover, .button:hover, input[type="submit"]:hover, button:focus {
  background: var(--fun2);
  color: var(--primary);
  transform: scale(1.05);
}

/* --- INTERACTIVE CARD/LIST HOVER --- */
ul li, ol li, .feature-item {
  transition: background 0.16s, color 0.14s;
}
ul li:hover, ol li:hover, .feature-item:hover {
  background: var(--fun1);
  color: var(--primary);
  border-radius: 8px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0 0 22px 0;
  min-height: 120px;
  width: 100%;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  padding: 30px 10px 14px 10px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
footer nav a {
  color: #f9c846;
  font-size: 1.05rem;
  font-family: 'Oswald', Arial, sans-serif;
  opacity: .9;
}
.footer-contact address,
.footer-contact span {
  display: block;
  font-style: normal;
  font-size: .98rem;
  margin: 2px 0;
}
.footer-contact a {
  color: #fff;
  opacity: 0.91;
}
footer img {
  height: 39px;
  margin-bottom: 5px;
}

/* --- MAP EMBED --- */
.map-embed {
  background: #e3f7f8;
  border-radius: 14px;
  padding: 18px 24px;
  margin-top: 12px;
  color: #22313F;
  font-size: 1rem;
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 1px 10px 0 rgba(20,180,220,0.14);
}

/* --- FORMS --- */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 450px;
  margin: 30px auto;
}
input[type="text"], input[type="email"], textarea {
  background: #fff;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  transition: border 0.16s;
  margin-bottom: 10px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 2px solid var(--fun2);
}
.label {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

/* --- SPACING AND FLEX ALIGNMENT PATTERNS --- */
/* SEE MANDATORY CLASSES DEFINED ABOVE */

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 23px;
  top: 16px;
  font-size: 2.05rem;
  background: transparent;
  color: #f9c846;
  z-index: 66;
  border: none;
  padding: 5px 12px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--fun4);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #22313Fee;
  z-index: 200;
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(.62,.11,.43,1.01);
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.33s cubic-bezier(.62,.11,.43,1.01), opacity 0.14s;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  padding: 11px 24px 16px 11px;
  margin: 8px 16px 0 0;
  background: transparent;
  color: #f9c846;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.17s, color 0.08s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fun4);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 38px 0 0 38px;
}
.mobile-nav a {
  color: #fffbea;
  font-size: 1.35rem;
  font-family: 'Oswald', sans-serif;
  padding: 12px 10px 9px 7px;
  border-radius: 9px;
  min-width: 180px;
  transition: background 0.15s, color 0.14s, box-shadow .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fun1);
  color: var(--primary);
  box-shadow: 0 2px 7px 0 rgba(252,152,30,0.12);
}
@media (max-width: 1020px) {
  header .container {
    flex-direction: row;
    gap: 6px;
  }
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 11px;
  }
}
@media (max-width: 840px) {
  header .container nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 720px) {
  .container {
    padding: 0 8px;
    width: 98%;
  }
  .section {
    padding: 30px 8px;
  }
}
@media (max-width: 680px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.45rem;
    margin-bottom: 13px;
  }
  .section {
    padding: 18px 4px;
    margin-bottom: 34px;
    border-radius: 12px;
  }
  .testimonial-card {
    font-size: 1.01rem;
    padding: 13px;
    border-radius: 10px;
  }
  .card {
    min-width: 150px;
    padding: 9px 11px;
    border-radius: 11px;
  }
}
@media (max-width: 520px) {
  header img,
  footer img {
    height: 29px;
    min-width: 27px;
  }
  .mobile-nav a {
    min-width: 130px;
    padding: 10px 5px 9px 4px;
    font-size: 1.09rem;
  }
  .testimonial-author {
    font-size: .93rem;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .text-image-section, footer .container {
    flex-direction: column !important;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }
  .feature-item {
    gap: 10px;
  }
}
/* --- PLAYFUL & DYNAMIC ANIMATIONS --- */
.card, .section, .testimonial-card {
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover, .section:hover {
  box-shadow: 0 8px 28px 0 rgba(254,101,132,0.11), 0 2px 7px 0 rgba(34,49,63,0.08);
  transform: rotate(-2deg) scale(1.03);
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px 0 rgba(252,152,30,0.13), 0 1px 6px 0 rgba(34,49,63,0.06);
  transform: scale(1.02) rotate(1.5deg);
}
.cta-btn, button, .button, input[type="submit"] {
  transition: background 0.12s, box-shadow 0.22s, color .11s, transform 0.16s;
}
.cta-btn:active, button:active {
  transform: scale(0.95);
  box-shadow: 0 1px 1px rgba(102,60,9,0.11);
}

/* --- PLAYFUL ELEMENT DECORATIONS --- */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -30px;
  top: -18px;
  width: 48px;
  height: 48px;
  z-index: 0;
  background: var(--fun1);
  border-radius: 50%;
  opacity: 0.24;
  pointer-events: none;
  animation: floaty 5s infinite alternate ease-in-out;
}
@keyframes floaty {
  0% { transform: translateY(0px) scale(1);} 
  100% { transform: translateY(-12px) scale(1.12); }
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: -25px;
  bottom: -14px;
  width: 32px;
  height: 32px;
  background: var(--fun4);
  border-radius: 50%;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
  animation: floaty2 7s infinite alternate;
}
@keyframes floaty2 {
  0% { transform: translateY(0px) scale(1);} 
  100% { transform: translateY(8px) scale(1.08); }
}

/* --- COOKIE CONSENT BANNER STYLES --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbea;
  color: #22313F;
  box-shadow: 0 -2px 16px 0 rgba(34,49,63,0.17);
  z-index: 5000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 22px 30px 22px 24px;
  font-size: 1.07rem;
  border-radius: 18px 18px 0 0;
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(.59,0,.71,1), opacity 0.23s;
}
.cookie-banner.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner button {
  margin-left: 12px;
  border-radius: 7px;
  font-size: 1rem;
  background: var(--fun1);
  color: #22313F;
  border: none;
  padding: 9px 24px;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(122,97,74,.11);
  transition: background 0.13s, color 0.14s;
}
.cookie-banner button.accept-btn {
  background: var(--fun4);
  color: #fff;
}
.cookie-banner button.reject-btn {
  background: var(--fun2);
  color: #22313F;
}
.cookie-banner button.settings-btn {
  background: #f9c846;
  color: #22313F;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  opacity: 0.89;
  transform: scale(1.04);
}
.cookie-banner p {
  flex: 1;
  margin-right: 16px;
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 11px 12px 14px;
    gap: 12px;
    font-size: .95rem;
  }
  .cookie-banner button {
    margin-left: 0;
    margin-right: 8px;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,63,0.35);
  z-index: 8200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s cubic-bezier(.46,0,.44,1.21);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fffbe9;
  color: #22313F;
  border-radius: 20px;
  padding: 32px 28px 18px 28px;
  width: 93vw;
  max-width: 390px;
  position: relative;
  box-shadow: 0 8px 36px 0 rgba(34,49,63,0.28), 0 2px 8px rgba(250,190,60,0.10);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPop .72s cubic-bezier(.79,-0.01,.34,1.13);
}
@keyframes modalPop {
  0% { transform: scale(0.84) translateY(28px); opacity:0; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal-dialog h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal-dialog .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #f9f4e5;
  border-radius: 11px;
  padding: 10px 13px 8px 13px;
  margin: 6px 0;
  font-size: 1.02rem;
  color: #423822;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #f9c846;
}
.cookie-category.essential {
  opacity: 0.75;
  font-style: italic;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 12px;
  background: transparent;
  color: #fe6584;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}
.cookie-modal-actions {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal-actions button {
  border-radius: 7px;
  font-size: 1rem;
  padding: 9px 18px;
}

/* --- Misc. --- */
::-webkit-input-placeholder { color: #A7A7AA; }
::-moz-placeholder { color: #A7A7AA; }
:-ms-input-placeholder { color: #A7A7AA; }
::placeholder { color: #A7A7AA; }

/* --- ELEVATED PLAYFUL STYLES FOR FUN VIBE --- */
p, li, a, .footer-contact, .card, .testimonial-card, .cookie-banner, .cookie-modal-dialog {
  font-family: 'Roboto', Arial, sans-serif !important;
}
h1, h2, h3, .cta-btn, nav a, .mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif !important;
}

/* Fun font alternates for dynamic vibe - fallback to Oswald/Roboto if not found */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

/* --- End --- */
