/* ==== 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,
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 {
  scroll-behavior: smooth;
  background-color: #F2E7C6;
}
body {
  line-height: 1.5;
  background: #F2E7C6;
  color: #25413E;
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
* {box-sizing: border-box;}
a { color: inherit; text-decoration: none; outline: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
table {border-collapse: collapse; width: 100%;}
th, td {padding: 12px 10px; text-align: left;}

/* ======== BRAND TYPOGRAPHY ======== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25413E;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, td, th {
  font-family: 'Arial', sans-serif;
  color: #25413E;
  font-size: 1rem;
  font-weight: 400;
}
strong {
  color: #25413E;
  font-weight: 700;
}

/* ==== LAYOUT & CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(37, 65, 62, 0.06), 0 2px 8px rgba(137,161,138,0.07);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s cubic-bezier(.57,.21,.69,1.25), box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-3px) scale(1.02) rotate(-0.5deg);
  box-shadow: 0 6px 28px rgba(37,65,62,0.13), 0 4px 18px rgba(137,161,138,0.14);
}
.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: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(137,161,138,0.11), 0 1px 8px rgba(37,65,62,0.13);
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 280px;
  flex-direction: column;
  transition: box-shadow 0.21s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(137,161,138,0.18);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 22px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(37,65,62,0.07), 0 1.5px 6px rgba(137,161,138,0.08);
  min-width: 220px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.feature-item img {
  height: 38px;
  width: 38px;
}
.feature-item:hover {
  box-shadow: 0 4px 14px rgba(137,161,138,0.14);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(93deg, #F2E7C6 64%, #89A18A 100%);
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 10px;
  padding-top: 40px;
  padding-bottom: 38px;
  margin-bottom: 54px;
  box-shadow: 0 12px 40px 0 rgba(137,161,138,0.05);
}
.hero h1 {
  font-size: 2.3rem;
  color: #25413E;
  text-shadow: 0 2px 0 #F2E7C6; /* subtle highlight */
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
}
.hero p {
  font-size: 1.20rem;
  color: #25413E;
  margin-bottom: 20px;
}

/* ===== BUTTONS / CTA ===== */
.cta-button,
.button, a.button {
  display: inline-block;
  background: #25413E;
  color: #F2E7C6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  padding: 13px 32px 13px 24px;
  border-radius: 24px 10px 30px 14px / 18px 14px 28px 16px;
  border: none;
  box-shadow: 0 3px 15px 0 rgba(37,65,62,0.13);
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.15s, color .16s, transform 0.14s, box-shadow .19s;
  position: relative;
  overflow: hidden;
  outline: none;
}
.cta-button:after {
  content: "";
  display: block;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url('../assets/icons/icon-fish.svg') center/contain no-repeat;
  opacity: 0.85;
}
.cta-button:hover,
.button:hover {
  background: #89A18A;
  color: #25413E;
  box-shadow: 0 5px 24px 0 rgba(37,65,62,0.19);
  transform: translateY(-2px) scale(1.03) rotate(-1.2deg);
}
.button:active, .cta-button:active {
  background: #357064;
  color: #F2E7C6;
}

/* ===== MAIN NAV ===== */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  background: transparent;
  padding: 24px 20px 8px 20px;
  font-size: 1rem;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #7c8f8d;
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 4px;
  position: relative;
  transition: background 0.12s, color 0.15s;
}
.main-nav a.logo-link {
  padding: 0 !important;
  margin-right: 16px;
  min-width: 48px;
}
.main-nav a:not(.logo-link):hover {
  background: #F2E7C6;
  color: #357064;
}
.main-nav a.cta-button {
  margin-left: auto;
  margin-right: 0;
  box-shadow: 0 2px 8px rgba(137, 161, 138, 0.12);
}
/* Focus style for nav */
.main-nav a:focus-visible {
  outline: 2px solid #F2E7C6;
  outline-offset: 1px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 22px;
  background: #25413E;
  color: #F2E7C6;
  border: none;
  border-radius: 14px 8px 18px 10px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 990;
  transition: background 0.12s;
  cursor: pointer;
}
.mobile-menu-toggle:focus-visible {
  outline: 2px solid #89A18A;
}
.mobile-menu-toggle:hover {background: #89A18A; color: #25413E;}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #25413E;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.69,-0.01,.35,1.12);
  z-index: 999;
  padding-top: 32px;
  padding-left: 0;
  padding-right: 0;
  overflow-y: auto;
  box-shadow: 8px 0 36px rgba(37,65,62,0.16);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F2E7C6;
  border: none;
  font-size: 2.1rem;
  margin-left: 32px;
  margin-bottom: 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.1s;
}
.mobile-menu-close:focus-visible {
  outline: 2px solid #F2E7C6;
}
.mobile-menu-close:hover {
  background: #89A18A;
  color: #25413E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #F2E7C6;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 11px 12px;
  transition: background 0.1s, color 0.13s;
  margin-bottom: 4px;
}
.mobile-nav a:focus-visible {
  outline: 2px solid #F2E7C6;
}
.mobile-nav a:hover {
  background: #89A18A;
  color: #25413E;
}

/* ===== FOOTER ===== */
footer {
  margin-top: 52px;
  background: #25413E;
  color: #F2E7C6;
  padding: 36px 0 32px 0;
  border-top-left-radius: 60px;
  border-top-right-radius: 10px;
  box-shadow: 0 -8px 32px 0 rgba(137,161,138,0.06);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  align-items: center;
}
.footer-nav a {
  color: #F2E7C6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 12px;
  transition: background 0.13s, color 0.14s;
}
.footer-nav a:hover {
  background: #F2E7C6;
  color: #25413E;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.98rem;
  color: #F2E7C6;
}

/* ==== LEGAL PAGES ==== */
.legal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 22px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(137, 161, 138, 0.05);
}
.legal h1 {font-size: 2.0rem; margin-bottom: 14px;}
.legal h2 {font-size: 1.32rem; margin-top: 18px;}
.legal h3 {font-size: 1.14rem; margin-top: 16px;}
.legal ul {margin-left: 1em;}
.legal li {margin-bottom: 9px;}
.legal a {color: #25413E; text-decoration: underline;}

/* ===== TABLES ===== */
table {
  border-radius: 14px;
  background: #fff;
  margin-top: 16px;
  box-shadow: 0 1px 6px rgba(137,161,138,0.13);
  overflow: hidden;
}
th {
  background: #89A18A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
td {
  background: #F2E7C6;
}
tr:nth-child(even) td {background: #fff;}

/* ===== LISTS ===== */
ul {
  margin-left: 1.2em;
  padding-left: 0;
  list-style: disc inside;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  padding-left: 0.35em;
}
ul li img {
  width: 1.18em; vertical-align: top; margin-right: 8px;}

/* ====== TESTIMONIALS OVERRIDES ====== */
.testimonials .content-wrapper,
.testimonials-tours .content-wrapper,
.testimonials-courses .content-wrapper,
.family-testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25413E;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #89A18A;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* ===== FAMILY COLORFUL BADGE ===== */
.family-testimonials .testimonial-card, .testimonials-tours .testimonial-card {
  background: #F2E7C6;
  border-left: 6px solid #89A18A;
  border-radius: 20px 14px 26px 18px / 20px 24px 20px 15px;
}

/* ===== SPACING / LAYOUT RULES (MANDATORY) ===== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

.section, .feature-grid, .content-grid, .text-image-section, .card-container, .testimonials .content-wrapper {
  margin-bottom: 20px;
}
.feature-grid > * { flex: 1 1 200px; min-width: 160px; }

/* ====== FORMATTING & DECORATIVE (ARTISTIC) ====== */
.hero, .footer-nav a, .main-nav a, .cta-button, .feature-item, .testimonial-card, .card {
  box-shadow: 0 3px 18px rgba(137,161,138, 0.06);
}
.section {
  border-radius: 18px 11px 24px 17px / 18px 24px 11px 28px;
  background: #fffdfa;
  box-shadow: 0 3px 16px rgba(137, 161, 138, 0.04);
}

@media (max-width: 1060px) {
  .container { max-width: 98vw; }
}
@media (max-width: 870px) {
  .footer-contact { flex-direction: column; }
  .footer-nav { gap: 13px; }
  .feature-grid { gap: 16px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 28px 10px 24px 10px;
  }
  .section {
    padding: 30px 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid { gap: 13px; }
  .feature-item {
    min-width: 140px;
    padding: 16px 8px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    padding: 13px;
    font-size: 0.99rem;
  }
  .footer-contact, .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start !important;
  }
}
@media (max-width: 520px) {
  h1 {font-size: 1.38rem;}
  h2 {font-size: 1.14rem;}
  h3 {font-size: 1rem;}
  .footer-contact, .footer-nav {font-size: .96rem;}
  .container { padding-left: 7px; padding-right: 7px; }
  .cta-button {font-size: 0.99rem; padding: 10px 14px 10px 12px; }
}


/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #25413E;
  color: #F2E7C6;
  z-index: 1100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  box-shadow: 0 -4px 28px rgba(137,161,138,0.13);
  font-size: 1rem;
  gap: 16px;
  animation: cookieSlideIn 0.5s cubic-bezier(.91,0,.14,1.11);
}
@keyframes cookieSlideIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 1 1 250px;
  font-size: 1.02rem;
  max-width: 75vw;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-consent-btn {
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px 10px 18px 11px;
  border: none;
  font-size: .99rem;
  font-weight: 700;
  background: #F2E7C6;
  color: #25413E;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-consent-btn.accept { background: #89A18A; color: #fff; }
.cookie-consent-btn.reject {
  background: #F06843;
  color: #fff;
}
.cookie-consent-btn.settings {
  background: #25413E;
  color: #F2E7C6;
  border: 2px solid #F2E7C6;
  font-weight: 600;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus-visible {
  opacity: 0.91;
  filter: brightness(1.06);
  outline: none;
}

/* ======= COOKIE MODAL ======= */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,65,62,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.5s cubic-bezier(.91,0,.1,1.06);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #F2E7C6;
  color: #25413E;
  border-radius: 22px 12px 30px 16px / 22px 20px 20px 15px;
  width: 98vw;
  max-width: 460px;
  padding: 36px 24px 28px 24px;
  box-shadow: 0 3px 32px rgba(37,65,62,0.23);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
  animation: cookiePanelIn 0.6s cubic-bezier(.57,.21,.69,1.25);
}
@keyframes cookiePanelIn {
  from { transform: scale(0.92) translateY(28px); opacity: 0; }
  to { transform: scale(1) translateY(0px); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #357064;
}
.cookie-toggle {
  accent-color: #89A18A;
  width: 24px;
  height: 24px;
}
.cookie-category .essential {
  color: #F28630;
  font-weight: 700;
  margin-left: 6px;
  font-size: .97rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #25413E;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}
.cookie-modal-close:focus-visible {outline: 2px solid #89A18A;}
.cookie-modal-close:hover {background: #89A18A; color: #F2E7C6;}

/* ======= GENERAL ANIMATIONS & MICRO-INTERACTIONS ======= */
.cta-button, .button, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.22s, color .18s, box-shadow 0.18s, transform 0.16s;
}
.card, .feature-item, .testimonial-card {
  transition: transform 0.17s, box-shadow 0.18s;
}
.card:active, .feature-item:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid #F28630 !important;
  outline-offset: 2px;
}

/* ======= MISC ======= */
::-webkit-scrollbar {
  width: 9px;
  background: #F2E7C6;
}
::-webkit-scrollbar-thumb {
  background: #89A18A;
  border-radius: 8px;
}

::-moz-selection { background: #89A18A; color: #fff; }
::selection { background: #89A18A; color: #fff; }

/* ===== EXTRA ARTISTIC ELEMENTS ===== */
h1, h2, h3, h4, h5, h6 {
  text-rendering: geometricPrecision;
  letter-spacing: 0.03em;
}
h1 {
  background: linear-gradient(90deg,#25413E 60%, #89A18A 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ===== PAGE-SPECIFIC CORNER DECOR (OPTIONAL) ===== */
@media (min-width: 900px) {
  .hero {
    position: relative;
  }
  .hero::before {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -28px;
    width: 120px;
    height: 63px;
    border-radius: 80px 40px 90px 22px;
    background: #89A18A;
    opacity: 0.16;
    z-index: 0;
  }
}

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