/* ------------------------------
   CSS RESET & BASE STYLES
------------------------------ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFFDF7;
  color: #2A2A2A;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ------------------------------
   BRAND COLORS + FONTS VARS
------------------------------ */
:root {
  --color-primary: #274F44;
  --color-secondary: #B71B42;
  --color-accent: #FFDFA3;
  --color-bg: #FFFDF7;
  --color-dark: #22272B;
  --color-light: #FFFFFF;
  --color-card: #FFF9F2;
  --color-contrast: #23152E;
  --color-error: #B71B42;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* Artistic font fallback for headings */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');


/* ------------------------------
   CONTAINER & LAYOUT
------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}

.card-container, .service-card-list, .team-section, .class-list,
.recipe-list, .blog-post-list, .footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--color-card);
  border-radius: 22px;
  box-shadow: 0 6px 24px 0 rgba(39,79,68,0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  min-width: 270px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 12px 34px 0 rgba(39,79,68,0.18);
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--color-accent);
  color: #222;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(183,27,66, 0.12);
  margin-bottom: 24px;
  min-width: 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Section Headings creative style */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 2px 4px 0px rgba(255,223,163,0.25);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 1.14rem;
  color: var(--color-dark);
  font-family: var(--font-body);
  margin-bottom: 20px;
  font-style: italic;
  letter-spacing: 0.2px;
}

/* PAGE SECTIONS ---------------------- */
.hero {
  background: var(--color-accent);
  padding: 72px 0 54px 0;
  min-height: 300px;
  position: relative;
  border-bottom-left-radius: 54px 40px;
  border-bottom-right-radius: 54px 40px;
  box-shadow: 0 8px 40px 0 rgba(39,79,68,0.12);
  margin-bottom: 48px;
  z-index: 0;
}
.hero .content-wrapper {
  gap: 20px;
  align-items: flex-start;
  max-width: 680px;
}
.hero h1 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 2.8rem;
  text-shadow: 3px 8px 0 #fff6ec, 0px 2px 0 rgba(39,79,68,0.12);
}
.hero .cta-primary {
  margin-top: 16px;
}

.cta-signup {
  background: var(--color-secondary);
  color: var(--color-light);
  border-radius: 38px 38px 0 0;
  padding: 50px 0;
  text-align: center;
  margin-bottom: 0;
  box-shadow: 0 0 28px 0 rgba(183,27,66,0.16);
}
.cta-signup h2 { color: var(--color-accent); font-size: 2rem; }
.cta-signup p { color: #fffde9; }

.confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 80px 0;
  text-align: center;
}
.confirmation .content-wrapper {
  gap: 24px;
  align-items: center;
}

/* Feature/Value/Recipe Section Layouts */
.feature-grid, .value-list, .recipe-highlight-list, .recipe-list, .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 8px;
}
.feature-grid li, .value-list li, .recipe-highlight-list li, .recipe-list li, .category-list li {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(39,79,68,0.06);
  padding: 18px 22px;
  min-width: 200px;
  min-height: 110px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
  color: var(--color-dark);
  transition: transform 0.13s, box-shadow 0.15s;
  align-items: flex-start;
}
.feature-grid li:hover, .value-list li:hover, .recipe-highlight-list li:hover, .category-list li:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 24px 0 rgba(39,79,68,0.14);
}
.feature-grid img, .value-list img, .category-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
}

/* Service/Team/Blog Lists */
.service-card-list, .team-section, .upcoming-classes, .blog-post-list {
  gap: 20px;
}
.service-card, .class-list li, .blog-post {
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(39,79,68,0.09);
  padding: 22px 20px;
  min-width: 230px;
  margin-bottom: 20px;
}
.service-price, .class-price {
  color: var(--color-secondary);
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.3px;
  font-family: var(--font-display);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 7px 0 14px 12px;
  color: #5e3c3c;
}
.timeline li::before {
  content: '● ';
  color: var(--color-secondary);
  margin-right: 4px;
  font-size: 1.04em;
}

.upcoming-classes > div {
  font-size: 1rem;
  color: var(--color-primary);
  background: #ffeede;
  margin-bottom: 11px;
  padding: 12px 12px 12px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
}

/* Recipe Filters */
.recipe-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.category-filters {
  display: flex;
  gap: 16px;
}
.category-filters li a {
  color: var(--color-secondary);
  background: #fff1f6;
  border-radius: 8px;
  padding: 8px 15px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.category-filters li a:hover, .category-filters li a.active {
  background: var(--color-accent);
  color: var(--color-primary);
}
.difficulty-filter, .seasonal-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  color: var(--color-dark);
}
.search-bar input {
  border: 1.8px solid var(--color-primary);
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 1rem;
  background: #fff;
  color: var(--color-dark);
  min-width: 200px;
  transition: border 0.2s;
}
.search-bar input:focus {
  border-color: var(--color-secondary);
}

/* -----------------------------------
   BUTTONS / CTAs (creative styles)
----------------------------------- */
.cta-primary, .cta-secondary, .cta-tertiary, button, .mobile-menu-toggle, .mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s, transform 0.12s;
  font-weight: 700;
  border-radius: 35px;
  text-decoration: none;
  box-shadow: 0 2px 7px 0 rgba(39,79,68,0.04);
  margin-right: 8px;
}
.cta-primary {
  background: var(--color-secondary);
  color: var(--color-light);
  font-size: 1.13rem;
  padding: 13px 30px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 8px 32px 0 rgba(183,27,66, 0.16);
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 12px 28px;
  font-size: 1.06rem;
  margin-right: 8px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-primary);
  color: var(--color-light);
}
.cta-tertiary {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 10px 24px;
  font-weight: bold;
  font-size: 1.01rem;
}
.cta-tertiary:hover {
  background: var(--color-secondary);
  color: var(--color-light);
}

/* -----------------------------------
   HEADER/NAVIGATION
----------------------------------- */
header {
  background: var(--color-light);
  border-bottom: 6px solid var(--color-accent);
  box-shadow: 0 4px 24px 0 rgba(39,79,68,0.05);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 19px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 1.05rem;
  transition: background 0.13s, color 0.14s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.main-nav .cta-primary {
  padding: 10px 22px;
  font-size: 1.1rem;
  margin-left: 9px;
}
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: var(--color-light);
  font-size: 2rem;
  width: 46px;
  height: 46px;
  line-height: 1;
  border-radius: 999px;
  border: none;
  align-items: center;
  justify-content: center;
  display: none;
  z-index: 102;
  margin-left: auto;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--color-primary); }

/* Mobile Nav Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,79,68,0.97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.19,1,.22,1);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-secondary);
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  margin: 24px 0 0 24px;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 3px 12px 0 rgba(255,223,163,0.17);
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 60px 0 0 40px;
}
.mobile-nav a {
  color: var(--color-accent);
  padding: 13px 0;
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 9px;
  margin-right: 0;
  transition: color 0.12s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* Footer ------------------------------ */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 48px 0 20px 0;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  min-height: 220px;
  font-size: 0.99rem;
  box-shadow: 0 -2px 24px 0 rgba(39,79,68,0.11);
  margin-top: 38px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-cols > div {
  flex: 1 1 220px;
  min-width: 190px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 500;
  transition: color 0.14s;
  font-size: 1.06rem;
  margin-bottom: 2px;
}
.footer-nav a:hover {
  color: var(--color-light);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 14px;
}
.footer-social a {
  background: var(--color-accent);
  border-radius: 50%;
  padding: 7px;
  display: flex;
  align-items: center;
  transition: background 0.16s;
}
.footer-social a:hover {
  background: var(--color-secondary);
}
.footer-social img {
  width: 26px;
  height: 26px;
}

/* Utility: Map, Contact blocks */
.map-static {
  width: 100%;
  max-width: 600px;
  margin: 24px auto 0 auto;
}
.text-section img, .contact-data img {
  vertical-align: middle;
  margin-right: 7px;
  width: 24px;
  height: 24px;
}

/* Rich text inside text-section */
.text-section ul, .text-section ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.text-section p {
  margin-bottom: 12px;
}
.text-section a {
  color: var(--color-secondary);
  font-weight: 500;
  text-decoration: underline;
}
.text-section a:hover {
  color: var(--color-primary);
}

/* -----------------------------------
   COOKIE CONSENT BANNER & POPUP
----------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 -6px 28px 0 rgba(39,79,68,0.14);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 20px;
  z-index: 12000;
  font-size: 1.05rem;
  animation: bannerSlideUp 0.65s;
}
@keyframes bannerSlideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 10px 20px;
  border-radius: 18px;
  margin: 0 4px;
  font-size: 1.06rem;
  font-weight: 700;
  border: none;
  background: var(--color-accent);
  color: var(--color-secondary);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.1s;
}
.cookie-banner button:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
  box-shadow: 0 2px 10px rgba(183,27,66,0.12);
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: var(--color-primary);
  padding: 10px 18px;
  border: 2px solid var(--color-secondary);
}
.cookie-banner button.cookie-settings:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  bottom: 50px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-card);
  color: var(--color-dark);
  border-radius: 16px;
  padding: 44px 28px 28px 28px;
  min-width: 340px;
  max-width: 92vw;
  z-index: 12501;
  box-shadow: 0 8px 32px 0 rgba(39,79,68,0.26);
  display: none;
  animation: popupPop 0.35s;
}
@keyframes popupPop {
  0% { transform: translateX(-50%) scale(0.80); opacity: 0; }
  100% { transform: translateX(-50%) scale(1.0); opacity: 1; }
}
.cookie-modal.active {
  display: block;
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  margin-bottom: 13px;
}
.cookie-modal .category-label {
  font-style: italic;
  color: var(--color-secondary);
  font-weight: 700;
}
.cookie-modal .cookie-toggle {
  width: 36px; height: 16px;
  border-radius: 999px;
  background: #e6e6e6;
  position: relative;
  margin-right: 7px;
  cursor: pointer;
  transition: background 0.14s;
  vertical-align: middle;
}
.cookie-modal .cookie-toggle.enabled {
  background: var(--color-secondary);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-light);
  transition: left 0.14s;
}
.cookie-modal .cookie-toggle.enabled:before {
  left: 21px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--color-secondary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal button:hover {
  background: var(--color-primary);
}
.cookie-modal .close-x {
  position: absolute;
  right: 16px; top: 16px;
  font-size: 1.25rem;
  color: var(--color-secondary);
  background: #fff;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-x:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* -----------------------------------
   RESPONSIVE/ADAPTIVE DESIGN
----------------------------------- */
@media (max-width: 992px) {
  .container {
    max-width: 98vw;
    padding: 0 14px;
  }
  .footer-cols { gap: 22px; }
  .main-nav { gap: 12px; }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 11px;
  }
  .content-wrapper {
    gap: 24px;
  }
  .hero {
    padding: 44px 0 32px 0;
    border-bottom-left-radius: 32px 22px;
    border-bottom-right-radius: 32px 22px;
    min-height: 180px;
    font-size: 1rem;
    margin-bottom: 36px;
  }
  .hero h1 { font-size: 2rem; }
  .cta-signup {
    padding: 32px 0 28px 0;
    border-radius: 28px 28px 0 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .card-container, .service-card-list, .team-section, .footer-cols, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid, .value-list, .recipe-highlight-list, .category-list, .recipe-list {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 20px 11px;
  }
  .footer-cols > div { min-width: 0; }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
  }
  .recipe-filters {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
}
@media (max-width: 450px) {
  .card, .service-card, .class-list li, .blog-post {
    padding: 14px 7px;
    min-width: 0;
  }
  .container { padding: 0 5px; }
  .footer-cols {
    gap: 8px;
    flex-direction: column;
  }
  .cookie-modal {
    min-width: 0; padding: 19px 4px 9px 4px;
  }
}

/* -----------------------------------
   MICRO-INTERACTIONS & ANIMATIONS
----------------------------------- */
.card, .service-card, .testimonial-card, .cta-primary, .cta-secondary, .cta-tertiary,
.feature-grid li, .value-list li, .class-list li, .category-list li, .recipe-highlight-list li {
  transition: box-shadow .19s, transform .14s, background .11s, color .11s;
}
.card:active, .service-card:active, .feature-grid li:active {
  transform: scale(0.98) !important;
}

a, button, .cta-primary, .cta-secondary {
  transition: background .14s, color .11s, box-shadow .13s, border .13s;
}

/* Remove number arrows from number inputs for consistency */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* -----------------------------------
   ACCESSIBILITY/UTILITY
----------------------------------- */
:focus-visible {
  outline: 2.5px dash var(--color-secondary);
  outline-offset: 3px;
}
[tabindex="0"]:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 3px;
}

/* Make sure no columns or grid are used */
/* no grid, no columns anywhere */

/* -----------------------------------
   END OF CSS
----------------------------------- */
