/* ========== 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FBF7EF;
  color: #2A231C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: border-box;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
a:focus {outline: 2px dashed #AB7150; outline-offset: 2px;}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}

/* ========== VINTAGE RETRO THEME VARIABLES ========== */
:root {
  --color-primary: #1C3B2A;
  --color-secondary: #FEF8F4;
  --color-accent: #C95919;
  --color-accent2: #2C65A6;
  --color-bg-cream: #FBF7EF;
  --color-retro-olive: #878551;
  --color-retro-red: #D36A68;
  --color-retro-mustard: #F6C944;
  --color-retro-blue: #4E8397;
  --color-retro-green: #73A192;
  --font-display: 'Montserrat', 'Futura', Arial, sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

/* ========== GENERAL TYPOGRAPHY HIERARCHY ========== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.13;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-shadow: 0 1px 0 #F6C944, 1px 1px 0 #E8F4EA;
}
@media (max-width: 768px) {
  h1, .h1 {font-size: 32px;}
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-retro-olive);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 20px;
  text-shadow: 1px 1px 0 #E8F4EA;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-retro-red);
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0.5px 0.5px 0 #F6C944;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-retro-blue);
  font-weight: 700;
  margin-bottom: 8px;
}
p, li, ul, ol, span, td, th {
  font-family: var(--font-body);
  font-size: 16px;
  color: #2A231C;
}
strong {font-weight: 700;}

/* ========== RETRO THEMING (COLORS, PATTERNS, SHAPES) ========== */
body {
  background: var(--color-bg-cream);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--color-retro-mustard);
  border-bottom: 5px solid var(--color-primary);
  box-shadow: 0 4px 14px 0 rgba(28,59,42,0.07);
  position: relative;
  z-index: 30;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  flex-wrap: wrap;
  gap: 12px;
}

.main-nav ul {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  padding: 8px 7px;
  border-radius: 6px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-accent);
  color: var(--color-secondary);
}

.main-nav > a img {
  height: 48px;
  width: auto;
  margin-right: 14px;
}

.cta-btn {
  display: inline-block;
  padding: 11px 28px 11px 28px;
  background: var(--color-accent);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 18px 6px 18px 6px;
  box-shadow: 0 4px 15px 0 rgba(201,89,25,0.11);
  cursor: pointer;
  text-shadow: 1px 1px 0 #F6C944;
  letter-spacing: 0.5px;
  transition: background 0.18s, transform 0.15s, box-shadow 0.2s;
  margin-left: 18px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-retro-red);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px 0 rgba(201,106,104,0.19);
  outline: none;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-secondary);
  font-size: 28px;
  border: none;
  border-radius: 8px;
  padding: 9px 15px;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 2px 8px rgba(44,101,166,0.10);
  transition: background 0.18s, color 0.22s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-retro-blue);
}
@media (max-width: 980px) {
  .main-nav ul, .main-nav .cta-btn {display: none;}
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-retro-mustard);
  box-shadow: -5px 0 26px -6px rgba(44,101,166,0.15);
  z-index: 200;
  transition: transform 0.4s cubic-bezier(0.68,0.05,0.17,1.08);
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 16px;
  gap: 12px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--color-accent);
  align-self: flex-end;
  margin-right: 30px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--color-retro-red);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 50px 0 0 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.9px;
  padding: 12px 16px;
  border-radius: 10px;
  background: none;
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--color-retro-red);
  color: #fff;
}

/* DEACTIVATED ON DESKTOP */
@media (min-width: 981px) {
  .mobile-menu {display: none !important;}
}

/* ========== HERO & FEATURE SECTIONS ========== */
.hero {
  background: repeating-linear-gradient(-45deg, #FCF6E5, #FCF6E5 45px, #F6C944 45px, #F6C944 90px);
  border-bottom: 5px solid var(--color-accent);
  padding: 46px 0 50px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 14px;
  letter-spacing: -1.3px;
  text-shadow: 2px 2px 0 #F6C944;
  text-align: center;
}
.hero p {
  font-size: 20px;
  color: var(--color-retro-blue);
  text-align: center;
  margin-bottom: 24px;
}
.hero .cta-btn {
  font-size: 20px;
}
@media (max-width: 700px) {
  .hero h1 {font-size: 28px;}
  .hero p {font-size: 16px;}
}

/* Feature grid pattern */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .feature-grid {gap: 18px;}
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
}
.feature {
  background: #FFF9F2;
  border: 3px dashed var(--color-retro-olive);
  border-radius: 22px 12px 22px 12px;
  padding: 34px 28px;
  box-shadow: 0 4px 14px 0 rgba(210,106,104,0.08);
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border 0.18s, transform 0.15s;
  position: relative;
}
.feature img {
  width: 60px;
  height: 60px;
  margin-bottom: 13px;
}
.feature h3 {
  color: var(--color-accent);
}
.feature:hover {
  box-shadow: 0 8px 28px 0 rgba(44,101,166,0.17);
  border: 3px solid var(--color-retro-red);
  transform: translateY(-3px) scale(1.01);
  z-index: 2;
}

/* ========== SERVICES ========== */
.services-list, .habit_tips_list ul, .protected-area-list ul, .key-figures ul, .quick-facts ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.services-list li, .habit_tips_list ul li, .protected-area-list ul li, .key-figures ul li, .quick-facts ul li {
  background: #FFF3E2;
  border-left: 8px solid var(--color-retro-green);
  border-radius: 0 18px 18px 0;
  padding: 15px 20px;
  font-size: 16px;
  box-shadow: 0 2px 9px rgba(201,89,25,0.05);
  margin-bottom: 0;
  position: relative;
}
.services-list .price {
  color: var(--color-retro-red);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-left: 10px;
}

.service-preview {
  background: #E8F4EA;
  border: 2px solid var(--color-retro-blue);
  border-radius: 14px 30px 14px 30px;
  padding: 22px 20px 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 9px 0 rgba(44,101,166,0.10);
  transition: border 0.18s, box-shadow 0.2s, transform 0.12s;
}
.service-preview:hover {
  border: 2px solid var(--color-accent);
  box-shadow: 0 6px 30px 0 rgba(201,89,25,0.13);
  transform: scale(1.01);
}

/* ========== CARDS, ARTICLES, CONTENT LISTS ========== */
.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.articles-list article {
  background: #FFF9F2;
  border-radius: 18px 10px 18px 10px;
  border: 2px solid var(--color-retro-olive);
  padding: 22px 21px 16px 23px;
  min-width: 210px;
  box-shadow: 0 4px 10px 0 rgba(210,106,104,0.08);
  font-family: var(--font-body);
  transition: box-shadow 0.16s, border 0.18s, transform 0.13s;
}
.articles-list article:hover {
  box-shadow: 0 6px 20px 0 rgba(44,101,166,0.13);
  border: 2px solid var(--color-retro-red);
  transform: scale(1.01) translateY(-2px);
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: #FFF9F2;
  border: 2px solid var(--color-retro-mustard);
  border-radius: 22px 10px 22px 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 rgba(44,101,166,0.11);
  font-family: var(--font-body);
  color: #342415;
  transition: box-shadow .16s, border .18s, transform .18s;
}
.testimonial-card p {
  font-size: 17px;
  font-family: var(--font-body);
  color: #1C3B2A;
}
.testimonial-author {
  font-size: 15px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  background: #FCF6E5;
  border-radius: 6px;
  padding: 3px 9px;
  margin-top: 3px;
}
.stars {
  font-size: 22px;
  color: var(--color-retro-mustard);
  letter-spacing: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(244,189,80,0.16);
  border: 2px solid var(--color-accent2);
  transform: scale(1.01) translateY(-2px);
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-retro-blue);
  color: #fff;
  border-top: 6px solid var(--color-retro-olive);
  padding-top: 32px;
  margin-top: 60px;
  box-shadow: 0 -2px 22px 0 rgba(44,101,166,0.13);
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
}
.footer-brand {
  min-width: 190px;
  max-width: 280px;
  font-size: 15px;
  font-family: var(--font-body);
}
.footer-brand img {
  width: 48px;
  margin-bottom: 10px;
}
.footer-links, .footer-legal {
  min-width: 180px;
  max-width: 230px;
}
.footer-links h4, .footer-legal h4 {
  color: var(--color-retro-mustard);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.footer-links ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a, .footer-legal a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  text-decoration: underline dotted #F6C944 1.5px;
  padding: 5px 0;
  transition: color .16s, background .11s;
}
.footer-links a:hover, .footer-legal a:hover {
  color: var(--color-retro-mustard);
  background: rgba(255,255,255,0.07);
}
footer p {
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 2px;
}

/* ========== CONTACT PAGE ========== */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.text-section {
  flex: 1 1 350px;
  font-family: var(--font-body);
  font-size: 16px;
}
.text-section h2 {
  color: var(--color-retro-blue);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.text-section img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: bottom;
}

/* ========== FLEXBOX CLASS LAYOUTS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 900px) {
  .footer-columns {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  .footer-columns {
    flex-direction: column;
    gap: 17px;
  }
  .content-wrapper, .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .contact-wrapper {
    flex-direction: column;
    gap: 22px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FEF8F4;
  border-top: 3px solid var(--color-retro-red);
  color: var(--color-primary);
  box-shadow: 0 -2px 24px 0 rgba(44,101,166,0.09);
  width: 100vw;
  padding: 22px 16px 24px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  z-index: 2101;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 240px;
  margin-right: 25px;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-size: 16px;
  padding: 8px 18px;
  margin-left: 8px;
  border: 2px solid var(--color-retro-red);
  border-radius: 12px 6px 12px 6px;
  background: var(--color-retro-red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0;
  margin-top: 6px;
  transition: background 0.18s, color 0.19s, transform 0.12s;
}
.cookie-banner .cookie-btn.secondary {
  background: var(--color-retro-blue);
  color: #fff;
  border: 2px solid var(--color-retro-blue);
}
.cookie-banner .cookie-btn.alt {
  background: var(--color-retro-mustard);
  color: var(--color-primary);
  border: 2px solid var(--color-retro-mustard);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: var(--color-retro-red);
  outline: none;
}
.cookie-banner .cookie-btn.secondary:hover, .cookie-banner .cookie-btn.secondary:focus {
  color: var(--color-retro-blue);
  background: #fff;
}
.cookie-banner .cookie-btn.alt:hover, .cookie-banner .cookie-btn.alt:focus {
  color: var(--color-retro-mustard);
  background: #fff;
}

/* ========== COOKIE SETTINGS MODAL ========== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44,101,166,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2110;
  opacity: 1;
  transition: opacity 0.25s ease;
  pointer-events: all;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #FEF8F4;
  border: 4px solid var(--color-retro-red);
  border-radius: 26px 12px 26px 12px;
  box-shadow: 0 4px 28px 0 rgba(44,101,166,0.19);
  padding: 38px 34px 30px 34px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h2 {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 8px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  margin-right: 1px;
}
.cookie-category .always-on {
  color: var(--color-retro-green);
  font-weight: 700;
  font-size: 15px;
  margin-left: 8px;
}
.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  font-size: 17px;
  padding: 10px 22px;
  border-radius: 10px 18px 10px 18px;
}
@media (max-width: 550px) {
  .cookie-modal-content {
    padding: 18px 8px 14px 8px;
    min-width: 92vw;
  }
}

/* ========== BUTTONS, LINKS MICRO-INTERACTIONS ========== */
button, .cta-btn, input[type="submit"] {
  transition: background 0.16s, color 0.14s, box-shadow 0.12s, transform 0.13s;
}

button:active, .cta-btn:active {
  transform: scale(0.99);
}

/* ========== ALERTS/SUCCESS STORIES ========== */
.success_stories, .how_to_guides, .feature-descriptions {
  background: #F3EFDF;
  border: 2px solid var(--color-retro-mustard);
  border-radius: 18px 8px 18px 8px;
  padding: 20px 17px;
  margin-bottom: 18px;
  box-shadow: 0 2px 14px 0 rgba(246,201,68,0.11);
}

/* ========== PRINT/FORCED COLORS OVERRIDES ========== */
@media print {
  * {
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
