/* === 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, font, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #ECECEC;
  color: #23475C;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: #ECECEC;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #23475C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FFDB5C;
  outline-offset: 2px;
}
strong, b {
  font-weight: bold;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Impact, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1D3850;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
p, ul li, ol li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.10rem;
  line-height: 1.7;
  color: #23475C;
  margin-bottom: 12px;
}
.tagline {
  font-family: 'Oswald', Impact, Arial, sans-serif;
  font-size: 1.3rem;
  color: #FF9800;
  margin-bottom: 22px;
}

/* === Layout Containers === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(35,71,92,0.10), 0 1.5px 10px 0 rgba(255,219,92,0.04);
  padding: 32px 26px;
  margin-bottom: 42px;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 20px 10px;
    margin-bottom: 30px;
  }
  .container {
    padding: 0 8px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 220px;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(255,219,92,0.10), 0 1.5px 8px 0 rgba(35,71,92,0.06);
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover, .card:focus-within {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 8px 30px 0 rgba(255,219,92,0.22), 0 2px 16px 0 rgba(35,71,92,0.12);
  z-index: 2;
}

/* === Flex Patterns for Features === */
.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;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 28px 0 rgba(35,71,92,0.10), 0 1.5px 8px 0 rgba(255,219,92,0.10);
  margin-bottom: 22px;
  transition: box-shadow 0.22s, transform 0.20s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 40px 0 rgba(255,219,92,0.18), 0 2.5px 18px 0 rgba(35,71,92,0.11);
  transform: scale(1.02);
  z-index: 3;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #23475C;
  font-style: italic;
}
/* Color contrast for testimonials: always on white, dark text */

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 25px;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* === Cards for Special Pages (country, tour, etc) === */
.country-card, .tour-card, .event-card, .story-card, .story-snippet {
  background: #fff;
  border-radius: 16px;
  padding: 24px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  box-shadow: 0 3px 15px 0 rgba(255,219,92,0.09), 0 1px 4px 0 rgba(35,71,92,0.06);
  border-left: 5px solid #FFDB5C;
  transition: transform 0.22s, box-shadow 0.2s;
  margin-bottom: 20px;
}
.country-card:hover, .tour-card:hover, .event-card:hover, .story-card:hover, .story-snippet:hover,
.country-card:focus-within, .tour-card:focus-within, .event-card:focus-within, .story-card:focus-within, .story-snippet:focus-within {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 6px 40px 0 rgba(255,219,92,0.18), 0 2.5px 18px 0 rgba(35,71,92,0.11);
  border-left: 5px solid #FF9800;
}

/* === Buttons & CTAs === */
.cta {
  display: inline-block;
  font-family: 'Oswald', Impact, sans-serif;
  font-size: 1.15rem;
  padding: 13px 34px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.7px;
  background: #FFDB5C;
  color: #23475C;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 12px;
  box-shadow: 0 2px 16px 0 rgba(255,219,92,0.13);
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  text-align: center;
  text-transform: uppercase;
}
.cta.primary {
  background: #FFDB5C;
  color: #23475C;
}
.cta:hover,.cta:focus {
  background: #23475C;
  color: #FFF;
  transform: scale(1.04);
  box-shadow: 0 4px 18px 0 rgba(35,71,92,0.12);
}

button, .button {
  font-family: 'Oswald', Impact, sans-serif;
  font-size: 1rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  padding: 10px 28px;
  background: #23475C;
  color: #FFDB5C;
  transition: background 0.2s, color 0.2s, transform 0.14s;
  box-shadow: 0 1.5px 10px 0 rgba(35,71,92,0.11);
  margin: 2px 0;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #FFDB5C;
  color: #23475C;
  transform: scale(1.03);
  outline: none;
}

/* === Header & Nav === */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #23475C;
  padding: 0 24px;
  height: 70px;
  position: relative;
  box-shadow: 0 6px 20px 0 rgba(35,71,92,0.10);
  z-index: 80;
}
header img {
  height: 42px;
  margin-right: 14px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: #FFDB5C;
  font-family: 'Oswald', Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1.12rem;
  padding: 8px 12px;
  border-radius: 20px;
  transition: background 0.15s, color 0.14s;
}
header nav a:hover, header nav a.active {
  color: #23475C;
  background: #FFDB5C;
}
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: none;
  color: #FFDB5C;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  margin-left: 10px;
  z-index: 110;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #FF9800;
  background: rgba(35,71,92,0.09);
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35,71,92,0.98);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.7,.2,0.17,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFDB5C;
  font-size: 2.1rem;
  border: none;
  padding: 18px 20px 8px 16px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 10001;
  margin-top: 14px;
  margin-right: 3px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FF9800;
  background: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 34px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Oswald', Impact, sans-serif;
  color: #FFDB5C;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 18px;
  padding: 13px 10px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #FFDB5C;
  color: #23475C;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}


/* === Main & Footer === */
main {
  padding-top: 40px;
  padding-bottom: 40px;
  min-height: 60vh;
}
footer {
  background-color: #23475C;
  color: #FFDB5C;
  padding: 38px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
footer nav a {
  font-family: 'Oswald', Impact, sans-serif;
  color: #FFDB5C;
  font-size: 1.09rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 7px 10px;
  border-radius: 14px;
}
footer nav a:hover, footer nav a.active {
  background: #FFDB5C;
  color: #23475C;
}
.footer-contact {
  font-size: 1rem;
  color: #FFDB5C;
  text-align: center;
  line-height: 1.8;
}
.footer-contact p{
  color: white;
}
@media (max-width: 600px) {
  main {
    padding-top: 17px;
    padding-bottom: 20px;
  }
  footer {
    padding: 25px 5px 18px 5px;
    font-size: 0.98rem;
    gap: 12px;
  }
}

/* === Utility Classes & Details === */
.section:last-child, .content-wrapper:last-child {
  margin-bottom: 0;
}

.text-section {
  margin-bottom: 22px;
}
.reportage-teaser {
  background: #FFDB5C;
  color: #23475C;
  padding: 18px 22px;
  border-radius: 12px;
  font-weight: bold;
  margin-bottom: 24px;
  font-size: 1.08rem;
  line-height: 1.4;
}

/* --- Spacing Utilities --- */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* === Animations & Micro-Interactions === */
.card, .country-card, .tour-card, .event-card, .story-card, .story-snippet, .content-wrapper,
.cta, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.19s, border-left 0.20s;
  will-change: transform, box-shadow;
}

/* Vibrant Energetic Elements */
::-webkit-selection { background: #FFDB5C; color: #23475C; }
::selection { background: #FFDB5C; color: #23475C; }

ul li:before, ol li:before {
  content: '⦿';
  color: #23475C;
  margin-right: 11px;
  font-size: 1em;
  vertical-align: middle;
  display: inline-block;
  font-family: 'Oswald', Impact, sans-serif;
}

@media (max-width: 700px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .feature-grid { flex-direction: column; }
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #23475C;
  color: #FFDB5C;
  box-shadow: 0 -2px 24px 0 rgba(35,71,92,0.16);
  padding: 20px 16px 18px 16px;
  z-index: 9900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  animation: banner-in 0.32s cubic-bezier(0.55,0,0.1,1) 1;
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  color: #FFDB5C;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cookie-btn {
  background: #FFDB5C;
  color: #23475C;
  border: none;
  border-radius: 100px;
  padding: 10px 20px;
  font-family: 'Oswald', Impact, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, transform 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #23475C;
  color: #FFDB5C;
  outline: 2px solid #FFDB5C;
}
.cookie-settings-btn {
  background: #ffffff;
  color: #23475C;
  border: 2px solid #FFDB5C;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #FFDB5C;
  color: #23475C;
}

/* --- Cookie Preferences Modal --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  inset: 0;
  background: rgba(35,71,92,0.87);
  display: none;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23475C;
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 4px 28px 0 rgba(35,71,92,0.10), 0 1.5px 18px 0 rgba(255,219,92,0.10);
  width: 100%;
  max-width: 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: modal-in 0.25s;
  position: relative;
  z-index: 10002;
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #23475C;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ECECEC;
  padding: 13px 16px;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.cookie-toggle {
  appearance: none;
  border: none;
  width: 36px;
  height: 20px;
  background: #ddd;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #FFDB5C;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 1px;
  left: 1px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1px 2px #aaa2;
}
.cookie-toggle:checked::after {
  transform: translateX(16px);
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
  width: 100%;
  font-size: 1.10rem;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  color: #23475C;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  padding: 4px 4px;
  transition: color 0.15s;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  color: #FFDB5C;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 5px 18px 5px;
  }
}

/* === Vibrant Energetic Accents === */
.cta.primary {
  box-shadow: 0 6px 24px 0 rgba(255,219,92,0.16), 0 1.5px 10px 0 rgba(35,71,92,0.08);
  border: 2.5px solid #FFDB5C;
  letter-spacing: 0.9px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #23475C;
  color: #FFDB5C;
  border: 2.5px solid #FFDB5C;
}

/* --- Responsive Typography --- */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .tagline { font-size: 1.08rem; }
}

@media (max-width: 576px) {
  h1 { font-size: 1.23rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1.01rem; }
}

/* === Focus States for Accessibility === */
a:focus, button:focus, .cta:focus, .cookie-btn:focus, .cookie-settings-btn:focus {
  outline: 2px dashed #FF9800;
  outline-offset: 1.5px;
}

/* === No-Overlapping & Minimum Spacing === */
section, .section, .content-wrapper, .feature-grid > *, .testimonial-card, .story-snippet, .event-card, .country-card, .reportage-teaser {
  margin-bottom: 24px;
}
.feature-grid > * {
  margin-bottom: 0 !important;
}

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

/* ========================== */
/*    END OF MAIN STYLES     */
/* ========================== */
