/* =====================
   CSS RESET & BASE STYLES
   ===================== */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7FFF7;
  color: #225378;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}
ul, ol {
  list-style: none;
}
a {
  color: #225378;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #EB7F00;
}
hr {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 24px 0;
}

/* =====================
   VARIABLES & THEMING
   ===================== */
:root {
  --color-primary: #225378;
  --color-secondary: #EB7F00;
  --color-accent: #F7FFF7;
  --color-card-bg: #fff9f3;
  --color-button-fg: #fff;
  --color-button-hover: #ffa733;
  --color-shadow: rgba(44, 62, 80, 0.08);
  --color-shadow-deep: rgba(44, 62, 80, 0.15);
  --radius-s: 12px;
  --radius-m: 22px;
  --radius-l: 32px;
  --gap-xs: 8px;
  --gap-s: 16px;
  --gap-m: 24px;
  --gap-l: 32px;
  --gap-xl: 40px;
  --font-display: 'Nunito', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* =====================
   BASE TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  color: #225378;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: var(--gap-m);
}
h2 {
  font-size: 2rem;
  margin-bottom: var(--gap-m);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: var(--gap-xs);
}
h4 {
  font-size: 1.1rem;
  margin-bottom: var(--gap-xs);
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--gap-xs);
}
strong, b {
  color: #EB7F00;
  font-weight: bold;
}
.subheadline {
  font-size: 1.3rem;
  color: #225378;
  margin-bottom: var(--gap-m);
  font-family: var(--font-display);
  font-weight: 500;
}

/* =====================
   LAYOUT: CONTAINER
   ===================== */
.container {
  width: 100%;
  padding-left: var(--gap-m);
  padding-right: var(--gap-m);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-m);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-l);
}

/* =====================
   NAVIGATION STYLES
   ===================== */
header {
  background: #fff9f3;
  box-shadow: 0 1px 8px var(--color-shadow);
  border-radius: 0 0 var(--radius-l) var(--radius-l);
  margin-bottom: var(--gap-xl);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--gap-m);
  padding-bottom: var(--gap-m);
  gap: var(--gap-m);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s);
  align-items: center;
}
.main-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-s);
  font-family: var(--font-display);
  font-weight: 600;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EB7F0011;
  color: #EB7F00;
}
.btn-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-button-fg);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-m);
  padding: 11px 30px;
  font-size: 1.07rem;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  letter-spacing: 0.02em;
  margin-left: var(--gap-s);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-button-hover);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 20px var(--color-shadow-deep);
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: var(--radius-m);
  padding: 8px 16px;
  transition: background 0.2s;
  z-index: 1011;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EB7F0022;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff9f3ee;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.5,.1,.23,1);
  box-shadow: -1px 0 18px var(--color-shadow-deep);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-l);
  padding: var(--gap-l);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-m);
  margin-bottom: var(--gap-s);
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #EB7F0022;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--gap-m);
  width: 100%;
  margin-top: var(--gap-s);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 14px 4px 14px 0px;
  border-radius: var(--radius-s);
  font-weight: 650;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EB7F00;
  color: #fff;
}

/* =====================
   HERO & HEADLINE SECTIONS
   ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-l);
}

@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 32px 10px;
    border-radius: var(--radius-m);
  }
}

/* =====================
   FLEX LAYOUTS & CARDS
   ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-l);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: relative;
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-s);
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 22px var(--color-shadow-deep);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid,
.feature-grid,
.service-cards,
.indoor-list,
.downloads,
.activity-list,
.value-list,
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  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: var(--gap-s);
  padding: 20px;
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: 0 2px 12px var(--color-shadow);
  min-width: 256px;
  max-width: 370px;
  flex: 1 0 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 24px var(--color-shadow-deep);
  transform: scale(1.015);
}
.testimonial-card p {
  color: #225378;
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #EB7F00;
  font-size: 0.93rem;
  font-style: italic;
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--gap-xs);
  align-items: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* For rows with cards/services */
.service-cards > div, .feature-grid > div, .indoor-list > div, .activity-list > div, .downloads > div {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 26px 20px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 355px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.13s;
  margin-bottom: 20px;
}
.service-cards > div:hover,
.feature-grid > div:hover,
.indoor-list > div:hover,
.activity-list > div:hover, 
.downloads > div:hover {
  box-shadow: 0 8px 26px var(--color-shadow-deep);
  transform: scale(1.025);
}
.value-list ul {
  margin-bottom: 0;
}
.value-list li {
  margin-bottom: 12px;
  font-size: 1.08rem;
  padding-left: 4px;
  color: #225378;
}
.value-list .brand-philosophy {
  margin-top: 16px;
  padding: 18px 14px;
  border-radius: var(--radius-m);
  background: #fef4e7;
  box-shadow: 0 1px 6px var(--color-shadow);
}

/* =====================
   SECTION SPACING & FLEX RESPONSIVENESS
   ===================== */
@media (max-width: 1024px) {
  .content-grid, .feature-grid, .service-cards, .indoor-list, .activity-list, .downloads, .testimonials {
    flex-direction: column;
    gap: var(--gap-m);
  }
  .service-cards > div, .feature-grid > div, .indoor-list > div, .activity-list > div, .downloads > div {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: var(--gap-m);
  }
}

/* =====================
   FORMS & TEXT SECTIONS
   ===================== */
input, textarea, select {
  font-family: var(--font-body);
  border-radius: var(--radius-s);
  border: 1.5px solid #EFD58D;
  background: #fff;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: var(--gap-s);
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #EB7F00;
}
.text-section {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 34px 24px;
  margin-bottom: 24px;
}

/* =====================
   TESTIMONIALS/STARS
   ===================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-m);
  justify-content: flex-start;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #fff9f3;
  padding: 38px 0 16px;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  box-shadow: 0 -1px 10px var(--color-shadow);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-m);
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-m);
  margin-bottom: var(--gap-m);
}
.footer-menu a {
  font-size: 1rem;
  color: #225378;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  transition: background 0.18s, color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #EB7F0011;
  color: #EB7F00;
}
.footer-contact {
  font-size: 0.97rem;
  color: #225378BB;
  line-height: 1.6;
  margin-bottom: var(--gap-m);
  display: flex; flex-direction: column; gap: 6px;
}
.footer-social {
  display: flex;
  gap: var(--gap-s);
  align-items: center;
}
.footer-social a {
  background: #fff;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 1.5px 7px var(--color-shadow);
  transition: background 0.15s, box-shadow 0.18s;
}
.footer-social a:hover {
  background: #EFD58Dff;
  box-shadow: 0 3px 16px var(--color-shadow-deep);
}
.footer-social img {
  width: 22px; height: 22px;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: var(--gap-s);
    align-items: flex-start;
  }
  .footer-menu {
    gap: var(--gap-s);
    margin-bottom: 12px;
  }
}

/* =====================
   MISCELLANEOUS ELEMENTS
   ===================== */
.age-filters, .expert-advice, .newsletter {
  background: #fff4e3;
  border-radius: var(--radius-m);
  padding: 18px 14px;
  box-shadow: 0 1px 6px var(--color-shadow);
  margin-bottom: var(--gap-m);
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-l);
  background: #fff4e3;
  border-radius: var(--radius-l);
  padding: 20px 12px;
  margin-bottom: 26px;
  align-items: flex-start;
}
.contact-info > div {
  flex: 1 1 250px;
}

/* =====================
   RESPONSIVE NAV/MENU BEHAVIOR
   ===================== */
@media (max-width: 980px) {
  header .container {
    flex-wrap: wrap;
    gap: var(--gap-s);
  }
  .main-nav {
    flex-wrap: wrap;
    gap: var(--gap-xs);
  }
}
@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff9f3;
  box-shadow: 0 -3px 24px var(--color-shadow-deep);
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 16px 18px 16px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-text {
  color: #225378;
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-m);
  padding: 10px 24px;
  border: none;
  box-shadow: 0 1.5px 8px var(--color-shadow);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.14s, color 0.14s;
  margin-right: 0;
  margin-bottom: 0 !important;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #ffa733;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid #EB7F00;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #ffe1bf;
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: #fff;
  color: #225378;
  border: 1.5px solid #EFD58D;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fffbe8;
  color: #EB7F00;
}

/* Cookie modal styles */
.cookie-modal {
  position: fixed;
  z-index: 1300;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,83,120, 0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.27s;
}
.cookie-modal.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
.cookie-modal-content {
  background: #fff9f3;
  border-radius: var(--radius-l);
  box-shadow: 0 7px 38px var(--color-shadow-deep);
  min-width: 330px;
  max-width: 98vw;
  padding: 30px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    min-width: 0;
    padding: 16px 6vw;
  }
}
.cookie-modal-title {
  color: #EB7F00;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 7px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 600;
  color: #225378;
  cursor: pointer;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #EB7F00;
  width: 20px; height: 20px;
  margin-right: 6px;
}
.cookie-category .always-enabled {
  color: #82999b;
  font-size: 0.93em;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}

/* =============
   UTILITIES
   ============= */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.ml-auto { margin-left: auto!important; }
.text-center { text-align: center!important; }
.d-flex { display: flex!important; }
.gap-s { gap: var(--gap-s)!important; }
.gap-m { gap: var(--gap-m)!important; }

/* =====================
   SMOOTH TRANSITIONS/INTERACTIONS
   ===================== */
.btn-primary, .cookie-btn, .mobile-menu-toggle, a, .main-nav a {
  transition: background 0.2s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.card, .service-cards > div, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s;
}

/* =============================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ============================= */
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 500px) {
  .header .container, .footer .container {
    padding-left: 4px; padding-right: 4px;
    gap: 10px;
  }
  .btn-primary, .cookie-btn {
    font-size: 1rem;
    padding: 10px 13px;
  }
}

/* ==========
   HIDE ON MOBILE/SHOW ON MOBILE
   ========== */
@media (max-width: 880px) {
  .main-nav, .footer-social { display: none !important; }
}
@media (min-width: 881px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =====================
   ACCESSIBILITY FOCUS STYLES
   ===================== */
a:focus, button:focus, input:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px dotted #EB7F00;
  outline-offset: 2px;
}

/* ========================
   PRINT TWEAKS (optional)
   ======================== */
@media print {
  nav, .mobile-menu, .cookie-banner, .cookie-modal, .btn-primary, .footer-social { display: none !important; }
  a[href]:after { content: ' (' attr(href) ')'; }
}

/* =====================
   END OF STYLES
   ===================== */
