/* Rustic Escape Scandinavian Clean CSS – Mobile-first, Flex-only, No CSS Grid */

/* -------------- CSS RESET & BASE -------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2C3531;
  background: #FAFAF8;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #895B3A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #2C3531;
}

ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  color: #2C3531;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.18;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 14px;
}

p, li, address {
  color: #2C3531;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { font-weight: 600; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(44,53,49,0.04);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ------------- HEADER & NAVIGATION ------------- */
header {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px 0 rgba(44,53,49,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 12px;
}
header a img {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: #2C3531;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #DCF4E5;
  color: #895B3A;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(44,53,49,.12);
}
.btn-primary {
  color: #FFFFFF;
  background: #895B3A;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2C3531;
  color: #DCF4E5;
}
.btn-secondary {
  color: #895B3A;
  background: #DCF4E5;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #895B3A;
  color: #FFF;
}

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: #895B3A;
  color: #FFF;
  border-radius: 10px;
  z-index: 101;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(44,53,49,0.10);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #2C3531;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.8,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 0 0;
  background: #DCF4E5;
  color: #895B3A;
  border-radius: 8px;
  border: none;
  font-size: 2rem;
  width: 42px;
  height: 42px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #895B3A;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin-top: 30px;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #2C3531;
  padding: 12px 24px 12px 0;
  border-radius: 6px;
  width: 100%;
  font-weight: 500;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DCF4E5;
  color: #895B3A;
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* -------------- HERO SECTION -------------- */
.hero {
  width: 100%;
  background: #DCF4E5;
  padding: 56px 0 40px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 36px 0 rgba(44,53,49,0.08);
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 28px;
  text-align: center;
  max-width: 700px;
}
.hero h1 {
  color: #2C3531;
  font-size: 2.5rem;
  text-shadow: 0 2px 9px rgba(44,53,49,0.03);
}
.hero p {
  color: #2C3531;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .hero {
    padding: 36px 0 24px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
}

/* ------------ FEATURES, SERVICES, CARDS ------------- */
.features-grid, .tips-grid, .services-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-card, .tip-card, .service-card {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(44,53,49,0.05);
  flex: 1 1 265px;
  min-width: 245px;
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.2s;
  border: 1px solid #F2EDE8;
}
.feature-card img, .tip-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.feature-card:hover, .service-card:hover, .tip-card:hover {
  box-shadow: 0 4px 20px 0 rgba(137,91,58,0.08);
  transform: translateY(-4px) scale(1.012);
}
.service-price {
  margin-top: auto;
  color: #895B3A;
  font-weight: 700;
  font-size: 1.05rem;
}
@media (max-width: 768px) {
  .features-grid, .tips-grid, .services-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-card, .tip-card, .service-card {
    min-width: 0;
    width: 100%;
  }
}

/* ---------- EBOOK COVER SECTION ---------- */
.ebook-description {
  margin-bottom: 30px;
}
.ebook-cover-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  background: #FAFAF8;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(137,91,58,0.05);
  width: 120px;
  height: 120px;
}
.ebook-cover-highlight img {
  width: 60px;
  height: 60px;
}

/* ------ UL, TIPS, FEATURED TIP ------ */
.tips-list, .tips-grid, .services-list, .upcoming-workshops ul {
  margin-bottom: 12px;
}
.tips-list li, .services-list li, .upcoming-workshops li {
  padding: 0 0 10px 20px;
  position: relative;
  margin-bottom: 6px;
  font-size: 1rem;
}
.tips-list li::before, .services-list li::before, .upcoming-workshops li::before {
  content: '•';
  color: #895B3A;
  position: absolute;
  left: 0;
}
.featured-tip {
  background: #DCF4E5;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 1.05rem;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 2px 8px 0 rgba(137,91,58,.03);
}

/* -------------- TESTIMONIALS -------------- */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(44,53,49,0.08);
  min-width: 250px;
  flex: 1 1 250px;
  border: 1px solid #E7E7E4;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.testimonial-card p {
  color: #2C3531;
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-author {
  font-size: 1rem;
  color: #895B3A;
  font-weight: 600;
}
.star-rating {
  color: #FFC967;
  font-size: 1.18rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 2px #E7E7E4;
}
@media (max-width: 768px) {
  .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
}

/* -------------- FOOTER -------------- */
footer {
  width: 100%;
  background: #FAFAF8;
  border-top: 1px solid #DFDFDB;
  margin-top: 60px;
  box-shadow: 0 -2px 4px 0 rgba(44,53,49,0.04);
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 22px 0;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
.footer-nav a {
  color: #895B3A;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  padding: 3px 10px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #DCF4E5;
  color: #2C3531;
}
.footer-bottom {
  border-top: 1px solid #E7E7E4;
  padding: 22px 0 32px 0;
  display: flex;
  justify-content: flex-start;
}
.footer-bottom .text-section {
  font-size: 0.98rem;
  color: #474740;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-bottom a {
  color: #895B3A;
  text-decoration: underline dotted;
}
footer address {
  font-style: normal;
}
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-bottom {
    padding: 18px 0 28px 0;
  }
}

/* -------------- SECTION SPACING -------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px 0 rgba(44,53,49,0.08);
  padding: 24px 18px;
  min-width: 220px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
  }
  .card {
    min-width: 0;
  }
}

/* -------------- CONTACT & MISC -------------- */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address, address {
  font-size: 0.98rem;
  color: #666;
  margin-top: 6px;
}

/* -------------- ANIMATIONS & TRANSITIONS -------------- */
.btn-primary, .btn-secondary, .main-nav a, .mobile-nav a, .footer-nav a, .feature-card, .service-card, .tip-card {
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.19s;
}
.section, .hero, .testimonial-card, .ebook-cover-highlight {
  transition: box-shadow 0.19s, background 0.18s;
}

/* -------------- COOKIE CONSENT BANNER -------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 1100;
  background: #FFFFFF;
  box-shadow: 0 -2px 12px 0 rgba(44,53,49,0.10);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #E7E7E4;
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  color: #2C3531;
  font-size: 0.97rem;
  text-align: center;
  margin-bottom: 4px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.cookie-btn {
  min-width: 120px;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-accept {
  background: #895B3A;
  color: #FFF;
}
.cookie-accept:hover {
  background: #2C3531;
}
.cookie-reject {
  background: #DCF4E5;
  color: #895B3A;
}
.cookie-reject:hover {
  background: #895B3A;
  color: #FFF;
}
.cookie-settings {
  background: transparent;
  color: #2C3531;
  border: 1px solid #E7E7E4;
}
.cookie-settings:hover {
  background: #DCF4E5;
  color: #895B3A;
}

/* -------------- COOKIE PREFERENCES MODAL -------------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44,53,49,0.22);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(44,53,49,0.13);
  padding: 36px 26px 28px 26px;
  width: 95%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  animation: modalIn 0.34s cubic-bezier(.7,0,.2,1);
}
@keyframes modalIn {
  0% { transform: scale(0.98) translateY(32px); opacity:0; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal-content h2 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-category .switch input { 
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F0F5F4;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-category .switch input:checked + .slider {
  background: #895B3A;
}
.cookie-category .slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #FFF;
  border-radius: 50%;
  transition: transform 0.24s;
  box-shadow: 0 1px 3px 0 rgba(44,53,49,0.08);
}
.cookie-category .switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #DCF4E5;
  color: #895B3A;
  font-size: 1.33rem;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #895B3A;
  color: #FFF;
}
.cookie-modal-actions {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .cookie-btn {
  min-width: 96px;
}
@media (max-width: 520px) {
  .cookie-modal-content {
    padding: 18px 7px 16px 7px;
    border-radius: 8px;
  }
  .cookie-modal-close {
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
  }
}

/* --------- FORMS (if present) --------- */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #E7E7E4;
  border-radius: 8px;
  background: #FAFAF8;
  color: #2C3531;
  box-shadow: 0 2px 8px 0 rgba(44,53,49,0.03);
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border 0.17s, box-shadow 0.18s;
}
input:focus, textarea:focus {
  border: 1.5px solid #895B3A;
  box-shadow: 0 2px 10px 0 rgba(137,91,58,0.07);
}

/* --- Misc tables, lists --- */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 26px;
}
table th, table td {
  padding: 10px 7px;
  border-bottom: 1px solid #E7E7E4;
  font-size: 1rem;
}
table th {
  color: #895B3A;
  font-weight: 700;
  background: #FAFAF8;
}

/* ------------- UTILITIES ------------- */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mt-2 { margin-top: 8px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mb-3 { margin-bottom: 16px !important; }
.gap-2 { gap: 12px !important; }
.gap-3 { gap: 20px !important; }

/* ------------- PRINT ------------- */
@media print {
  .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal, header, footer {
    display: none !important;
  }
  .section, .hero, .feature-card, .service-card, .testimonial-card, .tip-card {
    box-shadow: none !important;
    border: none !important;
  }
  body {
    color: #000 !important;
    background: #FFF !important;
  }
}

/* Load Google Fonts manually if needed
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@700&family=Montserrat:wght@400;500;600;700&display=swap');
*/
