/* ===================== CSS RESET & BASE ===================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F5F3EF;
  color: #244061;
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
main, section, article, aside, nav, header, footer {
  display: block;
}
a {
  color: #244061;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D6A46A;
}
ul, ol {
  padding-left: 1.2em;
}
hr {
  border: none;
  border-top: 1px solid #e2e0dd;
  margin: 32px 0;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #244061;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.7em;
}
h1 { font-size: 2.75rem; margin-bottom: 0.6em; line-height: 1.15; }
h2 { font-size: 2rem;   margin-bottom: 0.6em; }
h3 { font-size: 1.5rem; margin-bottom: 0.45em; }
h4 { font-size: 1.25rem; margin-bottom: 0.4em; font-weight: 600; }
h5 { font-size: 1.12rem; margin-bottom: 0.33em; font-weight: 500; }
h6 { font-size: 1rem;    margin-bottom: 0.28em; font-weight: 500; }

.subheadline {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1.3rem;
  color: #77726B;
  margin-bottom: 2em;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* ===================== CONTAINER & LAYOUT SPACING ===================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 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: 1024px) {
  .container {
    max-width: 950px;
  }
  .section {
    padding: 32px 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-grid,
  .feature-grid,
  .blog-list,
  .guide-list,
  .tour-list {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===================== HEADER & NAVIGATION ===================== */
header {
  background: #FFF;
  border-bottom: 1px solid #E0DAD0;
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  max-height: 42px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.07rem;
  color: #244061;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #D6A46A;
}
.cta-btn.primary {
  background: #244061;
  color: #FFF;
  border-radius: 28px;
  padding: 11px 28px;
  font-size: 1.16rem;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  border: none;
  margin-left: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36, 64, 97, 0.07), 0 1.5px 2.5px rgba(0,0,0,.04);
  transition: background 0.25s, color 0.2s, transform 0.18s;
  text-align: center;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #D6A46A;
  color: #244061;
  transform: translateY(-2px) scale(1.04);
}
.cta-btn.secondary {
  background: #FFF;
  color: #244061;
  border-radius: 28px;
  padding: 11px 28px;
  font-size: 1.12rem;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  border: 2px solid #244061;
  margin-top: 0.8em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(36, 64, 97, 0.06), 0 1px 2px rgba(0,0,0,.03);
  transition: background 0.23s, color 0.16s, border-color 0.2s, transform 0.14s;
  text-align: center;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #F5F3EF;
  border-color: #D6A46A;
  color: #D6A46A;
  transform: translateY(-1.5px) scale(1.03);
}

/* Hide mobile nav by default */
.mobile-menu-toggle {
  display: none;
  background: #FFF;
  color: #244061;
  font-size: 2rem;
  padding: 4px 10px;
  border: 1.5px solid #D6A46A;
  border-radius: 8px;
  margin-left: 20px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  z-index: 1202;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F5F3EF;
  color: #D6A46A;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #F5F3EF;
  box-shadow: 0 0 60px 0 rgba(36,64,97,0.21);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.77,0,.175,1);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.8em 1.35em;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 5px 80px rgba(36,64,97,0.16);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #244061;
  font-size: 2rem;
  margin-bottom: 1.5em;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #D6A46A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.21rem;
  color: #244061;
  font-weight: 600;
  padding: 13px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.12s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EEE7DC;
  color: #D6A46A;
}

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

/* ===================== SECTIONS, CARDS & FEATURES ===================== */
.feature-grid, .blog-list, .guide-list, .tour-list, .event-list, .stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 0.5em;
}
.feature, .blog-item, .guide-item, .tour-item, .stat-grid > div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(36,64,97,0.06), 0 1.5px 3.5px rgba(0,0,0,.03);
  padding: 26px 22px 18px 22px;
  flex: 1 1 280px;
  min-width: 270px;
  max-width: 370px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid #E0DAD0;
  transition: box-shadow 0.19s, border-color 0.19s, transform 0.14s;
}
.feature:hover, .blog-item:hover, .guide-item:hover, .tour-item:hover,
.stat-grid > div:hover {
  border-color: #D6A46A;
  box-shadow: 0 5px 36px rgba(36,64,97,0.11), 0 3px 7px rgba(0,0,0,.07);
  transform: translateY(-3px) scale(1.015);
}
.feature img, .tour-item img, .blog-item img, .guide-item img {
  max-height: 38px;
  margin-bottom: 10px;
  opacity: 0.94;
}
.stat-grid > div {
  font-size: 1.25em;
  text-align: center;
  min-width: 160px;
  color: #244061;
  background: #F5F3EF;
  box-shadow: none;
  border: 1.5px dashed #DBD3C2;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 2px 14px #E0DAD040, 0 1.5px 3px rgba(0,0,0,.03);
  border: 1px solid #E0DAD0;
  min-width: 260px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  color: #244061;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-family: 'Roboto', Georgia, serif;
  color: #212634;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #7D735D;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  padding-left: 10px;
}
@media (max-width: 900px) {
  .testimonials {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    flex: 1 1 100%;
  }
}

/* Blog, Guides, Tours */
.blog-categories,
.guide-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  align-items: center;
  font-size: 1rem;
  color: #7B6C4E;
}
.blog-categories span,
.guide-filter span {
  background: #EEE7DC;
  color: #244061;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 0.98em;
  border-radius: 6px;
  padding: 3px 12px;
  margin-right: 4px;
}
.blog-categories strong, .guide-filter strong {
  font-weight: 700;
  color: #D6A46A;
}

/* Feature Items (not in HTML but required by spec) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===================== FORMS & BUTTONS ===================== */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  transition: background 0.23s, color 0.16s, transform 0.15s;
}
button:active {
  transform: scale(0.97); }

/* ===================== FOOTER ===================== */
footer {
  background: #244061;
  color: #FFF;
  padding: 44px 0 22px 0;
  border-top: 2.5px solid #D6A46A;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px 24px;
}
footer img {
  max-height: 36px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #F5F3EF;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.02rem;
  font-weight: 500;
  opacity: 0.93;
  margin-bottom: 0.4em;
  transition: color 0.18s, opacity 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #D6A46A;
  opacity: 1;
}
.footer-contact {
  font-size: 0.98rem;
  opacity: 0.93;
  line-height: 1.6;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ===================== SPECIAL SECTIONS ===================== */
.event-calendar {
  background: #FFF;
  padding: 20px 22px;
  border-radius: 13px;
  border: 1px solid #eee7dc;
  font-family: 'Roboto', Georgia, serif;
  margin-bottom: 24px;
  color: #244061;
  box-shadow: 0 2px 8px #e0dad01a;
}
.event-list ul, .event-calendar ul, .team-values ul {
  list-style: disc;
  margin-left: 1.5em;
  margin-top: 8px;
  margin-bottom: 8px;
}
.team-values {
  background: #FFF;
  padding: 17px 20px;
  border-radius: 13px;
  border: 1px solid #EEE7DC;
  margin-top: 18px;
  box-shadow: 0 2px 9px #E0DAD016;
  color: #244061;
}
.text-section {
  background: #FFF;
  border-radius: 17px;
  padding: 34px 26px;
  margin-bottom: 24px;
  box-shadow: 0 2px 14px rgba(36,64,97,0.05);
  border: 1.5px solid #E0DAD0;
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1999;
  background: #244061;
  color: #FFF;
  font-family: 'Montserrat', Georgia, serif;
  box-shadow: 0 -2px 30px rgba(36,64,97,0.09);
  padding: 22px 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 64px;
  opacity: 1;
  transition: opacity 0.38s ease;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-msg {
  font-size: 1.06rem;
  max-width: 520px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #F5F3EF;
  color: #244061;
  border-radius: 22px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  padding: 7px 23px;
  border: 2px solid #E0DAD0;
  font-weight: 600;
  margin: 0 2px;
  transition: background 0.22s, color 0.14s, border-color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #D6A46A;
  color: #FFF;
  border-color: #D6A46A;
}
.cookie-btn.important {
  background: #D6A46A;
  color: #FFF;
  border-color: #D6A46A;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 8px;
  }
  .cookie-banner .cookie-msg {
    max-width: 100%;
    font-size: 1rem;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,64,97,0.18);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 10px 36px #24406128, 0 3px 11px #0002;
  max-width: 400px;
  width: 95%;
  padding: 40px 30px;
  color: #244061;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid #D6A46A;
  animation: modal-in 0.40s cubic-bezier(.86,0,.07,1);
}
@keyframes modal-in {
  0% { transform: translateY(60px) scale(0.97); opacity: 0; }
  80% { transform: translateY(-12px) scale(1.03); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #244061;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #D6A46A;
  width: 22px;
  height: 22px;
}
.cookie-category.essential label {
  color: #B19C85;
  font-weight: 600;
  opacity: 0.85;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  min-width: 90px;
  font-size: 0.98rem;
  padding: 8px 0;
}
.cookie-modal .cookie-btn:last-child {
  margin-left: auto;
}

/* ===================== RESPONSIVE FONT ADJUSTMENTS ===================== */
@media (max-width: 650px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

/* ===================== MISC ===================== */
::-webkit-input-placeholder { color: #BFAE97; }
:-moz-placeholder { color: #BFAE97; }
::-moz-placeholder { color: #BFAE97; }
:-ms-input-placeholder { color: #BFAE97; }
::placeholder { color: #BFAE97; }

/* Links in text-section */
.text-section a {
  color: #D6A46A;
  text-decoration: underline;
  transition: color 0.15s;
}
.text-section a:hover, .text-section a:focus {
  color: #244061;
  text-decoration: none;
}

/* Cards/Wrapper fallback for spacing */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 17px;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(36,64,97,0.05);
  border: 1.5px solid #E0DAD0;
  padding: 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

/* Content separation on mobile */
@media (max-width: 540px) {
  .section {
    padding: 26px 3px;
    margin-bottom: 34px;
  }
  .card, .feature, .blog-item, .guide-item, .tour-item, .stat-grid > div {
    padding: 16px 8px;
    min-width: initial;
    max-width: 100%;
  }
}

/* ===================== UTILITY CLASSES ===================== */
.text-center {
  text-align: center;
}
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-2em { margin-top: 2em; }
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.gap-16 { gap: 16px; }

/* ===================== PRINT STYLES ===================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #FFF; color: #000; }
}

/* ===================== ACCESSIBILITY ===================== */
:focus-visible {
  outline: 2.5px solid #D6A46A;
  outline-offset: 2.5px;
}

/* ===================== END ===================== */
