/* Boreal Expedition Luxury Premium CSS */
/* ==================================================
  0. CSS RESET & BASE TYPOGRAPHY
================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f9f8f6;
  color: #1A213A;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A213A;
  text-decoration: none;
  transition: color 0.2s;
}
strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A213A;
  margin-bottom: 0.7em;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.5rem;
  margin-top: 0.5em;
}
h3 {
  font-size: 1.18rem;
  font-weight: 600;
}
p {
  margin-bottom: 1.2em;
  color: #262d45;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Luxury Theme Color Palette */
:root {
  --primary: #1A213A;
  --secondary: #41B6E6;
  --accent: #F9F8F6;
  --gold: #BFA058;
  --offwhite: #f4f3ef;
  --deepnavy: #181b2a;
  --button-gradient: #F5E9C4;
  --shadow: 0 6px 18px rgba(26,33,58,0.11);
}

/* ==================================================
  1. HEADER & NAVIGATION
================================================== */
header {
  background: var(--primary);
  box-shadow: 0 0px 18px rgba(26,33,58,0.08);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.main-nav a img {
  height: 42px;
  margin-right: 28px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin-right: auto;
  margin-left: 32px;
}
.main-nav ul li a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .1px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  color: var(--gold);
  background: rgba(191,160,88,0.12);
}
.cta-primary {
  background: var(--gold);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 16px rgba(191,160,88,0.10);
  border: none;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.24s, color 0.24s, box-shadow 0.24s, transform 0.15s;
  border-bottom: 2px solid #f7df8b;
}
.cta-primary:hover, .cta-primary:focus {
  background: #ddba64;
  color: #181b2a;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px 0 rgba(191,160,88,0.15);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 16px;
  background: var(--deepnavy);
  color: var(--gold);
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1301;
  transition: background 0.21s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--gold);
  color: var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  box-shadow: 0 4px 24px rgba(26,33,58,0.21);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.6,0.2,0.2,1);
  z-index: 1300;
  padding: 36px 0 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: var(--gold);
  font-size: 2.1rem;
  border: none;
  margin: 0 20px 24px 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-radius: 5px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #fffbe5;
  background: #bfa0582a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #bfa0581a;
  color: var(--gold);
}

/* Hide desktop menu/show mobile menu button on small screens */
@media (max-width: 991px) {
  .main-nav ul,
  .main-nav .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==================================================
  2. HERO SECTION
================================================== */
.hero-section {
  background: linear-gradient(115deg, #f9f8f6 80%, #f5e9c4 100%);
  border-bottom: 1px solid #ede6cd;
  padding: 60px 0 56px 0;
  position: relative;
  margin-bottom: 0;
}
.hero-section h1 {
  font-size: 2.5rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero-section p {
  font-size: 1.18rem;
  line-height: 1.7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #262d45;
  margin-bottom: 32px;
}
.hero-section .cta-primary {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 16px 36px;
  border-radius: 30px;
  font-weight: 700;
}

/* --- Hero content wrapper --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 0;
}

/* ==================================================
  3. FEATURE & CARD LAYOUTS
================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
  list-style: none;
  margin-top: 18px;
  margin-bottom: 18px;
}
.feature-grid li {
  background: #fff;
  border: 1px solid #efe6c9;
  border-radius: 18px;
  padding: 28px 24px 26px 24px;
  box-shadow: 0 2px 12px 0 rgba(191,160,88,0.07);
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.21s, transform 0.21s;
}
.feature-grid li:hover {
  box-shadow: 0 10px 32px 0 rgba(191,160,88,0.15);
  transform: translateY(-3px) scale(1.012);
  border-color: var(--gold);
}
.feature-grid li img {
  height: 36px;
  width: 36px;
  margin-bottom: 8px;
}
.feature-grid li h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.20rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 30px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
  border: 1.5px solid #ede5ce;
  min-width: 280px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,33,58,0.13);
  transform: translateY(-3px) scale(1.015);
  border-color: var(--gold);
}

.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;
  background: #faf8f2;
  border: 1px solid #ede6cd;
  box-shadow: 0 2px 12px 0 rgba(26,33,58,0.06);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  color: #181b2a;
  font-size: 1.08rem;
  max-width: 480px;
  position: relative;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
  display: block;
  margin-top: 10px;
  font-weight: 700;
}
/* TESTIMONIAL CONTRAST ENFORCED */
.testimonial-card p, .testimonial-card strong {
  color: #181b2a !important;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border: 1px solid #ede6cd;
  border-radius: 14px;
  padding: 20px 16px;
}

.text-section {
  margin-top: 15px;
  margin-bottom: 20px;
}
.text-section h3 {
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 0.3em;
}

/* Card and Section Alignment/Spacing */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ==================================================
  4. BUTTONS & INTERACTIVE ELEMENTS
================================================== */
button,
input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: var(--primary);
  padding: 12px 34px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(191,160,88,0.12);
}
button:hover, button:focus, .cta-primary:focus {
  background: #e7c976;
  color: var(--primary);
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
/* Links styled as buttons */
a.cta-primary {
  display: inline-block;
  text-align: center;
}
a.cta-primary:focus,
a.cta-primary:active {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Micro-interactions: smooth transitions */
.card, .feature-grid li, .cta-primary, button, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.17s, border-color 0.21s, background 0.18s, color 0.18s;
}

/* ==================================================
  5. FOOTER
================================================== */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 44px 0 22px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--gold);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 2px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
footer address {
  font-size: 0.97rem;
  font-style: normal;
  line-height: 1.7;
  color: #f2efd9;
  margin-bottom: 8px;
}
footer img {
  display: inline-block;
  height: 1.2em;
  vertical-align: middle;
  margin-right: 6px;
}
footer p {
  margin-top: 16px;
  color: #dcceaf;
  font-size: 0.97rem;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ==================================================
  6. COOKIE CONSENT BANNER & MODAL
================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fffbe7;
  color: #1A213A;
  box-shadow: 0 -2px 18px 0 rgba(191,160,88,0.13);
  border-top: 2.5px solid var(--gold);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  padding: 28px 10px 22px 10px;
  z-index: 2200;
  font-size: 1rem;
  opacity: 1;
  animation: bannerFadeIn 0.66s;
}
@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: none; }
}
.cookie-consent-banner p {
  margin: 0 14px 0 0;
  color: #1A213A;
}
.cookie-consent-banner .cookie-btn {
  margin-right: 12px;
  background: var(--gold);
  color: var(--primary);
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 10px 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(191,160,88,0.11);
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.cookie-consent-banner .cookie-btn:hover,
.cookie-consent-banner .cookie-btn:focus {
  background: #ddba64;
  color: #181b2a;
}
.cookie-consent-banner .cookie-settings {
  background: #faf8f2;
  color: var(--primary);
  border: 1.5px solid var(--gold);
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 24px;
  margin-left: 4px;
  font-weight: 600;
  transition: background 0.18s, color 0.12s;
}
.cookie-consent-banner .cookie-settings:hover,
.cookie-consent-banner .cookie-settings:focus {
  background: #f1e9d2;
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed; z-index: 3000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26,33,58,0.32);
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  padding: 36px 22px 28px 28px;
  border-radius: 18px;
  width: 95vw;
  max-width: 420px;
  box-shadow: 0 10px 50px 0 rgba(44, 44, 54,0.18);
  animation: modalIn 0.38s cubic-bezier(.56, .7, .55, 1.02);
  position: relative;
}
@keyframes modalIn {
  from {opacity: 0; transform: scale(.88) translateY(30px);}
  to {opacity: 1; transform: none;}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-modal label {
  font-size: .98rem;
  color: #1A213A;
  min-width: 110px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--gold);
  width: 22px; height: 22px;
  margin-right: 8px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 13px; right: 12px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  color: #d7b44a;
}

/* ==================================================
  7. RESPONSIVE DESIGN
================================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 1010px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid li {
    padding: 19px 12px 13px 13px;
  }
  .card, .testimonial-card {
    min-width: 220px;
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 840px) {
  .card-container,
  .feature-grid,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  section {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 38px 0 36px 0;
  }
  .hero-section .container {
    padding: 0 4vw;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .card, .testimonial-card, .feature-grid li {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .mobile-menu {
    padding-left: 0;
  }
  .mobile-nav {
    margin-left: 8vw;
  }
  .cookie-modal {
    padding: 20px 8px 24px 10px;
    font-size: 1rem;
  }
}
@media (max-width: 478px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.07rem; }
  .cta-primary, button {
    padding: 11px 22px;
    font-size: .98rem;
  }
  .feature-grid li {
    padding: 9px 3px 10px 7px;
  }
  .testimonial-card, .card {
    padding: 12px 5px 12px 8px;
  }
}

/* ==================================================
  8. UTILITY & DETAIL
================================================== */
/* Gold line used for visual divider */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 32px auto;
  border-radius: 2px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #efe8c8;
}
::-webkit-scrollbar-thumb {
  background: #BFA058;
  border-radius: 6px;
}

/* List icon style for luxury */
ul li::marker {
  color: var(--gold);
}

/* Miscellaneous adjustments for visual polish */
address {
  font-style: normal;
  color: #181b2a;
}

/* Remove blue webkit autofill on input fields if any exist */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 35px #f9f8f6 inset !important;
  -webkit-text-fill-color: #1A213A !important;
}

/* =============================================
   9. TRANSITIONS AND ANIMATIONS
============================================= */
a, .cta-primary, button, .testimonial-card, .feature-grid li, .card {
  transition-property: background, color, box-shadow, border, transform;
  transition-duration: 0.2s;
}

/* ==================================================
  10. ACCESSIBILITY & FOCUS STATES
================================================== */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==================================================
  11. PRINT OPTIMIZATION
================================================== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {display: none !important;}
  body {background: #fff; color: #000;}
}

/* ==================================================
 * END Luxury Premium CSS for Boreal Expedition
================================================== */