/* style.css - Moony Cloud Yoga - Minimalist Responsive Flexbox Design */

/* --- 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;
}
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFF;
  color: #2C302D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  font-smooth: always;
}
a {
  color: #455C50;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #88A2A3;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2C302D;
  margin-bottom: 24px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4, h5, h6 { font-weight: 500; }
p, li, address {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2C302D;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
  color: #455C50;
}
address {
  font-style: normal;
}

/* --- BRAND COLORS as CSS VARIABLES --- */
:root {
  --primary: #455C50;
  --secondary: #88A2A3;
  --accent: #FFF8F2;
  --text: #2C302D;
  --bg: #FFF;
  --shadow: 0 4px 18px rgba(69,92,80,0.07), 0 1.5px 6px rgba(136,162,163,0.09);
}

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 32px 24px;
  min-width: 240px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(69,92,80,.10);
}
.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: var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 210px;
  color: var(--text);
  transition: box-shadow 0.2s;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1.1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(69,92,80,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- MAIN NAVIGATION --- */
header {
  background: #FFF;
  box-shadow: 0 2px 12px rgba(48, 60, 50, 0.06);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 0;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 8px;
}
.main-nav .cta-btn {
  margin-left: auto;
}


/* --- CTA BUTTONS --- */
.cta-btn {
  background: var(--primary);
  color: #FFF;
  border: none;
  padding: 12px 28px;
  border-radius: 26px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(69,92,80,0.12);
  transition: background 0.2s, box-shadow 0.2s, color 0.18s;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(136,162,163,.22);
  outline: none;
}

/* --- FOOTER --- */
footer {
  background: #FFF;
  border-top: 1px solid #e7ece9;
  padding: 28px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: 500;
  font-size: 1em;
  padding: 4px 3px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  color: #849d9e;
}
.footer-contact span img {
  height: 18px;
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
}

/* --- BLOG SEARCH BAR --- */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.search-bar input[type="text"] {
  border: 1px solid #e7ece9;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1rem;
  background: #FFF;
  transition: border 0.2s;
}
.search-bar input[type="text"]:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
.search-bar button {
  background: var(--secondary);
  color: #FFF;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.search-bar button:hover, .search-bar button:focus {
  background: var(--primary);
  color: #FFF8F2;
}

/* --- BLOG LIST --- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 16px;
}
.blog-list li {
  background: #FFF;
  border-radius: 9px;
  box-shadow: var(--shadow);
  padding: 24px 18px;
  transition: box-shadow 0.18s;
}
.blog-list li:hover {
  box-shadow: 0 8px 32px rgba(69,92,80,0.10);
}
.blog-list h3 a {
  color: var(--primary);
  font-size: 1.1rem;
  font-family: 'Quicksand', Arial, sans-serif;
}
.tag {
  color: #fff;
  background: var(--secondary);
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.85rem;
  margin-right: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- LISTS INSIDE TEXT SECTIONS --- */
.text-section ul, ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding-left: 0;
}
.text-section li {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}
.text-section li img {
  width: 26px;
  height: 26px;
  margin-right: 4px;
}

/* --- GENERAL SPACING & ALIGNMENT --- */
.text-section {
  padding: 18px 0;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.content-wrapper .cta-btn {
  align-self: flex-start;
  margin-top: 14px;
}

/* --- CARDS AND FLEXBOX PATTERNS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e7ece9;
  margin-bottom: 12px;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
label {
  font-size: 0.97rem;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 500;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 24px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  z-index: 102;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: var(--secondary);
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 248, 242, 0.96);
  box-shadow: 0 0 48px 16px rgba(69,92,80,0.05);
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(0.7,0,0.3,1);
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 26px 16px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.18s;
  z-index: 111;
}
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 18px 32px;
  gap: 18px;
  margin-top: 15px;
}
.mobile-nav a {
  color: var(--text);
  font-size: 1.3rem;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 8px;
  background: none;
  transition: background 0.15s, color 0.15s;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #FFF;
}


/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  background: var(--accent);
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -2px 16px rgba(69,92,80, 0.06);
  padding: 26px 14px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
  transition: opacity 0.32s, transform 0.35s cubic-bezier(.85,0,0.2,1);
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-btn {
  background: var(--primary);
  color: #FFF;
  border: none;
  border-radius: 22px;
  padding: 9px 24px;
  margin-left: 6px;
  margin-right: 6px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s;
  box-shadow: 0 1px 4px rgba(69,92,80,0.09);
}
.cookie-banner .cookie-btn.reject {
  background: var(--secondary);
  color: #FFF;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--secondary);
  color: #FFF;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: var(--accent);
  color: var(--primary);
}

/* --- COOKIE MODAL POPUP --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(69,92,80, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,100%) scale(0.95);
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 12px 44px rgba(69,92,80,0.19);
  padding: 38px 28px 28px 28px;
  min-width: 300px;
  max-width: 95vw;
  max-height: 92vh;
  z-index: 2010;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.35s cubic-bezier(.78,0,.22,1), opacity 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  font-size: 1.4rem;
  top: 22px; right: 28px;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal .category-row label {
  flex: 1 1 auto;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0;
}
.cookie-modal .category-row input[type='checkbox'] {
  accent-color: var(--primary);
  width: 18px; height: 18px;
}
.cookie-modal .essential {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.98rem;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  margin-top: 14px;
}

/* --- RESPONSIVE: MOBILE FIRST --- */
@media (max-width: 1240px) {
  .container { max-width: 95vw; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  body {
    font-size: 15px;
    padding-bottom: 54px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  .container {
    padding: 0 7vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 15px;
    gap: 10px;
  }
  .footer-contact {
    font-size: 13px;
    gap: 3px;
  }
  .blog-list {
    gap: 18px;
  }
}
@media (max-width: 460px) {
  .container { padding: 0 2vw; }
  .section { padding: 16px 0px; }
  .card { padding: 16px 8px; min-width: 0; }
}

/* --- ANIMATIONS & TRANSITIONS --- */
.cta-btn, .card, .testimonial-card, .blog-list li, .cookie-banner, .cookie-btn {
  transition: box-shadow 0.2s, background 0.18s, color 0.18s, border 0.15s, transform 0.17s;
}
.mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay {
  will-change: transform, opacity;
}

/* --- MICRO-INTERACTION ACCESSIBILITY --- */
.cta-btn:focus-visible,
.cookie-btn:focus-visible,
.mobile-nav a:focus-visible {
  outline: 2px solid var(--primary);
}

/* --- CUSTOM FOCUS STATES --- */
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--secondary);
}

/* --- Z-INDEX LAYERING --- */
header { z-index: 99; }
.mobile-menu { z-index: 110; }
.cookie-banner { z-index: 1600; }
.cookie-modal-overlay, .cookie-modal { z-index: 2000; }

/* --- VISUAL HIERARCHY: SPACING --- */
.section, .content-wrapper, .container, .card, .testimonial-card, .footer-contact, .footer-nav {
  margin-bottom: 0; /* handled by main wrappers and gap */
}

/* --- A11Y: COLOR CONTRAST IN TESTIMONIALS --- */
.testimonial-card {
  background: var(--accent);
  color: var(--text);
}
.testimonial-card p {
  color: var(--text);
}

/* --- MISCELLANEOUS --- */
::-webkit-scrollbar {
  width: 8px;
  background: #e7ece9;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 8px;
}

/* --- PAGE-SPECIFIC SELECTORS (for airiness & minimal whitespace) --- */
.content-wrapper > h2, .content-wrapper > h3, .content-wrapper > h1 {
  margin-top: 0;
  margin-bottom: 18px;
}

section + section {
  margin-top: 2px;
}

/* --- END OF STYLE.CSS --- */
