/* =================================================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FFF9F1;
  color: #222;
}
img, picture {
  max-width: 100%;
  height: auto;
  border-style: none;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  box-shadow: none;
}
button {
  cursor: pointer;
}

/* =================================================
   VINTAGE RETRO BRAND COLORS & FONTS
   ================================================= */
:root {
  --primary: #24594B; /* Brand forest green */
  --secondary: #EFF6F3; /* Soft mint background */
  --accent: #B08938; /* Golden ochre accent */
  --cream: #FAF3E7;
  --retro-orange: #E27945;
  --retro-beige: #E3CFB2;
  --retro-brown: #855F36;
  --black: #222222;
  --white: #fff;
  --shadow-md: 0 4px 14px 0 rgba(63, 48, 19, 0.10);
  --shadow-card: 0 2px 8px 0 rgba(51, 40, 10, 0.13);
  --border-radius: 13px;
  --transition: 0.2s cubic-bezier(.55,.19,.36,1);
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--cream);
  color: var(--black);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: 0.7px;
  font-weight: bold;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
p {
  margin-bottom: 1.2em;
  font-size: 1.05rem;
}
strong {
  font-weight: bold;
}
blockquote {
  font-family: 'Montserrat', serif;
  font-size: 1.1rem;
  color: var(--retro-brown);
  background: var(--retro-beige);
  border-left: 6px solid var(--accent);
  padding: 16px 22px 16px 20px;
  margin-bottom: 10px;
  border-radius: 0 9px 9px 0;
  box-shadow: var(--shadow-card);
}

/* Retro Section for Classic Patterns and Backgrounds */
.hero, .about-intro, .about-section, .services-overview, .cookie-section, .privacy-section, .gdpr-section, .terms-section, .thank-you-section, .map-section, .contact-details-section {
  background: repeating-linear-gradient(
    135deg, var(--retro-beige), var(--retro-beige) 30px, var(--cream) 30px, var(--cream) 60px
  );
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Spacing & Layout Containers */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 14px;
}
.content-wrapper {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
.features-grid, .team-grid, .featured-article-teasers, .interview-teasers, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 20px;
}
.feature, .team-member, .featured-article, .interview-preview, .article-preview {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover, .team-member:hover, .featured-article:hover, .interview-preview:hover, .article-preview:hover {
  transform: translateY(-7px) scale(1.02) rotate(-1deg);
  box-shadow: 0 10px 24px 0 rgba(51,40,10,0.19);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.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;
}

/* Testimonials */
.testimonials .testimonial-card,
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card blockquote {
  background: none;
  border-left: 4px solid var(--accent);
  color: var(--retro-brown);
  font-size: 1.04rem;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 4px;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Retro Vintage Buttons */
.cta-btn, .cta-link, .filter-bar button, .cookie-banner .btn, .cookie-modal .btn {
  font-family: 'Montserrat', sans-serif;
  background: var(--accent);
  color: #fff;
  padding: 11px 29px;
  border-radius: 23px;
  border: 2px solid var(--retro-brown);
  font-size: 1.08rem;
  letter-spacing: 0.1em;
  font-weight: bold;
  text-shadow: 1px 1px 0 #cdb180;
  cursor: pointer;
  margin: 6px 4px 6px 0;
  box-shadow: 0 2px 6px 0 rgba(176,137,56,0.09);
  transition: background 0.18s, color 0.22s, transform 0.18s;
  display: inline-block;
}
.cta-btn:hover, .cta-link:hover, .filter-bar button:hover,
.cookie-banner .btn:hover, .cookie-modal .btn:hover {
  background: var(--retro-orange);
  color: #fff8ec;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 8px 0 rgba(226,121,69,0.08);
}
.cta-link {
  background: none;
  color: var(--accent);
  border: 2px dashed var(--accent);
  text-shadow: none;
  margin-left: 0;
  margin-bottom: 0px;
}
.cta-link:hover {
  background: var(--accent);
  color: #fff;
  border-style: solid;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  background: var(--retro-beige);
  border-radius: var(--border-radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--retro-brown);
}
.filter-bar span {
  font-weight: bold;
  color: var(--primary);
}
.filter-bar button {
  padding: 7px 18px;
  min-width: 110px;
  font-size: .99rem;
  font-family: 'Montserrat', sans-serif;
  border-radius: 16px;
  border: 2px solid var(--accent);
  background: none;
  color: var(--primary);
  margin-right: 6px;
  margin-bottom: 6px;
  font-weight: bold;
  transition: background .17s, color .18s, border .18s;
}
.filter-bar button:focus, .filter-bar button.selected, .filter-bar button:hover {
  background: var(--accent);
  border-color: var(--retro-brown);
  color: #fff;
}
.filter-bar input[type=text] {
  width: 180px;
  border: 1px solid var(--accent);
  border-radius: 15px;
  background: #fffffc;
  color: var(--primary);
  padding: 7px 12px;
  font-size: 1rem;
  font-family: 'Open Sans',sans-serif;
  margin-left: 13px;
  outline: none;
  margin-bottom: 4px;
  transition: border .13s;
}
.filter-bar input[type=text]:focus {
  border-color: var(--primary);
  background: #fffef6;
}

/* Contact List */
.contact-list {
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--retro-brown);
  font-size: 1.06rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.02em;
}
.contact-list li img {
  width: 27px;
  height: 27px;
  filter: grayscale(0.5) drop-shadow(0 1px 0 #fffdfa);
}

/* Navigation Styles */
header {
  background: var(--retro-brown);
  border-bottom: 7px double var(--accent);
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 14px 17px 14px;
}
.logo img {
  height: 49px;
}
.main-nav {
  display: flex;
  gap: 22px;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  color: var(--cream);
  letter-spacing: 0.03em;
  padding: 7px 13px;
  border-radius: 14px;
  transition: background var(--transition), color var(--transition);
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--accent);
  color: #fff;
}
.cta-btn {
  margin-left: 24px;
  min-width: 130px;
}

/* ================================================
   MOBILE NAVIGATION BURGER MENU
   ================================================ */
.mobile-menu-toggle {
  background: var(--accent);
  border-radius: 48px;
  color: #fff;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-shadow: 0 1px 3px 0 rgba(176,137,56,0.05);
  transition: background 0.17s, color 0.17s;
  z-index: 32;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--retro-orange);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(234,219,199,0.97);
  box-shadow: 0 8px 32px 0 rgba(63,48,19,0.12);
  z-index: 1021;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.55,.19,.36,1);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.37s cubic-bezier(.72,.01,.27,1.01);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  margin: 20px 24px 0 0;
  color: #24594B;
  border: 2px solid #24594B;
  border-radius: 22px;
  width: 42px;
  height: 42px;
  transition: background .18s, color .18s;
  z-index: 1022;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 54px;
  gap: 17px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 500;
  padding: 14px 38px;
  border-radius: 22px;
  margin-bottom: 7px;
  background: none;
  transition: background 0.14s, color 0.15s;
  text-align: center;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}

/* Hide regular nav and show burger on mobile */
@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Retro footer */
footer {
  background: var(--retro-brown);
  color: var(--cream);
  padding: 36px 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-top: 7px double var(--accent);
}
.footer-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}
.footer-nav a {
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 4px 13px;
  border-radius: 11px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover {
  background: var(--accent);
  color: #fff;
}
.brand-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  gap: 16px;
  font-size: 1.1rem;
}
.brand-info img {
  height: 37px;
  margin-right: 9px;
}
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 5px;
}
.social-links a img {
  width: 31px;
  height: 31px;
  filter: grayscale(0.6) sepia(0.16) contrast(1.08) drop-shadow(0 1px 0 #fffdfa);
  opacity: 0.8;
  transition: filter 0.18s, opacity 0.18s, transform 0.18s;
}
.social-links a:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.06) rotate(-5deg);
}

/* Utility Lists */
ul, ol {
  margin-bottom: 15px;
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
  position: relative;
  font-size: 1.1rem;
}
ul li:before {
  content: '\25CB';
  color: var(--accent);
  margin-right: 6px;
  font-size: 1rem;
  position: relative;
  top: -1px;
}
.service-list li::before {
  content: '\2605';
  color: var(--retro-orange);
  font-size: 1.12rem;
  margin-right: 8px;
  top: 0;
}

/* Map placeholder styling */
.map-placeholder {
  background: var(--retro-beige);
  border: 2px dashed var(--accent);
  border-radius: var(--border-radius);
  padding: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.map-placeholder img {
  width: 140px;
}

.accessibility-info {
  margin-left: 0;
  margin-bottom: 0;
}
.accessibility-info li:before {
  content: '\2713';
  color: var(--primary);
  margin-right: 8px;
}

/* FORM & INPUTS (if present) */
input[type=email], input[type=text], textarea {
  padding: 10px 15px;
  border-radius: 9px;
  border: 1.5px solid var(--accent);
  margin-bottom: 14px;
  font-size: 1.01rem;
  font-family: 'Open Sans', sans-serif;
  background: #fffbe6;
  color: var(--primary);
  transition: border 0.13s, background 0.13s;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  background: #f8f6ef;
}

/* THANK YOU SECTION */
.thank-you-section {
  text-align: center;
}
.thank-you-section h1 {
  font-size: 3.2rem;
  color: var(--retro-orange);
  margin-bottom: 12px;
}

/* ===============
   COOKIE BANNER
   =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff4e0;
  color: var(--retro-brown);
  box-shadow: 0 -8px 24px 0 rgba(51,40,10,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 26px 10vw 19px 26px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1.03rem;
  z-index: 1200;
  gap: 14px;
  animation: cookieBannerIn 0.7s cubic-bezier(.76,-0.04,.4,1.03);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .btn {
  margin-right: 10px;
  margin-left: 0;
  min-width: 110px;
}
.cookie-banner .btn.reject {
  background: none;
  color: var(--retro-orange);
  border: 2px dashed var(--retro-orange);
}
.cookie-banner .btn.reject:hover {
  background: var(--retro-orange);
  color: #fff;
  border-style: solid;
}
.cookie-banner .btn.settings {
  background: none;
  color: var(--primary);
  border: 2px dashed var(--primary);
}
.cookie-banner .btn.settings:hover {
  background: var(--primary);
  color: #fff;
  border-style: solid;
}

/* COOKIE MODAL POPUP */
.cookie-modal-backdrop {
  z-index: 1211;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(42,34,15,0.21);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.23s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
  align-items: center;
}
.cookie-modal {
  background: #fff7ea;
  color: var(--retro-brown);
  padding: 38px 30px 26px 30px;
  border-radius: 19px;
  box-shadow: 0 14px 54px 0 rgba(148,110,55,0.16);
  min-width: 320px;
  max-width: 95vw;
  font-family: 'Montserrat', sans-serif;
  animation: cookieModalIn 0.5s cubic-bezier(.41,0,.61,1.09);
}
@keyframes cookieModalIn {
  0% { transform: scale(0.85) translateY(55px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin-top: 0;
}
.cookie-modal .btn {
  min-width: 120px;
  margin-top: 14px;
}
.cookie-modal .btn.close {
  float: right;
  margin-top: -17px;
  margin-right: -8px;
  background: none;
  color: var(--retro-orange);
  border: none;
  font-weight: bold;
  font-size: 1.4rem;
  box-shadow: none;
}
.cookie-modal .btn.close:hover {
  color: var(--primary);
}

/* ============
   RESPONSIVE
   ============ */
@media (max-width: 1100px) {
  .features-grid, .team-grid, .featured-article-teasers, .interview-teasers, .article-list {
    gap: 14px;
    flex-direction: row;
    justify-content: start;
  }
  .feature, .team-member, .featured-article, .interview-preview, .article-preview {
    min-width: 210px;
    max-width: 340px;
    padding: 18px 10px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 4vw;
  }
  section, .hero {
    padding: 27px 7px;
  }
  .content-wrapper {
    padding: 0;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .features-grid, .team-grid, .featured-article-teasers, .interview-teasers, .article-list {
    flex-direction: column;
    gap: 12px;
  }
  .feature, .team-member, .featured-article, .interview-preview, .article-preview {
    min-width: 0;
    width: 100%;
    max-width: 99vw;
    padding: 15px 8px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  .testimonial-card {
    padding: 14px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .map-placeholder {
    padding: 12px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.01rem;
    margin-bottom: 11px;
  }
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
  .brand-info img {
    height: 24px;
    margin-right: 4px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 4vw 14px 12px;
    font-size: .97rem;
  }
  .cookie-banner .btn {
    margin: 3px 0;
    min-width: 99px;
  }
  .cookie-modal {
    min-width: 94vw;
    padding: 22px 5vw 18px 4vw;
  }
}

/* =====================================
   RETRO MICRO-ANIMATION & HOVER EFFECTS
   ===================================== */
.cta-btn, .cta-link, .filter-bar button, .cookie-banner .btn, .cookie-modal .btn {
  will-change: background, color, box-shadow, transform;
}
.feature img, .team-member img {
  width: 53px;
  height: 53px;
  margin-bottom: 16px;
  margin-top: -7px;
  filter: sepia(.23) contrast(.93);
  transition: filter .13s, transform .13s;
}
.feature:hover img, .team-member:hover img {
  filter: sepia(.07) contrast(1.08) brightness(0.98);
  transform: rotate(-7deg) scale(1.04);
}

/* Decorative Retro Borders */
section, .card, .feature, .team-member, .testimonial-card, .about-intro,
.services-overview, .history-section, .privacy-section, .terms-section, .gdpr-section, .cookie-section, .thank-you-section {
  border: 2.5px solid var(--retro-brown);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 7px 0 rgba(139,103,52,0.11);
}

/* Accessibility: focus state */
a:focus, .cta-btn:focus, .filter-bar button:focus, .cta-link:focus {
  outline: 3px dashed var(--accent);
  background: #f5ebce;
  color: var(--primary);
}

/* Hide by default until shown by JS */
.cookie-banner, .cookie-modal-backdrop {
  display: none;
}
.cookie-banner.active {
  display: flex;
}
.cookie-modal-backdrop.open {
  display: flex;
}

/* ===========
   Print styles
   =========== */
@media print {
  header, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body, .container, section, .content-wrapper {
    background: #fff !important;
    box-shadow: none !important;
    color: #111;
  }
  .footer-nav, .brand-info, .social-links {
    display: none;
  }
}
