/* --- 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;
}
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #171C1E;
  color: #FAFAFA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #E3C77A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffffff;
}
ul, ol {
  margin-left: 18px;
}
strong {
  font-weight: 700;
}

/* --- BRAND COLOR VARIABLES --- */
:root {
  --primary: #235262;
  --secondary: #E3C77A;
  --accent: #FAFAFA;
  --metal-1: #32383D;
  --metal-2: #2C3237;
  --border: #3B4952;
  --shadow-dark: rgba(28,32,36,0.6);
  --shadow-light: rgba(250,250,250,0.04);
  --error: #b82a2a;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1.15;
  text-shadow: 1px 3px 8px var(--shadow-dark);
}
h2, .h2 {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h3, .h3 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
h4, .h4 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
}
p, li, blockquote, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
  margin: 15px 0 15px 0;
  color: #1a1d1f;
  background: #E3C77A;
  box-shadow: 0 2px 8px var(--shadow-dark);
  font-style: italic;
}
cite {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--primary);
  font-style: normal;
}

/* --- LAYOUT: CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--metal-2);
  box-shadow: 0 2px 16px 0 var(--shadow-dark);
  border-radius: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- FLEX LAYOUTS --- */
.features-grid, .regions-grid, .team-bios, .aspect-grid, .articles-teaser, .featured-events, .tradition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.features-grid > div, .regions-grid > div, .team-bios > div, .aspect-grid > div, .articles-teaser > div, .featured-events > div, .tradition-list > div {
  background: var(--metal-1);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow-dark);
  padding: 24px 20px;
  flex: 1 1 280px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.callout-box {
  background: #fff !important;
}
.features-grid > div:hover, .regions-grid > div:hover, .team-bios > div:hover, .aspect-grid > div:hover, .articles-teaser > div:hover, .featured-events > div:hover, .tradition-list > div:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 18px 0 var(--shadow-light), 0 2px 12px 0 var(--secondary);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--metal-1);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow-dark);
  margin-bottom: 20px;
  padding: 20px 15px;
  position: relative;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 18px var(--shadow-light);
}
.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;
  background: #FAFAFA;
  color: #181818;
  border-radius: 14px;
  font-size: 1.05rem;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(20,23,25,.13);
  border-left: 6px solid var(--secondary);
}
.testimonial-card p {
  color: #181818;
}
.testimonial-card cite {
  color: var(--primary);
  font-style: normal;
  margin-left: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BREADCRUMB NAV --- */
nav[aria-label="Breadcrumb"] ul {
  display: flex;
  gap: 10px;
  list-style: none;
}
nav[aria-label="Breadcrumb"] li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--secondary);
}

/* --- BUTTONS --- */
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  border-radius: 32px;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
  text-transform: uppercase;
  margin-top: 15px;
  box-shadow: 0 2px 4px 0 var(--shadow-dark);
  letter-spacing: 0.04em;
}
.button-primary {
  background: var(--secondary);
  color: #232323;
  border: 2px solid var(--secondary);
  box-shadow: 0 2px 8px 0 var(--shadow-dark);
}
.button-primary:hover, .button-primary:focus {
  background: #ffd463;
  color: #162730;
  border-color: #ffd463;
  box-shadow: 0 4px 16px 0 var(--secondary);
}
.button-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  box-shadow: none;
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--secondary);
  color: #181818;
  box-shadow: 0 2px 8px 0 var(--secondary);
}

/* --- HEADER --- */
header {
  background: var(--primary);
  box-shadow: 0 1px 8px var(--shadow-dark);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 30px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #FAFAFA;
  letter-spacing: 0.03em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: #1F3132;
}
header .button-primary {
  margin: 0 0 0 15px;
  font-size: 1rem;
  padding: 10px 18px;
}
header img {
  height: 54px;
  margin-right: 25px;
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: #232323;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 14px var(--shadow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1201;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.16s;
  outline: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ffd463;
  color: #162730;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: rgba(40,44,46, 0.98);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.68,.02,.36,1.01);
  box-shadow: 2px 0 40px 0 var(--shadow-dark);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--secondary);
  font-size: 2.3rem;
  margin: 20px 24px 0 auto;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 1310;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff8e4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 35px;
  width: 100%;
  align-items: flex-start;
  gap: 2px;
}
.mobile-nav a {
  color: var(--secondary);
  padding: 16px 34px;
  font-size: 1.25rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  width: 100%;
  transition: background 0.13s, color 0.15s;
  border-radius: 7px;
  margin-bottom: 6px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 1023px) {
  header nav, header .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 1024px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN CONTENT GENERAL --- */
main {
  width: 100%;
  min-height: 60vh;
  padding: 40px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 38px;
}
section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section, .card, .features-grid > div, .regions-grid > div, .team-bios > div, .aspect-grid > div, .articles-teaser > div, .tradition-list > div {
  margin-bottom: 20px;
}

.filters, .filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1rem;
  align-items: center;
  color: var(--secondary);
}
.filters ul {
  list-style: none;
  gap: 16px;
}
.filters li {
  background: var(--metal-2);
  color: var(--secondary);
  border-radius: 8px;
  padding: 4px 13px;
  font-weight: 700;
  font-family: 'Lato', Arial, sans-serif;
  border: 1px solid var(--border);
}

.callout-box {
  background: var(--accent);
  color: #17212b;
  border-left: 6px solid var(--primary);
  border-radius: 11px;
  padding: 18px 21px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px 0 var(--shadow-dark);
  min-width: 220px;
  font-size: 1.08rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-accordion h3 {
  font-size: 1.11rem;
  color: var(--secondary);
}
.faq-accordion p {
  margin-left: 2px;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.contact-details img {
  width: 24px; height: 24px;
  filter: grayscale(1) brightness(0.7);
}

.history-timeline, .history-timeline ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.history-timeline h3 {
  color: var(--secondary);
  margin-bottom: 5px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 38px 0 0 0;
  border-top: 5px solid var(--secondary);
  margin-top: 60px;
  position: relative;
  z-index: 3;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 20px;
}
footer .footer-logo img {
  height: 48px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: var(--accent);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
footer .contact-info p, footer .footer-newsletter p {
  font-size: 0.98rem;
  color: #FAFAFA;
  line-height: 1.8;
  margin-bottom: 4px;
}
footer .footer-newsletter {
  max-width: 210px;
  font-family: 'Lato', Arial, sans-serif;
}
footer .legal-links {
  background: var(--metal-2);
  color: var(--secondary);
  text-align: center;
  padding: 13px 0;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin-top: 18px;
}

/* --- COOKIE BANNER --- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--metal-1);
  color: var(--accent);
  z-index: 1400;
  box-shadow: 0 -2px 18px var(--shadow-dark);
  border-top: 5px solid var(--secondary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 20px 30px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.35s cubic-bezier(.76,.03,.35,1.1);
}
#cookie-banner.hide {
  transform: translateY(110%);
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
}
.button-cookie-accept, .button-cookie-reject, .button-cookie-settings {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  padding: 9px 26px;
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
}
.button-cookie-accept {
  background: var(--secondary);
  color: #232323;
}
.button-cookie-accept:hover, .button-cookie-accept:focus {
  background: #ffd463;
  color: #181818;
}
.button-cookie-reject {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.button-cookie-reject:hover, .button-cookie-reject:focus {
  background: var(--secondary);
  color: #232323;
}
.button-cookie-settings {
  background: var(--metal-2);
  color: #FAFAFA;
  border: 1.5px solid var(--border);
}
.button-cookie-settings:hover, .button-cookie-settings:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* --- COOKIE MODAL --- */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,24,28,0.97);
  z-index: 1550;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.25s linear;
}
#cookie-modal.active {
  display: flex;
}
@keyframes fadein-modal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--metal-1);
  border-radius: 16px;
  padding: 36px 30px 30px 30px;
  max-width: 455px;
  width: 95%;
  color: var(--accent);
  box-shadow: 0 10px 32px var(--shadow-dark), 0 2px 8px var(--secondary);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: modal-reveal 0.28s cubic-bezier(.57,.04,.36,1.08);
}
@keyframes modal-reveal {
  from { transform: scale(0.98) translateY(32px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 11px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--metal-2);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 7px;
  font-size: 1rem;
}
.cookie-modal-category label {
  font-weight: 600;
  font-size: 1rem;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: var(--border);
  position: relative;
  margin-left: 8px;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  position: absolute;
  left: 2px; top: 1px;
  transition: left 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 16px;
  background: #ffe07f;
  box-shadow: 0 1px 5px var(--secondary);
}
.cookie-modal-content .cookie-actions {
  margin-top: 13px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  font-size: 2rem;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.14s;
}
#cookie-modal .cookie-modal-close:hover {
  color: #fff9de;
}
.cookie-modal-category .lock {
  font-size: 1.2rem;
  color: #778094;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1023px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  main {
    padding-top: 18px;
  }
  .footer-logo {
    margin-bottom: 10px;
  }
}
@media (max-width: 900px) {
  .features-grid, .regions-grid, .team-bios, .aspect-grid, .articles-teaser, .featured-events, .tradition-list {
    gap: 16px;
  }
  .team-bios > div, .features-grid > div, .regions-grid > div, .aspect-grid > div, .articles-teaser > div, .tradition-list > div {
    min-width: 160px;
    font-size: 0.97rem;
    padding: 15px 10px;
  }
  .section {
    padding: 22px 9px;
  }
  .cookie-modal-content {
    padding: 18px 6vw 22px 6vw;
    max-width: 99vw;
  }
}
@media (max-width: 768px) {
  .container, footer .container {
    padding-left: 2vw;
    padding-right: 2vw;
    max-width: 100vw;
  }
  h1, .h1 {
    font-size: 1.44rem;
    margin-bottom: 18px;
  }
  h2, .h2 {
    font-size: 1.12rem;
  }
  main {
    padding: 11px 0 17px 0;
    gap: 24px;
    min-height: 51vh;
  }
  section {
    padding: 0;
    gap: 12px;
  }
  .section {
    padding: 11px 2vw 11px 2vw;
    margin-bottom: 37px;
    border-radius: 10px;
  }
  .features-grid, .regions-grid, .team-bios, .aspect-grid, .articles-teaser, .featured-events, .tradition-list {
    flex-direction: column;
    gap: 12px;
  }
  .features-grid > div, .regions-grid > div, .team-bios > div, .aspect-grid > div, .articles-teaser > div, .featured-events > div, .tradition-list > div {
    min-width: unset;
    padding: 18px 8px;
    font-size: 0.98rem;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  header .container {
    flex-direction: row;
    gap: 7px;
    align-items: center;
    padding: 10px 2vw 10px 2vw;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 15px;
  }
  h1, .h1 {
    font-size: 1.12rem;
    margin-bottom: 10px;
  }
  main, section {
    gap: 8px;
  }
  .section {
    padding: 8px 1vw 8px 1vw;
    margin-bottom: 24px;
    border-radius: 6px;
  }
  .button-primary, .button-secondary {
    font-size: 0.98rem;
    padding: 8px 15px;
    margin-top: 8px;
  }
}

/* --- FORM ELEMENTS --- */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--metal-2);
  color: var(--accent);
  padding: 10px 13px;
  margin-bottom: 13px;
  margin-top: 3px;
  transition: border-color 0.17s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  background: #23282d;
  outline: none;
}
label {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 3px;
}

/* --- MICROS / ANIMATIONS / TRANSITIONS --- */
button, a.button-primary, a.button-secondary {
  will-change: background, color, box-shadow, border-color;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, border-color 0.15s;
}
.card:hover, .features-grid > div:hover, .region-grid > div:hover, .callout-box:hover {
  box-shadow: 0 8px 20px var(--secondary), 0 2px 24px var(--shadow-dark);
}

::-webkit-scrollbar {
  width: 11px;
  background: var(--metal-1);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 11px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffe07f;
}

/* - Hide scrollbars for mobile nav and cookie modal overlays - */
.mobile-menu, #cookie-modal {
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, #cookie-modal::-webkit-scrollbar {
  display: none;
}

/* --- END --- */
