/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6F8;
  color: #222F36;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
}

/* BRAND COLORS */
:root {
  --brand-primary: #154252;
  --brand-secondary: #F5F6F8;
  --brand-accent: #2C8892;
  --brand-white: #fff;
  --brand-dark: #222F36;
  --brand-grey: #e2e6ea;
  --brand-hover: #11707c;
  --brand-box-shadow: 0 2px 16px 0 rgba(21,66,82,0.08);
}

/* TYPOGRAPHY */
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--brand-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem;   line-height: 1.2;  }
h3 { font-size: 1.35rem; line-height: 1.3;  }
h4 { font-size: 1.15rem; }
p, ul, ol, li, label, address {
  color: var(--brand-dark);
  font-size: 1rem;
  line-height: 1.7;
}
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.15rem; }
}

/* LAYOUTS */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-white);
  border-radius: 18px;
  box-shadow: var(--brand-box-shadow);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
}

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

/* FLEX CONTAINERS */
.card-container, .category-grid, .recipe-list, .species-grid, .tips-grid, .testimonial-cards, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

.category-grid, .species-grid, .tips-grid, .recipe-list {
  gap: 24px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/****** HEADER & NAVIGATION ******/
header {
  background: var(--brand-primary);
  box-shadow: 0 2px 12px rgba(21,66,82,0.05);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  min-height: 72px;
}
header img {
  height: 48px;
  margin-right: 30px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: var(--brand-white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  position: relative;
  letter-spacing: 0.02em;
  padding: 8px 0;
  transition: color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: var(--brand-accent);
}
.cta-btn {
  background: var(--brand-accent);
  color: var(--brand-white);
  border-radius: 8px;
  padding: 11px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-left: auto;
  font-size: 1.05rem;
  box-shadow: 0 3px 12px rgba(44,136,146,0.13);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.2s;
  border: none;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-hover);
  box-shadow: 0 8px 18px rgba(44,136,146,0.18);
}

header .mobile-menu-toggle {
  display: none;
  background: var(--brand-accent);
  color: var(--brand-white);
  border-radius: 7px;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  margin-left: 16px;
  z-index: 22;
}
header .mobile-menu-toggle:hover, header .mobile-menu-toggle:focus {
  background: var(--brand-hover);
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
    padding-left: 6px;
    padding-right: 6px;
  }
  header img {
    margin-right: 10px;
  }
  nav {
    gap: 12px;
  }
}

/****** RESPONSIVE NAVIGATION ******/
@media (max-width: 950px) {
  header nav, .cta-btn {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--brand-white);
  box-shadow: 0 4px 32px 0 rgba(21,66,82,0.21);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.48,0.1,0.27,1);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--brand-grey);
  font-size: 2.25rem;
  border-radius: 7px;
  border: none;
  color: var(--brand-primary);
  padding: 4px 17px 0 17px;
  margin-bottom: 9px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-accent);
  color: var(--brand-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 16px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-white);
}

/******** SECTION CARDS & CATEGORIES ******/
.category-card, .species-card, .tip-card, .recipe-card {
  flex: 1 1 290px;
  background: var(--brand-white);
  border-radius: 13px;
  box-shadow: var(--brand-box-shadow);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.category-card:hover, .species-card:hover, .tip-card:hover, .recipe-card:hover {
  box-shadow: 0 10px 32px rgba(44,136,146,0.17);
  transform: translateY(-2px) scale(1.012);
}
.category-card h3,.species-card h3,.tip-card h3,.recipe-card h3 {
  margin-bottom: 6px;
}
.category-card a {
  color: var(--brand-accent);
  font-weight: 600;
  margin-top: 5px;
  transition: color 0.2s;
}
.category-card a:hover, .category-card a:focus {
  color: var(--brand-hover);
}
.button, .recipe-card button {
  background: var(--brand-accent);
  color: var(--brand-white);
  padding: 10px 22px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  font-size: 1rem;
  transition: background 0.18s;
  border: none;
  outline: none;
  box-shadow: 0 2px 10px rgba(44,136,146,0.09);
}
.button:hover, .recipe-card button:hover, .button:focus, .recipe-card button:focus {
  background: var(--brand-hover);
}

/* HIGHLIGHTED BLOCKS */
.highlight {
  background: var(--brand-grey);
  border-radius: 9px;
  padding: 18px 20px;
  margin: 18px 0 0 0;
  font-size: 1rem;
}
.highlight strong {
  color: var(--brand-primary);
}

/******** TESTIMONIALS ********/
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--brand-secondary);
  border-radius: 14px;
  box-shadow: var(--brand-box-shadow);
  min-width: 240px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  border-left: 5px solid var(--brand-accent);
  position: relative;
}
.testimonial-card .testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.testimonial-card .author {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.98rem;
  margin-top: 7px;
}
.testimonial-card .stars {
  color: gold;
  font-size: 1.1rem;
  margin-top: 0;
}
@media (max-width: 860px) {
  .testimonial-cards {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 15px 14px;
  }
}

/******** ADDRESS, MAP, DETAILS ********/
.contact-details,
.address-block,
.opening-hours,
.social-links {
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.map {
  margin-top: 20px;
  background: var(--brand-secondary);
  padding: 15px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links a {
  margin-right: 12px;
  display: inline-flex;
}
.social-links img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #e2e6ea;
  transition: background 0.2s;
}
.social-links a:hover img {
  background: var(--brand-accent);
}

/******** FAQ ********/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--brand-grey);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(44,136,146,0.09);
}
.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 7px;
  color: var(--brand-accent);
}

/* Quick links */
.quick-links {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quick-links a {
  color: var(--brand-accent);
  font-weight: 600;
  transition: color 0.2s;
}
.quick-links a:hover, .quick-links a:focus {
  color: var(--brand-hover);
}

/******** TIMELINE ********/
.timeline {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.timeline li {
  position: relative;
  padding-left: 22px;
  color: #466984;
  font-size: 1rem;
}
.timeline li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: var(--brand-accent);
  position: absolute;
  left: 5px;
  top: 7px;
}

/******** FOOTER ********/
footer {
  background: var(--brand-primary);
  color: var(--brand-white);
  padding: 42px 0 20px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1170px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: var(--brand-white);
  opacity: 0.85;
  font-size: 0.97rem;
  margin-bottom: 4px;
  transition: color 0.18s, opacity 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-accent);
  opacity: 1;
}
address {
  font-style: normal;
  color: #cdd5db;
  font-size: 0.97rem;
  line-height: 1.6;
  margin-top: 0;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/******** FORMS ********/
input[type="search"], input[type="text"], textarea {
  width: 100%;
  max-width: 420px;
  padding: 12px 15px;
  border-radius: 7px;
  border: 1px solid var(--brand-grey);
  background: var(--brand-white);
  font-size: 1rem;
  margin-top: 9px;
  margin-bottom: 8px;
  box-sizing: border-box;
  transition: border 0.18s;
}
input[type="search"]:focus, input[type="text"]:focus, textarea:focus {
  border-color: var(--brand-accent);
}

/******** COOKIES CONSENT BANNER & MODAL ******/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand-white);
  color: var(--brand-primary);
  box-shadow: 0 -2px 16px 0 rgba(21,66,82,0.14);
  z-index: 10500;
  padding: 22px 17px 18px 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  min-height: 60px;
  font-size: 1rem;
  animation: cookie-slidein 0.44s cubic-bezier(0.68,0.01,0.3,1.14);
}
@keyframes cookie-slidein {
  0% { transform: translateY(64px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-btn {
  background: var(--brand-accent);
  color: var(--brand-white);
  border-radius: 7px;
  border: none;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: var(--brand-hover);
}
.cookie-consent-banner .cookie-btn.settings {
  background: var(--brand-primary);
  color: var(--brand-white);
}
.cookie-consent-banner .cookie-btn.settings:hover {
  background: #0f2f39;
}
@media (max-width: 580px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 11px;
    padding: 13px 6px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  z-index: 16000;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(32,42,56,0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.34s;
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--brand-white);
  border-radius: 15px;
  box-shadow: 0px 16px 90px rgba(21,66,82,0.20);
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalopen 0.19s cubic-bezier(.42, 0, .58, 1.12);
}
@keyframes modalopen {
  from { transform: translateY(60px) scale(0.9); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 6px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: transparent;
  color: var(--brand-primary);
  border: none;
  font-size: 2rem;
  margin-top: -18px;
  margin-right: -10px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
}
.cookie-toggle-switch {
  width: 45px;
  height: 22px;
  background: #e5eaf0;
  border-radius: 13px;
  position: relative;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle-switch input[type="checkbox"] {
  display: none;
}
.cookie-toggle-switch .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #b2bbc9;
  transition: left 0.18s, background 0.14s;
}
.cookie-toggle-switch input[type="checkbox"]:checked + .slider {
  left: 24px;
  background: var(--brand-accent);
}
.cookie-category.essential {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 2px;
}
.cookie-modal-actions .cookie-btn {
  min-width: 80px;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 19px 6vw 15px 6vw;
    font-size: 0.98rem;
    min-width: 0;
  }
}

/******** GENERAL SPACING *********/
section { margin-bottom: 60px; padding: 40px 20px; }
.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 DESIGN ADJUSTMENTS ********/
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }

  .card-container, .category-grid, .species-grid, .tips-grid, .testimonial-cards, .recipe-list {
    flex-direction: column;
    gap: 16px;
  }
  .category-card, .species-card, .tip-card, .recipe-card, .testimonial-card {
    min-width: 0;
    flex: 1 1 100%;
    padding: 16px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px 9px;
  }
  section, .section {
    padding: 22px 5px;
    margin-bottom: 38px;
  }
}

/******* UTILITY CLASSES  ******/
.mt-10 { margin-top: 10px !important; }
.mb-16 { margin-bottom: 16px !important; }
.gap-20 { gap: 20px !important; }
.text-center { text-align: center !important; }
.mb-32 { margin-bottom: 32px !important; }

/******* ANIMATIONS & INTERACTIONS **********/
.card, .category-card, .species-card, .tip-card, .recipe-card, .testimonial-card, .faq-item {
  transition: box-shadow 0.23s cubic-bezier(.42,.0,.58,1.12), transform 0.16s;
}
.cta-btn, .button, .recipe-card button, .cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}

/* FOCUS VISIBLE for accessibility */
a:focus-visible, button:focus-visible, .cookie-btn:focus-visible {
  outline: 2.5px solid var(--brand-accent);
  outline-offset: 2px;
}

/* Hide outline on mouse click */
*:focus:not(:focus-visible) {
  outline: none;
}

/******* CUSTOM SCROLLBAR for desktop *******/
@media (min-width: 769px) {
  ::-webkit-scrollbar {
    width: 9px;
    background: #e2e6ea;
  }
  ::-webkit-scrollbar-thumb {
    background: #d1dadd;
    border-radius: 16px;
  }
}
