/* ===============================================
   Noble Expeditions – playful_dynamic style CSS
   =============================================== */
/* RESET & BASE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6FAF7;
  color: #273640;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #AD6D1A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #36515C;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #36515C;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.08;
  margin-bottom: 20px;
  text-shadow: 1px 3px 8px rgba(216, 197, 133, 0.13);
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
}
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 18px;
  padding-right: 18px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/*=================== NAVIGATION ================*/
header {
  background: #FFFFFF;
  width: 100%;
  z-index: 20;
  box-shadow: 0 2px 12px 0 rgba(54, 81, 92, 0.07);
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 0;
  font-size: 1.02rem;
}
.main-nav > a {
  padding: 8px 18px;
  border-radius: 26px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #273640;
  background: none;
}
.main-nav > a:hover {
  background: #D9E3DC;
  color: #AD6D1A;
  box-shadow: 0 2px 8px 0 rgba(173,109,26,0.05);
}
.main-nav > .cta-primary {
  background: #AD6D1A;
  color: #fff !important;
  border-radius: 28px;
  box-shadow: 0 4px 20px 0 rgba(173,109,26,0.14);
  padding: 10px 28px;
  margin-left: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.08rem;
}
.main-nav > .cta-primary:hover {
  background: #36515C;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(54,81,92,0.15);
}
header img {
  height: 38px;
  width: auto;
  margin-right: 8px;
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: none;
  background: #AD6D1A;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 104;
  position: absolute;
  top: 13px;
  right: 16px;
  box-shadow: 0 2px 8px 0 rgba(173,109,26,0.13);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #36515C;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fffefd;
  box-shadow: 0 4px 40px 15px rgba(173,109,26,0.18);
  transform: translateX(-110vw);
  transition: transform 0.42s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 105;
  padding: 0 0 64px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: #36515C;
  border: none;
  border-radius: 50%;
  align-self: flex-end;
  margin: 14px 22px 8px 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 106;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #D9E3DC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 30px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #273640;
  transition: color 0.19s;
  font-weight: 600;
  border-radius: 10px;
  padding: 6px 12px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #AD6D1A;
  background: #D9E3DC;
}
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =========== HERO SECTION ============ */
.hero {
  background: #FFF8E9;
  border-bottom: 3px solid #D9E3DC;
  padding: 48px 0 48px 0;
  animation: heroFadeIn 1.1s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.hero h1 {
  color: #AD6D1A;
  font-size: 2.4rem;
  text-shadow: 3px 8px 15px rgba(173,109,26,0.07);
  margin-bottom: 18px;
}
.hero p {
  color: #273640;
  font-size: 1.18rem;
  margin-bottom: 30px;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 480px;
}

/* ========== FLEX CARD GRIDS ============ */
.card-container,
.feature-grid,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 6px 26px 0 rgba(54,81,92,0.07);
  padding: 28px 25px 20px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(50% - 14px);
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 2px solid #FFF8E9;
  position: relative;
  cursor: pointer;
  will-change: transform;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 40px 0 rgba(173,109,26,0.16), 0 2px 12px 0 rgba(54,81,92,0.06);
  transform: translateY(-5px) scale(1.025) rotate(-0.5deg);
  border-color: #AD6D1A;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  filter: drop-shadow(2px 2px 1px rgba(173,109,26,0.12));
}
.feature-grid h3 {
  color: #36515C;
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.feature-grid p {
  line-height: 1.5;
  font-size: 1.01rem;
  color: #273640;
}

@media (max-width: 860px) {
  .feature-grid > div {
    width: 100%;
  }
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(173,109,26,0.07);
  padding: 28px 20px 18px 20px;
  min-width: 220px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.020) rotate(0.7deg);
  box-shadow: 0 10px 35px 0 rgba(173,109,26,0.16);
}

/* ========= PLAYFUL BUTTONS (CTA) =========== */
.cta-primary {
  background: linear-gradient(90deg, #AD6D1A 92%, #D9E3DC 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  padding: 14px 38px;
  border-radius: 32px;
  margin-top: 14px;
  cursor: pointer;
  box-shadow: 0 5px 24px 0 rgba(173,109,26,0.16);
  transition: background 0.23s, box-shadow 0.17s, transform 0.17s;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #36515C 98%, #AD6D1A 100%);
  color: #fff;
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 12px 32px 0 rgba(54,81,92,0.16);
}

.cta-secondary {
  background: #36515C;
  color: #fff;
  border-radius: 28px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  margin-top: 12px;
  cursor: pointer;
  box-shadow: 0 1px 9px 0 rgba(54,81,92,0.08);
  transition: background 0.23s, box-shadow 0.16s, transform 0.17s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #AD6D1A;
  color: #fff;
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 8px 28px 0 rgba(173,109,26,0.14);
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 26px 22px 32px;
  margin: 22px 0 0 0;
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 6px 26px 0 rgba(54,81,92,0.11);
  border-left: 5px solid #AD6D1A;
  position: relative;
  min-width: 220px;
  color: #273640;
  font-size: 1.06rem;
}
.testimonial-card strong {
  color: #36515C;
  font-weight: 700;
  font-size: 1.04em;
}
.testimonial-card div:last-child {
  color: #AD6D1A;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
}
.testimonial-card p {
  color: #273640;
}

/* Proper color contrast for accessibility */
.testimonial-card, .testimonial-card * {
  text-shadow: none !important;
  background: none;
}

/* ============= FLEX LAYOUTS ============= */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================== FORMS ================= */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin-top: 20px;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
}
input[type="email"],
input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1.5px solid #D9E3DC;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  transition: border 0.17s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #36515C;
}
button[type="submit"] {
  background: #AD6D1A;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 11px 22px;
  font-size: 1.06rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 2px 10px 0 rgba(173,109,26,0.13);
  transition: background 0.15s, box-shadow 0.2s, transform 0.16s;
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: #36515C;
  box-shadow: 0 6px 17px 0 rgba(54,81,92,0.15);
  transform: scale(1.025);
}
.privacy-note {
  font-size: 0.94em;
  color: #666;
  margin-top: 5px;
}

/* ========== MAP PLACEHOLDER ========== */
.map-placeholder {
  background: #FFFFFF;
  border: 2px dashed #AD6D1A;
  padding: 24px;
  border-radius: 18px;
  font-style: italic;
  color: #36515C;
  text-align: center;
  margin-top: 12px;
  min-height: 70px;
}

/* ============== FOOTER ============== */
footer {
  background: #273640;
  color: #fff;
  width: 100%;
  margin-top: 30px;
  padding: 38px 0 16px 0;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 14px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 9px;
  font-size: 1.01rem;
  opacity: 0.93;
  transition: background 0.14s, color 0.16s, opacity 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #AD6D1A;
  color: #fff;
  opacity: 1;
}
footer img {
  height: 32px;
  width: auto;
  margin-bottom: 8px;
}
footer address {
  font-style: normal;
  margin: 0 0 10px 0;
  color: #fff;
  font-size: .97rem;
  opacity: 0.87;
}

/* ======================== COOKIE BANNER ================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: #FFF8E9;
  color: #273640;
  padding: 22px 12px 22px 20px;
  box-shadow: 0 -4px 32px 0 rgba(167,153,84,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  animation: cookieSlideUp 0.47s cubic-bezier(0.37,1.34,0.64,1) both;
}
@keyframes cookieSlideUp {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-btns button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  padding: 8px 24px;
  margin-right: 7px;
  transition: background 0.19s, color 0.15s, box-shadow 0.20s;
  font-weight: 700;
}
.cookie-banner .accept {
  background: #AD6D1A;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(173,109,26,0.11);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #36515C;
}
.cookie-banner .reject {
  background: #D9E3DC;
  color: #273640;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #AD6D1A;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #AD6D1A;
  border: 2px solid #D9E3DC;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  border-color: #AD6D1A;
  background: #D9E3DC;
  color: #36515C;
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 140;
  background: rgba(39, 54, 64, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: cookieModalFade 0.24s cubic-bezier(0.32,1.91,0.55,1) both;
}
@keyframes cookieModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  padding: 34px 30px 28px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 40px 0 rgba(54,81,92,0.18);
  min-width: 310px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 13px;
  background: none;
  border: none;
  color: #36515C;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.cookie-modal .cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07em;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #AD6D1A;
  width: 1.1em;
  height: 1.1em;
}
.cookie-modal .essential {
  color: #36515C;
  font-weight: 700;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 13px;
}

/* ============ TYPOGRAPHY + QUOTES ============= */
blockquote {
  border-left: 4px solid #AD6D1A;
  padding: 16px 14px 14px 22px;
  font-size: 1.08em;
  font-style: italic;
  background: #FFF8E9;
  color: #273640;
  border-radius: 11px;
  margin: 16px 0;
}

address {
  font-style: normal;
  color: #273640;
  font-size: 0.99em;
  opacity: 0.93;
}

/* ============= SECTIONS ============== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.contact-cta {
  background: #FFF8E9;
  border-radius: 26px;
  box-shadow: 0 4px 26px 0 rgba(173,109,26,0.11);
  margin-bottom: 72px;
  animation: popContactCTA 1.1s cubic-bezier(0.36,2,0.44,0.87) both;
}
@keyframes popContactCTA {
  from { opacity: 0; transform: scale(0.97) translateY(42px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============= MARKDOWN ELEMENTS ============= */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #36515C;
  margin-top: 17px;
}
dd {
  margin-bottom: 10px;
  margin-left: 20px;
  color: #273640;
}

/* ============ RESPONSIVE: MOBILE FIRST ============= */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .main-nav {
    display: none;
  }
  .content-wrapper, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .section {
    padding: 26px 4px;
    margin-bottom: 38px;
  }
  .feature-grid > div, .card {
    width: 100%;
    min-width: unset;
    padding: 22px 15px 16px 15px;
  }
  .hero {
    padding: 34px 0 32px 0;
  }
  .testimonial-card {
    padding: 16px 15px 14px 17px;
    font-size: 0.99rem;
  }
  .footer-menu {
    gap: 12px;
    padding-bottom: 12px;
    flex-wrap: wrap;
  }
  .mobile-menu {
    padding-bottom: 28px;
  }
}

/* ============= SMALL TABLET & UP ============= */
@media (min-width: 590px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (min-width: 780px) {
  .feature-grid > div {
    min-width: 260px;
  }
}
@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .main-nav {
    display: flex !important;
  }
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============= ANIMATIONS & HOVER EFFECTS ============== */
a, .cta-primary, .cta-secondary, button, .feature-grid > div, .card {
  transition: color 0.18s, background 0.18s, box-shadow 0.19s, transform 0.14s;
}
a:focus, button:focus, input:focus, .cta-primary:focus, .cta-secondary:focus, .feature-grid > div:focus {
  outline: 2px dashed #36515C;
  outline-offset: 2px;
}

/* ============== PLAYFUL MICRO-ANIMATIONS ============== */
.feature-grid > div:hover::after {
  content: "";
  position: absolute;
  right: 14px; top: 20px;
  width: 19px; height: 19px;
  background: #AD6D1A;
  opacity: 0.13;
  border-radius: 50%;
  z-index: 2;
  animation: bounceCircle 0.59s cubic-bezier(.4,1.4,.6,1.1);
}
@keyframes bounceCircle {
  0% { transform: scale(0); }
  70% { transform: scale(1.18); }
  80% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* ============ VISUAL HIERARCHY ========== */
.text-section h1, .hero h1 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.018em;
}

/* ============ SPACING AND CARD CONSISTENCY ========== */
.card-container,
.feature-grid,
.card-grid,
.content-grid {
  gap: 24px !important;
}
.card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px !important;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== OVERRIDES FOR ACCESSIBILITY ========== */
@media (prefers-contrast: high) {
  .testimonial-card, .footer, .cookie-banner {
    background: #fff !important;
    color: #273640 !important;
  }
  .cta-primary, .cta-secondary {
    background: #36515C !important;
    color: #fff !important;
  }
}

/* ========== UTILITIES ========== */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* ========= FOCUS OUTLINES FOR ACCESSIBILITY ========== */
button:focus, .cta-primary:focus, .cta-secondary:focus, .main-nav a:focus, .footer-menu a:focus, .mobile-menu-close:focus {
  outline: 3px solid #AD6D1A;
  outline-offset: 2px;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}

h1, h2, h3 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
}

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