/* --- CSS RESET & NORMALIZE START --- */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
:root {
  --color-primary: #215273;
  --color-secondary: #67A9BB;
  --color-accent: #F6E9C9;
  --color-bg: #111d26;
  --color-card: #173755;
  --color-card-light: #21394a;
  --color-text: #FFFFFF;
  --color-text-dark: #1A222C;
  --color-muted: #a7bac7;
  --color-neon: #30D5C8;
  --color-border: #243b4a;
  --color-shadow: rgba(48,213,200,0.16);
}

/* --- BASE TYPOGRAPHY --- */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 480px) {
  body { font-size: 15px; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
  letter-spacing: .01em;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }

p, ul, ol, li, a, span {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
}
strong, b {
  font-weight: bold;
  color: var(--color-neon);
}
p { margin-bottom: 18px; }

ul, ol {
  margin-bottom: 18px;
  margin-left: 22px;
}
ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.6;
}
a {
  color: var(--color-neon);
  text-decoration: none;
  transition: color .2s cubic-bezier(.63,.09,.46,1.33);
}
a:hover, a:focus {
  color: var(--color-accent);
  outline: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 0;
  gap: 16px;
}

.hero {
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 10px;
}

.cta {
  align-items: center;
  text-align: center;
}
.confirmation {
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--color-card-light);
  border-radius: 18px;
  box-shadow: 0 8px 40px var(--color-shadow);
}

/* --- SPACING & FLEX UTILITIES (MANDATORY PATTENS) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: box-shadow 0.18s cubic-bezier(.73,.03,.5,1.17), transform 0.2s;
}
.card:hover {
  box-shadow: 0 12px 38px var(--color-neon);
  transform: translateY(-4px) scale(1.006);
}
.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 {
  background: var(--color-accent);
  color: var(--color-text-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  margin-top: 8px;
  box-shadow: 0 4px 24px rgba(33,82,115,0.12);
  position: relative;
}
.testimonial-card span {
  color: #E2BC0A;
  letter-spacing: 2px;
  font-size: 1.1em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 1024px) {
  .container { max-width: 900px; }
  .content-grid { flex-direction: column; }
}
@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 36px; }
  .content-wrapper { gap: 10px; }
  .text-image-section { flex-direction: column; gap: 16px; align-items: flex-start; }
  .card-container, .content-grid { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 18px 4px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 14px 2px; }
}

/* --- NAVIGATION HEADER --- */
header {
  width: 100%;
  background: var(--color-card);
  border-bottom: 2px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(33,82,115,0.072);
  position: relative;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 0 10px 0;
}
header nav a img {
  width: 160px;
  margin-right: 18px;
  vertical-align: middle;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: var(--color-accent);
  padding: 9px 14px;
  border-radius: 8px;
  position: relative;
  transition: background 0.18s, color 0.2s;
}
header nav ul li a:hover,
header nav ul li a.active {
  background: var(--color-neon);
  color: var(--color-primary);
  text-shadow: 0 0 4px #66f9fa4f;
}

.cta-primary {
  background: linear-gradient(95deg,#2febd4 .8%,#67A9BB 98%);
  color: #083e53 !important;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 13px;
  font-size: 1.1rem;
  padding: 11px 26px;
  box-shadow: 0 4px 24px var(--color-shadow);
  transition: background 0.25s, box-shadow 0.18s, color 0.22s;
  margin-left: 10px;
  position: relative;
  letter-spacing: .05em;
  cursor: pointer;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: linear-gradient(105deg,#30D5C8 0%,#A2B8EB 100%);
  color: #1A222C;
  box-shadow: 0 8px 36px #67a9bb61;
  text-shadow: none;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 16px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-neon);
  z-index: 51;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu-toggle:active {
  color: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(28,49,65, 0.96);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.69,-0.03,.17,.99);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2.3rem;
  padding: 18px 22px 10px 22px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1010;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 72px 0 0 34px;
  gap: 20px;
}
.mobile-nav a {
  color: var(--color-neon);
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  border-radius: 9px;
  padding: 12px 16px;
  margin-bottom: 0;
  min-width: 200px;
  display: block;
  transition: background 0.12s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  header nav ul { gap: 7px; }
  .cta-primary { font-size: 1rem;padding: 8px 16px; }
  header nav a img { width: 130px; }
}
@media (max-width: 940px) {
  .cta-primary { display: none; }
}
@media (max-width: 768px) {
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* END MOBILE NAV */

/* --- FEATURE, DESTINATION, TEAM & BLOG GRIDS --- */
.feature-grid, .destination-grid, .team, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .destination-grid > div, .team > div, .blog-list > li {
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--color-shadow);
  padding: 26px 18px;
  flex: 1 1 240px;
  min-width: 225px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border-top: 3px solid var(--color-neon);
}
.feature-grid > div img, .destination-grid > div img {
  width: 42px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--color-bg);
  padding: 4px;
}
.feature-grid > div:hover, .destination-grid > div:hover, .team > div:hover, .blog-list > li:hover {
  box-shadow: 0 7px 34px var(--color-neon);
  transform: translateY(-4px) scale(1.017);
  border-color: var(--color-accent);
}
.team > div {
  background: var(--color-card-light);
  border-left: 5px solid var(--color-secondary);
}
.blog-list > li {
  background: var(--color-card-light);
  border-left: 4px solid var(--color-neon);
  margin-bottom: 18px;
}
.blog-list > li a {
  margin-top: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--color-neon);
  font-size: 1rem;
  transition: color .18s;
}
.blog-list > li a:hover { color: var(--color-accent); }

@media (max-width: 1024px) {
  .feature-grid, .destination-grid, .team, .blog-list {
    flex-direction: column;
    gap: 13px;
  }
  .feature-grid > div, .destination-grid > div, .team > div, .blog-list > li {
    max-width: 100%;
    min-width: 160px;
    padding: 16px 10px;
  }
}

/* --- FOOTER --- */
footer {
  background: var(--color-card);
  color: var(--color-muted);
  padding: 0 0 24px 0;
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -3px 18px #30d5c82b;
  position: relative;
  z-index: 20;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;
  padding: 32px 0 10px 0;
}
footer nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 0;
  margin-bottom: 0;
}
footer nav ul li a {
  color: var(--color-accent);
  font-size: 1rem;
  padding: 5px 0;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
footer nav ul li a:hover {
  background: var(--color-neon);
  color: var(--color-primary);
}
footer img {
  width: 68px;
  margin-bottom: 11px;
}
footer p, footer h3 {
  color: var(--color-muted);
  font-size: 1.01rem;
}
footer h3 {
  font-size: 1.1rem;
  color: var(--color-accent);
}
footer .container:last-child p {
  text-align: center;
  color: var(--color-muted);
  margin: 12px 0 0 0;
  font-size: 0.97rem;
}

@media (max-width: 1024px) {
  footer .content-wrapper {
    gap: 9px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- MISC UTILS & MODERN ELEMENTS --- */
.subheadline {
  color: var(--color-secondary);
  font-size: 1.23rem;
  margin-bottom: 23px;
  font-weight: 500;
  letter-spacing: .01em;
}

::-webkit-scrollbar { width: 10px; background: #1a2430; }
::-webkit-scrollbar-thumb { background: var(--color-neon); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-secondary); }

hr {
  border: 0;
  height: 1px;
  background: var(--color-border);
  margin: 32px 0;
}

/* --- FORMS & INPUTS --- */
input, textarea, select {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-card-light);
  color: var(--color-text);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 16px;
  box-shadow: 0 2px 9px var(--color-shadow);
  outline: none;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border: 1px solid var(--color-neon);
}
button, input[type="submit"] {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 12px;
  background: var(--color-neon);
  color: var(--color-primary);
  border: none;
  font-size: 1.04rem;
  padding: 8px 22px;
  box-shadow: 0 2px 15px #30d5c832;
  margin-top: 7px;
  transition: background .17s, color .16s, box-shadow .19s;
}
button:hover, button:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 24px #67a9bb4c;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: var(--color-card-light);
  color: var(--color-text);
  box-shadow: 0 -2px 18px #21527342;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 28px;
  font-size: 1rem;
  border-top: 3px solid var(--color-neon);
  animation: cookieBannerSlideIn .7s cubic-bezier(.72,-0.17,.11,1.04);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: var(--color-neon);
  color: var(--color-primary);
  border-radius: 10px;
  border: none;
  margin-left: 6px;
  margin-right: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  transition: background .14s, color .13s, box-shadow .16s;
  box-shadow: 0 2px 12px #30d5c82c;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--color-secondary);
  color: #fff;
  outline: none;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: var(--color-neon);
  border: 1.5px solid var(--color-neon);
  padding: 8px 16px;
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--color-bg);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.cookie-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(21,37,57,0.94);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalMaskShow 0.2s cubic-bezier(.72,-0.17,.11,1.04);
}
@keyframes modalMaskShow {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--color-card-light);
  color: var(--color-text);
  border-radius: 17px;
  padding: 36px 32px 24px 32px;
  box-shadow: 0 12px 44px #30d5c84f;
  min-width: 300px;
  max-width: 95vw;
  min-height: 200px;
  position: relative;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 20px 8px; min-width: 0; }
}
.cookie-modal h2 {
  color: var(--color-neon);
  margin-bottom: 18px;
}
.cookie-modal .close {
  position: absolute;
  right: 17px;
  top: 13px;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: var(--color-neon);
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal .close:hover,
.cookie-modal .close:focus {
  color: var(--color-accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0 14px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg);
  padding: 9px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #67a9bb23;
}
.cookie-category label {
  flex: 1 1 0%;
  color: var(--color-accent);
  font-size: 1.01rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-neon);
  width: 20px; height: 20px;
}
.cookie-category .always-on {
  color: var(--color-neon);
  font-size: 0.97rem;
  font-style: italic;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 11px;
}
.cookie-modal .cookie-actions button {
  background: var(--color-neon);
  color: var(--color-primary);
  border-radius: 9px;
  border: none;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  box-shadow: 0 2px 10px #30d5c82a;
  transition: background .15s, color .12s;
}
.cookie-modal .cookie-actions button:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* --- Animations / Micro-interactions --- */
.card, .feature-grid > div, .destination-grid > div, .team > div, .testimonial-card, .blog-list > li {
  transition: box-shadow .17s, transform .16s, border-color .18s;
}
.cta-primary, button, .cookie-btn {
  transition: background .19s, color .15s, box-shadow .23s, border .2s;
}

@media (max-width:600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    padding: 16px 8px;
  }
}

/* --- ACCESSIBILITY FOCUSED --- */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid var(--color-neon);
  outline-offset: 2px;
}

/* --- OVERRIDES, FINE TUNING --- */
.section:last-child { margin-bottom: 0; }
.card-container > .card:last-child, .content-grid > .card:last-child {
  margin-bottom: 0;
}
.content-wrapper:last-child { margin-bottom: 0; }

/* --- END OF CSS --- */
