/* =========================================================
   Skylark Rift - Vintage Retro CSS (Flexbox Only, Mobile First)
   ========================================================= */

/* 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #EBE3D5;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}
button {
  cursor: pointer;
}

/* TYPOGRAPHY RETRO-VINTAGE */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700,900&family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-primary: #1A3557;
  --color-secondary: #DF922D;
  --color-accent: #F9F6F2;
  --color-bg-main: #EBE3D5; /* subtle cream-beige vintage */
  --color-bg-paper: #FAEFE4;
  --color-card: #FFFDFC;
  --color-success: #5C8342;
  --color-danger: #D2483D;
  --color-grey: #C7B59A;
  --shadow-card: 0 4px 24px 0 rgba(30,23,14,0.07), 0 2px 8px 0 rgba(30,23,14,0.09);
  --shadow-btn: 0 2px 8px 0 rgba(26,53,87,0.10);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --font-size-xs: 14px;
  --font-size-s: 16px;
  --font-size-m: 18px;
  --font-size-l: 24px;
  --font-size-xl: 32px;
  --font-size-xxl: 48px;
  --radius-btn: 8px;
  --radius-card: 16px;
  --border-card: 3px solid var(--color-secondary);
  --spacer-xs: 8px;
  --spacer-s: 16px;
  --spacer-m: 24px;
  --spacer-l: 32px;
  --spacer-xl: 40px;
  --pattern-bg: repeating-linear-gradient(135deg, #E6D6B8 0px, #E6D6B8 2px, transparent 2px, transparent 20px);
}
body {
  font-family: var(--font-body);
  font-size: var(--font-size-s);
  color: var(--color-primary);
  background-color: var(--color-bg-main);
  letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: var(--spacer-s);
  text-shadow: 1px 1px 0 var(--color-secondary), 0 2px 8px rgba(38, 23, 9, 0.09);
}
h1 {
  font-size: var(--font-size-xxl);
  margin-bottom: var(--spacer-m);
}
h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacer-m);
  position: relative;
}
h3 {
  font-size: var(--font-size-l);
}
h4 {
  font-size: var(--font-size-m);
}
p, li {
  font-size: var(--font-size-s);
  line-height: 1.65;
  margin-bottom: var(--spacer-xs);
}
p.subheadline {
  font-size: var(--font-size-m);
  font-style: italic;
  color: var(--color-secondary);
}
blockquote {
  font-family: var(--font-display);
  font-size: var(--font-size-m);
  font-style: italic;
  color: var(--color-primary);
  background: var(--color-bg-paper);
  border-left: 5px solid var(--color-secondary);
  padding: var(--spacer-s) var(--spacer-l);
  border-radius: var(--radius-card);
}

/* LAYOUT CONTAINERS (Flexbox Only) */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--spacer-m);
  padding-right: var(--spacer-m);
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-m);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-paper);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--spacer-l);
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,53,87,0.14);
  transform: translateY(-6px) scale(1.02);
}
.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;
  margin-bottom: var(--spacer-xl);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--spacer-m);
  box-shadow: var(--shadow-card);
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(26,53,87,0.14);
  transform: scale(1.02);
}

/* FLEXBOX: Ensuring proper spacing & NO overlapping */
.event-teasers, .lifestyle-teasers, .culture-teasers, .guide-teasers, .article-listings, .news-listings, .artist-spotlights, .city-guide-grid, .tips-list, .highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.lifestyle-teasers, .culture-teasers, .guide-teasers, .article-listings, .news-listings, .artist-spotlights, .city-guide-grid, .tips-list {
  align-items: flex-start;
}
.event-preview, .lifestyle-article, .culture-news, .guide-preview, .article-item, .news-item, .artist-bio, .city-guide, .top-tip, .quick-guide, .highlighted-event-card {
  background: var(--color-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--spacer-m);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.event-preview:hover, .lifestyle-article:hover, .culture-news:hover, .guide-preview:hover, .article-item:hover, .news-item:hover, .artist-bio:hover, .city-guide:hover, .top-tip:hover, .quick-guide:hover, .highlighted-event-card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,53,87,0.14);
  transform: translateY(-4px);
}

/* NAVIGATION HEADER (Desktop + Mobile) */
header {
  position: relative;
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 2px 8px 0 rgba(26,53,87,0.1);
  z-index: 999;
}
.logo img {
  height: 42px;
  width: auto;
  margin-right: var(--spacer-s);
  filter: sepia(0.25) drop-shadow(1px 1px 0 var(--color-secondary)); /* Vintage accent shadow */
}
.header .container, header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacer-m) 0;
}
nav.main-nav {
  display: flex;
  gap: 24px;
  flex: 1 1 auto;
  align-items: center;
  margin-left: var(--spacer-l);
}
nav.main-nav a {
  font-family: var(--font-display);
  font-size: var(--font-size-m);
  color: var(--color-accent);
  padding: var(--spacer-xs) var(--spacer-s);
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cta-btn.primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-m);
  color: var(--color-primary);
  background: var(--color-secondary);
  border: none;
  border-radius: var(--radius-btn);
  padding: 11px 28px 11px 22px;
  margin-left: var(--spacer-l);
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
  letter-spacing: 0.09em;
  text-shadow: 0 2px 0 #E6D6B8;
  position: relative;
}
.cta-btn.secondary {
  font-family: var(--font-display);
  font-size: var(--font-size-m);
  font-weight: 700;
  color: var(--color-secondary);
  background: transparent;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-btn);
  padding: 11px 28px 11px 22px;
  margin-left: 0;
  box-shadow: var(--shadow-btn);
  transition: background 0.17s, color 0.17s, box-shadow 0.2s, transform 0.13s;
  letter-spacing: 0.07em;
  text-shadow: 0 2px 0 #fff0;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 8px 32px 0 rgba(26,53,87,0.14);
  transform: scale(1.03);
  outline: none;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-secondary);
  background: transparent;
  border-radius: 50%;
  border: none;
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 1200;
  box-shadow: 0 2px 8px 0 rgba(223,146,45,0.06);
  transition: background 0.22s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (min-width: 1000px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU NAV */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,53,87,0.97);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.87,-.41,.19,1.44);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: var(--spacer-xl) var(--spacer-m) var(--spacer-l) var(--spacer-m);
  box-shadow: 0 2px 64px 0 rgba(26,53,87,0.24);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2em;
  color: var(--color-secondary);
  background: transparent;
  border: none;
  align-self: flex-end;
  margin-bottom: var(--spacer-l);
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-m);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  padding: 18px 0 8px 0;
  color: var(--color-accent);
  border-bottom: 1px dotted var(--color-secondary);
  transition: color 0.19s, background 0.19s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(239,222,205, 0.04);
}

@media (max-width: 1000px) {
  nav.main-nav, .cta-btn.primary {
    display: none;
  }
}
@media (min-width: 1000px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------------
   HERO / SECTION
------------------ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-paper);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
}
section:before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--color-secondary);
  border-radius: 8px 0 0 8px;
  opacity: 0.13;
  pointer-events: none;
}

@media (max-width: 768px) {
  section {
    padding: 24px 6px;
  }
}

/* CATEGORIES, TABS, FILTERS - Vintage Style */
.event-categories, .lifestyle-categories, .category-tabs, .topic-filters, .theme-filters, .date-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: var(--spacer-m);
  justify-content: flex-start;
}
.event-categories a, .lifestyle-categories a, .category-tabs a, .topic-filters button, .theme-filters button, .date-filters button {
  font-family: var(--font-display);
  font-size: var(--font-size-s);
  background: var(--color-bg-main);
  color: var(--color-primary);
  border: 2px dashed var(--color-secondary);
  border-radius: 100px;
  padding: 7px 18px;
  transition: background 0.18s, border 0.18s, color 0.18s, transform 0.13s;
  font-weight: 700;
}
.event-categories a:hover, .lifestyle-categories a:hover, .category-tabs a:hover, .topic-filters button:hover, .theme-filters button:hover, .date-filters button:hover,
.event-categories a:focus, .lifestyle-categories a:focus, .category-tabs a:focus, .topic-filters button:focus, .theme-filters button:focus, .date-filters button:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
  border: 2px solid var(--color-secondary);
  transform: scale(1.07);
}

/* SEARCH FORM */
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: var(--spacer-m);
  margin-bottom: var(--spacer-m);
}
.search-form input[type="text"] {
  flex: 1 1 210px;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-secondary);
  font-size: var(--font-size-s);
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 0px 8px 0 rgba(26,53,87,0.09);
}
.search-form button {
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: bold;
  font-family: var(--font-display);
  font-size: var(--font-size-s);
  border: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: var(--shadow-btn);
}
.search-form button:hover, .search-form button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* EVENT CARDS / CATEGORY TAG */
.event-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.event-card {
  background: var(--color-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--spacer-m);
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.18s;
}
.event-card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,53,87,0.13);
  transform: translateY(-3px);
}
.category-tag {
  align-self: flex-end;
  background: var(--color-secondary);
  color: var(--color-card);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  border-radius: 7px;
  padding: 4px 14px;
  margin-top: var(--spacer-s);
}

/* MAP PREVIEW, FEATURED TIP, AUTHOR SPOTLIGHTS, ETC. */
.map-preview, .featured-tip, .author-spotlights, .top-cities, .address-details, .map-embed, .next-steps, .quick-tips, .brand-story, .mission-statement, .team-profiles {
  background: var(--color-bg-main);
  border-radius: var(--radius-card);
  border: 1.5px dashed var(--color-grey);
  padding: var(--spacer-m);
  margin-bottom: var(--spacer-m);
}
.map-preview img, .map-embed img {
  width: 56px;
  height: 56px;
  margin-bottom: var(--spacer-xs);
  opacity: 0.85;
}
.featured-tip {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: var(--font-size-m);
  font-style: italic;
}
.author-spotlights ul, .top-cities ul, .next-steps ul, .quick-tips ul, .team-profiles ul {
  padding-left: var(--spacer-l);
  list-style: disc inside;
  font-size: var(--font-size-s);
  margin-top: var(--spacer-xs);
}
.author-spotlights li, .top-cities li, .next-steps li, .quick-tips li, .team-profiles li {
  margin-bottom: var(--spacer-xs);
}

/* GUIDELINES & CALLOUTS */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.value-item {
  background: var(--color-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--spacer-m);
  min-width: 180px;
  flex: 1 1 220px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.18s;
}
.value-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  opacity: 0.9;
}
.value-item:hover {
  box-shadow: 0 8px 32px 0 rgba(26,53,87,0.18);
  transform: scale(1.03);
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: var(--spacer-m) var(--spacer-l);
  border-radius: var(--radius-card);
  min-width: 260px;
  max-width: 100%;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  font-size: var(--font-size-m);
  margin-bottom: 20px;
  border-left: 7px solid var(--color-secondary);
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: var(--font-size-m);
  margin-bottom: 0;
  padding: 0;
}
.testimonial-card strong {
  font-weight: bold;
  color: var(--color-primary);
}
/* Ensuring high contrast for testimonials */
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
}

/* FOOTER */
footer {
  margin-top: 60px;
  padding: var(--spacer-l) 0 var(--spacer-m) 0;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 18px 0 rgba(26,53,87,0.09);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-menu a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: var(--font-size-s);
  text-decoration: underline dotted;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: var(--color-accent);
  text-decoration: underline solid;
}
.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: var(--spacer-s);
  filter: sepia(0.2) drop-shadow(1px 1px 0 var(--color-secondary));
}
.footer-contact p, .footer-contact a {
  color: var(--color-accent);
  font-size: 15px;
  margin-bottom: 2px;
  font-family: var(--font-body);
}
.social-media {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: var(--spacer-xs);
}
.social-media a img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.2s, filter 0.2s;
}
.social-media a:hover img {
  opacity: 1;
  filter: brightness(1.25) drop-shadow(0 2px 3px #DF922D77);
}

/* PAGE-SPECIFIC SECTIONS (confirmation, cookie, address blocks, etc) */
.confirmation-message {
  font-size: var(--font-size-l);
  font-family: var(--font-display);
  color: var(--color-secondary);
  margin-bottom: var(--spacer-m);
  padding-bottom: var(--spacer-s);
}
.address-details p, .map-embed p {
  display: flex;
  align-items: center;
  font-size: var(--font-size-s);
  margin-bottom: 8px;
}
.address-details img, .map-embed img {
  margin-right: 10px;
  width: 25px; height: 25px;
  opacity: 0.75;
}

/* VIEW ALL LINK & SMALL NAV */
.view-all-link {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--font-size-m);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 3px;
  margin-top: var(--spacer-m);
  transition: color 0.19s, border-color 0.19s;
}
.view-all-link:hover, .view-all-link:focus {
  color: var(--color-secondary);
  border-color: var(--color-primary);
}

/* --------- RESPONSIVE - MOBILE FIRST --------- */
@media (max-width: 1000px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-menu {
    gap: 10px;
  }
  footer .container {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .card-container, .content-grid, .highlights, .feature-grid, .values-grid, .lifestyle-teasers, .culture-teasers, .guide-teasers, .tips-list, .artist-spotlights, .city-guide-grid, .event-listings, .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .feature-item, .value-item, .card, .event-preview, .lifestyle-article, .guide-preview, .article-item, .news-item, .city-guide {
    min-width: 140px;
    padding: var(--spacer-s);
    font-size: var(--font-size-s);
  }
  nav.main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0 !important;
    width: 100%;
    margin-top: var(--spacer-s);
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  section {
    padding: 18px 2px;
    margin-bottom: 32px;
  }
  .footer-menu {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* -------------
   ANIMATIONS
---------------- */
.card, .feature-item, .value-item, .testimonial-card, .event-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.cta-btn, .event-categories a, .lifestyle-categories a, .category-tabs a, .topic-filters button, .theme-filters button, .date-filters button {
  transition: background 0.15s, color 0.15s, transform 0.13s, border 0.15s;
}
.mobile-menu {
  transition: transform 0.45s cubic-bezier(.87,-.41,.19,1.44);
}
.mobile-menu.open {
  animation: slideInMenu 0.47s cubic-bezier(.87,-.41,.19,1.44) 1;
}
@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ------------------
   COOKIE BANNER + MODAL
--------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2500;
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 22px 16px 30px 16px;
  box-shadow: 0 -2px 18px 0 rgba(26,53,87,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  font-family: var(--font-body);
  font-size: var(--font-size-s);
  border-radius: 18px 18px 0 0;
  animation: bannerAppear 1s cubic-bezier(.5,1.6,.9,1);
}
@keyframes bannerAppear {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: none;
  padding: 10px 26px;
  font-size: var(--font-size-s);
  margin: 0 4px;
  transition: background 0.13s, color 0.13s, border 0.13s;
  box-shadow: var(--shadow-btn);
}
.cookie-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-success);
  color: var(--color-card);
}
.cookie-reject {
  background: var(--color-card);
  color: var(--color-danger);
  border: 2px solid var(--color-danger);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-danger);
  color: var(--color-card);
}
.cookie-settings {
  background: var(--color-card);
  color: var(--color-primary);
  border: 2px dashed var(--color-secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,53,87, 0.87);
  z-index: 2999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalAppear 0.4s cubic-bezier(.87,-.41,.19,1.44);
}
@keyframes modalAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-bg-paper);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 32px 6px rgba(26,53,87,0.18);
  padding: 40px 30px 30px 30px;
  width: 96%;
  max-width: 430px;
  font-family: var(--font-body);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPopIn 0.5s cubic-bezier(.44,1.56,.64,1) both;
  position: relative;
}
@keyframes modalPopIn {
  0% { transform: scale(0.88); }
  100% { transform: scale(1); }
}
.cookie-modal h3 {
  margin-bottom: var(--spacer-xs);
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: var(--font-size-l);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-s);
  margin-bottom: var(--spacer-m);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dotted var(--color-grey);
}
.cookie-modal-category label {
  font-family: var(--font-body);
  font-size: var(--font-size-s);
  color: var(--color-primary);
  font-weight: 500;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
  margin-left: 10px;
}
.cookie-modal-category[disabled] label, .cookie-modal-category[aria-disabled=true] label {
  color: #9e937d;
  opacity: 0.65;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--color-secondary);
  font-size: 1.6em;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-danger);
}

/* RETRO PATTERNS & ACCENTS - apply only on header/footer/section background as subtle overlay */
header, footer {
  background-image: var(--pattern-bg);
  background-repeat: no-repeat;
  background-size: 22px 22px;
}
section .container:after {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #DF922D 35%, #E6D6B8 65%);
  border-radius: 6px;
  margin-top: var(--spacer-m);
  opacity: 0.07;
}

/* ========== ACCENTUATED STYLE CLASSES ========== */
strong {
  color: var(--color-secondary);
}
hr {
  border: none;
  border-top: 1.5px dashed var(--color-secondary);
  margin: var(--spacer-m) 0;
}

/* =======================
   ACCESSIBILITY FOCUS
========================= */
a, button, input, select, textarea {
  outline: 0;
}
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 8px 16px;
  z-index: 2000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* ===== RETRO EXTRAS (Optional for brand look) ===== */
@media (min-width: 1200px) {
  .section {
    padding-left: 70px;
    padding-right: 70px;
  }
}

/* END OF CSS */