/* ==================================================
   ShimmerLand Yoga & Fitness - style.css
   Nature / Organic Inspired, Flexbox-Driven CSS Only
   Brand: #286D5E (primary); #F6F7F2 (background); #FBC768 (accent), #3B2D00 (for deep accents)
   Fonts: Montserrat (display), Source Sans Pro (body)
   ================================================== */

/* === CSS RESET & BASELINE === */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F7F2;
  color: #3B2D00;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #286D5E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FBC768;
  outline: none;
}

/* === TYPOGRAPHY === */
h1 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2.5rem; line-height: 1.16; font-weight: 700; color: #286D5E; margin-bottom: 24px; }
h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2rem; line-height: 1.22; font-weight: 600; color: #286D5E; margin-bottom: 20px; }
h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.25rem; line-height: 1.3; font-weight: 600; color: #286D5E; margin-bottom: 12px; }
h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 500; color: #286D5E; }
p, ul, ol, li, span, input, label {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #3B2D00;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
}
li { margin-bottom: 8px; }
strong, b { font-weight: 700; color: #286D5E; }

/* === CONTAINERS AND SECTIONS === */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F6F7F2;
  border-radius: 36px;
  box-shadow: 0 6px 30px 0 rgba(80, 99, 74, 0.05);
  overflow: hidden;
}

/* --- MAIN NAVIGATION --- */
header {
  width: 100%;
  background: #EAE8DF;
  box-shadow: 0 2px 12px 0 rgba(40, 109, 94, 0.08);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}
.logo img {
  height: 48px;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 4px;
  border-radius: 6px;
  color: #286D5E;
  transition: color 0.2s, background 0.2s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: #D9EDD4;
  color: #20614E;
}

.cta-button {
  background: #286D5E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border-radius: 24px;
  border: none;
  outline: none;
  box-shadow: 0 3px 16px 0 rgba(40,109,94,0.07);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.17s;
  display: inline-block;
  margin-left: 18px;
}
.cta-button.accent {
  background: #FBC768;
  color: #286D5E;
}
.cta-button:hover, .cta-button:focus {
  background: #1A473B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cta-button.accent:hover, .cta-button.accent:focus {
  background: #FFE297;
  color: #1A473B;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #FBC768;
  color: #286D5E;
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 25;
  margin-left: 14px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFE297;
  box-shadow: 0 2px 6px #286D5E24;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 420px;
  height: 100vh;
  background: #F6F7F2;
  box-shadow: -4px 0 40px 0 rgba(40, 109, 94, 0.13);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: 101;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 0 32px;
  gap: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: #FBC768;
  color: #286D5E;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px #286D5E24;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFE297;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #286D5E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 14px 6px;
  border-radius: 10px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #D9EDD4;
  color: #20614E;
}

/* Hide main nav + show burger on mobile */
@media (max-width: 980px) {
  nav.main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* === HERO / BANNER === */
.hero {
  background: linear-gradient(95deg, #d8e4d9 0%, #f6f7f2 100%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 10px 50px 0 rgba(40,109,94,.12);
  position: relative;
  padding: 60px 0 50px 0;
  margin-bottom: 0;
}
.hero .container {
  justify-content: center;
  align-items: center;
  min-height: 270px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 570px;
}
.hero h1 {
  color: #286D5E;
  margin-bottom: 0;
}
.hero p {
  font-size: 1.17rem;
  color: #4B6430;
}

/* === FLEX LAYOUT PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(80, 99, 74, 0.11);
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 35px 0 rgba(40,109,94,0.13);
  transform: translateY(-3px) scale(1.018);
}
.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;
  background: #F9F8F4;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(40,109,94,0.07);
  margin-bottom: 20px;
  max-width: 450px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F7F2;
  border-radius: 18px;
  box-shadow: 0 2px 8px #A3B18A10;
  padding: 24px 22px;
  flex: 1 1 270px;
}

/* --- FEATURES GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.feature-item img {
  width: 44px; height: 44px; margin-bottom: 4px;
}

/* --- SERVICEs / LISTS --- */
.service-list, .service-grid, .workshop-list, .trainer-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-item, .workshop-item, .trainer-profile, .blog-post-preview {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px 0 rgba(40,109,94,0.08);
  padding: 26px 22px 20px 22px;
  flex: 1 1 245px;
  min-width: 210px;
  transition: box-shadow 0.17s, transform 0.14s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-item .price {
  background: #D9EDD4;
  color: #286D5E;
  padding: 3px 10px;
  font-size: 1rem;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 6px;
  display: inline-block;
}
.service-item:hover, .workshop-item:hover, .trainer-profile:hover, .blog-post-preview:hover {
  box-shadow: 0 7px 30px 2px rgba(40,109,94,0.09);
  transform: translateY(-2px) scale(1.012);
}

.category-tabs, .blog-tags {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px;
}
.tab, .tag {
  background: #D9EDD4;
  color: #286D5E;
  border-radius: 22px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 20px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.tab:hover, .tag:hover, .tab.active {
  background: #FBC768;
  color: #2F471F;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #EFF4F1;
  border-radius: 48px;
  padding: 62px 0 58px 0;
  margin-bottom: 60px;
}
.testimonials h2 { color: #286D5E; margin-bottom: 32px; }
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.testimonial-card {
  background: #FFF;
  flex-direction: column;
  align-items: flex-start;
  border: 1.6px solid #E3E0CF;
  color: #3B2D00;
  max-width: 380px;
}
.testimonial-card p {
  color: #286D5E;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card .client {
  color: #3B2D00;
  font-size: 0.97rem;
  font-weight: 500;
  margin-top: 4px;
}

/* --- BLOG --- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 360px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px #99BC8520;
  padding: 8px 12px;
}
.search-bar input {
  border: none;
  flex: 1;
  font-size: 1rem;
  background: transparent;
  color: #286D5E;
  outline: none;
  padding: 8px 0;
}
.search-bar button {
  background: #FBC768;
  border: none;
  border-radius: 8px;
  width: 36px; height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.17s;
}
.search-bar button:hover, .search-bar button:focus { background: #FFE297; }

.blog-post-preview .post-meta {
  font-size: 0.92rem;
  color: #768363;
  font-family: 'Montserrat', sans-serif;
  margin-top: 4px;
}

/* --- WORKSHOP & TRAINERS --- */
.workshop-list {
  gap: 26px;
}
.workshop-item span {
  color: #FBC768;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding-top: 6px;
}
.trainer-list {
  gap: 20px;
}
.trainer-profile h3 { color: #286D5E; font-size: 1.17rem; margin-bottom: 8px; }

.event-schedule ul { margin-bottom: 0; }
.event-schedule li { font-size: 1.06rem; margin-bottom: 7px; color: #567650; }

/* --- CTA SECTION --- */
.cta {
  background: #D9EDD4;
  border-radius: 36px;
  box-shadow: 0 2px 17px #A3B18A15;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  padding: 38px 0;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta h2 {
  color: #286D5E;
}

/* --- FOOTER --- */
footer {
  background: #EAE8DF;
  color: #3B2D00;
  font-size: 1rem;
  padding: 50px 0 22px 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-bottom: 23px;
  border-bottom: 1.5px solid #D0D3BC;
  margin-bottom: 14px;
}
.footer-main img {
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: #286D5E;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 0 7px 0;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FBC768;
}
.footer-info {
  padding-top: 20px;
  color: #4E6442;
  font-size: 0.98rem;
}
.footer-info a { color: #286D5E; text-decoration: underline dotted; }
.footer-info a:hover { color: #FBC768; }

/* --- GENERAL CONTENT --- */
.text-section, .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-wrapper h1, .content-wrapper h2, .content-wrapper h3 {
  margin-bottom: 8px;
}

/* --- CONTACT --- */
.contact-details {
  background: #F6F7F2;
  border-left: 5px solid #286D5E;
  border-radius: 11px;
  padding: 18px 18px 18px 24px;
  margin-bottom: 16px;
  font-size: 1.07rem;
}
.contact-details a {
  color: #286D5E;
  text-decoration: underline dotted;
}
.map-location {
  background: #FFF;
  border-radius: 11px;
  box-shadow: 0 1.5px 9px 0 rgba(40, 109, 94, 0.07);
  padding: 16px;
  font-size: 1.08rem;
  color: #3B2D00;
}

/* --- MISC --- */
.section ul {
  list-style-type: disc;
  margin-bottom: 0;
}
.section ul li {
  margin-bottom: 8px;
}

/* --- COOKIES CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #EFF4F1;
  color: #2A452F;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  box-shadow: 0 -3px 22px 0 rgba(80,99,74,0.08);
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.5s;
}
.cookie-banner p { margin-right: 18px; flex: 1 1 250px; }
.cookie-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  background: #FBC768;
  color: #286D5E;
  box-shadow: 0 1.5px 6px #286D5E16;
}
.cookie-btn.reject {
  background: #EAE8DF;
  color: #3B2D00;
}
.cookie-btn.settings {
  background: #286D5E;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFE297;
  color: #1A473B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #3A8470;
  color: #fff;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- COOKIES MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 210;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(51, 74, 45, 0.22);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #F6F7F2;
  border-radius: 25px;
  box-shadow: 0 13px 50px rgba(40, 109, 94, 0.19);
  padding: 40px 30px 20px 30px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 94vh;
  overflow-y: auto;
  animation: fadeInUp 0.3s;
}
.cookie-modal-content h2 {
  margin-bottom: 14px;
  color: #286D5E;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  background: #EFF4F1;
  border-radius: 12px;
  padding: 10px 16px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Source Sans Pro', sans-serif;
  color: #286D5E;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  border: 2px solid #D0D3BC;
  width: 37px;
  height: 21px;
  border-radius: 15px;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: background 0.16s, border 0.13s;
}
.cookie-toggle:checked {
  background: #D9EDD4;
  border-color: #286D5E;
}
.cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #FBC768;
  transition: left 0.18s;
}
.cookie-toggle:checked::after {
  left: 18px;
  background: #286D5E;
}
.cookie-modal-footer {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: #FBC768;
  color: #286D5E;
  font-size: 1.5rem;
  border: none;
  border-radius: 32px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #FFE297; }

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1150px) {
  .container { max-width: 98vw; }
  .feature-grid, .service-list, .service-grid, .workshop-list, .trainer-list, .blog-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .workshop-list, .trainer-list, .blog-list {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.12rem; }
  .section {
    padding: 26px 7px;
    border-radius: 23px;
    margin-bottom: 44px;
  }
  .hero {
    padding: 34px 0 30px 0;
    border-radius: 0 0 23px 23px;
  }
  .cta {
    padding: 21px 0;
    border-radius: 19px;
    margin-bottom: 40px;
  }
  .footer-main {
    flex-direction: column;
    gap: 18px;
    padding-bottom: 13px;
  }
  .footer-nav {
    gap: 13px;
  }
  .testimonials,
  .testimonials .container {
    padding: 0 !important;
    border-radius: 8px;
  }
  .event-schedule {
    padding-left: 0 !important;
  }
}
@media (max-width: 650px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-item, .service-item, .workshop-item, .trainer-profile, .blog-post-preview {
    min-width: unset;
    max-width: 98vw;
  }
  .testimonial-card { max-width: 98vw; }
  .cookie-modal-content {
    padding: 17px 5vw 17px 5vw;
  }
}

/* --- ACCESSIBILITY & FOCUS RINGS --- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #286D5E;
  outline-offset: 2px;
  z-index: 13;
}

/* --- UTILITIES --- */
.hide { display: none!important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* --- ORGANIC/NATURE INSPIRED --- */
.section, .hero, .cta, .testimonials, .feature-item, .service-item, .workshop-item, .trainer-profile, .testimonial-card, .blog-post-preview {
  /* Asymmetrical organic corner radius */
  border-radius: 28px 24px 36px 12px / 24px 40px 14px 24px;
}

/* Subtle leaf/organic accents (optional deco) - Example: */
.section::after, .hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -14px; right: -22px;
  width: 90px; height: 70px;
  background: url('../assets/organic-leaf.svg') no-repeat 0 0;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 5;
}

/* --- PRINT FRIENDLY --- */
@media print {
  *, *:before, *:after { background: none !important; color: #000 !important; box-shadow: none !important; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .container, body { box-shadow: none !important; border: none !important; }
}

/* --- END --- */
