/* ========== 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, body { height: 100%; }
body {
  line-height: 1.5;
  background: #f7fafd;
  color: #1a2936;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== BRAND FONTS ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #f7fafd;
  color: #1a2936;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #01395c;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.32rem; margin-bottom: 14px; font-weight: 600; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, li, span, strong, em {
  color: #334153;
  font-size: 1rem;
}
strong, b { font-weight: 700; }

/* ========== COLOR VARIABLES ========== */
:root {
  --primary: #01395c;
  --secondary: #70a7bd;
  --accent: #ebeff2;
  --background: #f7fafd;
  --text: #1a2936;
  --shadow: rgba(1, 57, 92, 0.06);
  --danger: #c62828;
  --success: #27ae60;
  --cookie-bg: #233143;
}

/* ========== STRUCTURE & LAYOUT ========== */
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* == CARD & FLEXBOX PATTERNS == */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px var(--shadow);
  position: relative;
  padding: 28px 20px 20px 28px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.3s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 6px 20px rgba(1,57,92,0.12);
}
.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: #ebeff2;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--shadow);
  min-width: 240px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  border-left: 5px solid var(--primary);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(1,57,92,0.15);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* == HOME: Service Grid == */
.service-cards-grid, .team-list, .tour-categories, .service-list, .inspiration-articles, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-cards-grid > div,
.team-list > div,
.tour-categories > div,
.service-list > div,
.inspiration-articles > div, 
.faq-list > div {
  flex: 1 1 280px;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 22px 20px 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.3s;
}
.service-list .service-card { background: #fff; }

/* Testimonial list (horizontal on desktop, stacked on mobile) */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* Topic tags (FAQ) */
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.topic-tags span {
  background: var(--accent);
  color: var(--primary);
  font-size: 0.95em;
  padding: 4px 12px;
  border-radius: 16px;
  font-weight: 500;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 901;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
header nav a {
  color: #01395c;
  font-size: 1rem;
  padding: 4px 0 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
header nav a:hover, header nav a.active {
  color: #70a7bd;
  border-bottom: 2px solid #70a7bd;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 14px;
}
.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 6px var(--shadow);
  transition: background 0.23s, box-shadow 0.18s, color 0.18s;
  outline: none;
  margin-left: 16px;
  min-width: 44px;
}
.btn:hover, .btn:focus {
  background: #70a7bd;
  color: #01395c;
  box-shadow: 0 3px 18px rgba(1,57,92,0.14);
  text-decoration: none;
}

/* Simple variant */
.btn:not(.btn-primary) {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn:not(.btn-primary):hover, .btn:not(.btn-primary):focus {
  background: #dfe8ee;
  color: var(--primary);
}

/* ======= FOOTER ======= */
footer {
  background: #01395c;
  color: #fff;
  padding: 0 0 20px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 38px;
  padding-bottom: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
footer nav a {
  color: #e8f1fa;
  border-bottom: 1.5px solid transparent;
  padding: 3px 0;
  transition: color 0.18s, border 0.18s;
  margin-bottom: 3px;
}
footer nav a:hover {
  color: #70a7bd;
  border-bottom: 1.5px solid #70a7bd;
}
.footer-info {
  color: #cfdbe3;
  font-size: 0.95em;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 8px;
  margin-bottom: 4px;
}
.footer-info a { color: #70a7bd; font-weight: 500; }

/* ======= RESPONSIVE & MOBILE ========== */
@media (max-width: 1280px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 990px) {
  .service-cards-grid > div,
  .team-list > div,
  .tour-categories > div,
  .service-list > div,
  .inspiration-articles > div,
  .faq-list > div {
    flex: 1 1 200px;
    min-width: 180px;
  }
  .testimonials-list > .testimonial-card { min-width: 150px; }
  .container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 16px; }
  .section { margin-bottom: 38px; padding: 25px 7px; }
  .card, .service-cards-grid > div, .team-list > div, .service-list > div, .tour-categories > div, .inspiration-articles > div, .faq-list > div {
    min-width: 100%;
    flex: 1 1 100%;
    padding: 18px 9px 16px 15px;
  }
  .service-cards-grid, .team-list, .tour-categories, .service-list, .inspiration-articles, .faq-list, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { padding: 16px 7px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  header .container { flex-direction: row; gap: 8px; height: 58px; }
  h1 { font-size: 2rem; } h2 { font-size: 1.45rem; } h3 { font-size: 1.07rem; }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1201;
  margin-left: 12px;
  line-height: 1;
  padding: 8px;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}
@media (max-width: 990px) {
  header nav,
  header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(1, 57, 92, 0.95);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.76,0,0.24,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  border: none;
  background: transparent;
  margin: 24px 27px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.23s;
}
.mobile-menu-close:focus {
  outline: 2px solid #fff;
}
.mobile-nav {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  padding-left: 36px;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #70a7bd;
  background: rgba(235,239,242,0.10);
}

/* Body scroll lock for mobile menu */
body.mobile-menu-open {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100vw;
}

/* ========== MICROINTERACTIONS & EFFECTS ========== */
a, .btn, .btn-primary, .mobile-menu-toggle, .mobile-menu-close {
  transition: color 0.16s, background 0.16s, box-shadow 0.19s;
}
.card, .service-card, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.16s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Focus outlines for accessibility */
a:focus, .btn:focus, .btn-primary:focus {
  outline: 2px solid #70a7bd;
  outline-offset: 2px;
}

/* ========== FORMS & INPUTS (if exists) ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 6px;
  border: 1px solid #bdd1dd;
  padding: 10px 15px;
  font-size: 1rem;
  background: #f7fafd;
  transition: border 0.16s, box-shadow 0.16s;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #70a7bd;
  outline: none;
  box-shadow: 0 1px 8px rgba(1,57,92,0.12);
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--cookie-bg);
  color: #fff;
  z-index: 5002;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 18px 16px;
  box-shadow: 0 -4px 14px rgba(34,38,85,0.09);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.22s, transform 0.32s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .btn, .cookie-banner .btn-primary {
  padding: 9px 19px;
  font-size: 0.97em;
  border-radius: 18px;
  margin-left: 6px;
  margin-right: 6px;
}
.cookie-banner .btn-settings {
  background: transparent !important;
  color: #fff;
  border: 1.2px solid #70a7bd;
}
.cookie-banner .btn-settings:hover {
  background: #70a7bd;
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
    padding: 19px 8px;
    font-size: 0.97em;
  }
}

/* ========== COOKIE MODAL ========== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5005;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 34, 43, 0.60);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #1a2936;
  border-radius: 14px;
  padding: 42px 32px 28px 32px;
  max-width: 97vw;
  width: 400px;
  box-shadow: 0 12px 64px rgba(15,35,80,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieFadeIn 0.44s cubic-bezier(0.81,0,0.19,1);
}
@keyframes cookieFadeIn {
  0% { transform: translateY(40px) scale(0.95); opacity: 0; }
  70% { opacity: 0.6; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-left: 0;
}
.cookie-modal label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal .cookie-toggle {
  width: 36px;
  height: 18px;
  border-radius: 12px;
  background: #d0dbea;
  position: relative;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  transition: background 0.16s;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  height: 14px; width: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(1,57,92,0.14);
  transition: transform 0.2s cubic-bezier(0.6,0,0.26,1);
}
.cookie-modal .cookie-toggle input:checked + .slider {
  transform: translateX(18px);
  background: #fff;
}
.cookie-modal .cookie-toggle input:checked ~ .slider {
  background: #fff;
}
.cookie-modal .cookie-toggle input:checked ~ .slider {
  box-shadow: 0 1px 8px rgba(34,38,85,0.22);
}
.cookie-modal .cookie-toggle input:checked {
  background: #70a7bd;
}
.cookie-modal .cookie-toggle input:checked ~ .slider {
  border: 2px solid #70a7bd;
}
.cookie-modal .cookie-toggle input:focus ~ .slider {
  outline: 2px solid #70a7bd;
}
.cookie-modal .required {
  color: var(--success);
  font-size: 0.96em;
  font-weight: 500;
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-modal .btn-primary, .cookie-modal .btn {
  margin-left: 0;
  margin-right: 0;
}

/* Modal close button */
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 20px;
  background: transparent;
  border: none;
  font-size: 1.28rem;
  color: #334153;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover { color: #70a7bd; }

@media (max-width: 480px) {
  .cookie-modal { padding: 22px 8px 18px 8px; width: 95vw; }
  .cookie-modal h2 { font-size: 1.09rem; }
}

/* ========== MISC CLASSES, SPACING ========== */
section ul, section ol { margin-left: 17px; margin-bottom: 12px; }
section ul li, section ol li { margin-bottom: 10px; }
hr {
  border: 0; border-top: 1px solid var(--accent);
  margin: 30px 0 22px 0;
}

/* Smaller text for meta/side info */
.small, small {
  font-size: 0.93em;
  color: #728497;
}

/* ================= END OF MAIN CSS ================= */
