/* === 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 {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #101726;
  color: #F4EFEA;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
a {
  color: #52A1D3;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F4EFEA;
}
ul, ol {
  padding-left: 1.2em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 8px 12px;
}
th {
  background: #11335B;
  color: #F4EFEA;
  font-weight: 700;
}
td {
  background: #182949;
  color: #F4EFEA;
}

/* === BRAND COLORS & FONTS === */
:root {
  --color-primary: #11335B;
  --color-secondary: #52A1D3;
  --color-accent: #F4EFEA;
  --color-bg: #101726;
  --color-card: #17203b;
  --color-border: #29416A;
  --color-shadow: rgba(16,40,85,0.12);
  --color-neon: #2ff7ff;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* === LAYOUT UTILITY === */
/** Container **/
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  color: var(--color-accent);
  padding: 32px 24px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 0 24px var(--color-neon);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F4EFEA;
  color: #101726;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(16,40,85,0.09);
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #101726;
}
.testimonial-card:hover {
  box-shadow: 0 0 20px var(--color-neon);
  transform: translateY(-4px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  min-width: 210px;
  border-radius: 18px;
  background: var(--color-card);
  color: var(--color-accent);
  box-shadow: 0 1px 10px var(--color-shadow);
  margin-bottom: 20px;
  border: 1.5px solid transparent;
  transition: border-color 0.16s, box-shadow 0.18s;
}
.feature-item:hover {
  border-color: var(--color-neon);
  box-shadow: 0 0 16px var(--color-neon);
}

/* === FLEX LAYOUTS FOR PAGE ELEMENTS === */
.features .feature-grid,
.yacht-overview .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.facility-list ul,
.about-section ul,
.membership-benefits ul,
.membership-levels .join-steps,
.event-highlights ul,
.event-services ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-nav, .legal-nav, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.footer-contact {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #F4EFEA;
}

/***** HEADER & NAVIGATION *****/
header {
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary) 80%, var(--color-secondary) 95%);
  box-shadow: 0 1px 14px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  min-height: 70px;
  gap: 28px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #F4EFEA;
  position: relative;
  letter-spacing: 0.05em;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--color-neon);
  transition: width 0.22s;
  position: absolute;
  left: 0;
  bottom: -4px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 60%;
}
header a img {
  max-height: 58px;
  display: block;
}

/***** BUTTONS *****/
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 40px;
  border-radius: 36px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #101726;
  background: var(--color-neon);
  box-shadow: 0 0 18px #2599b0c0;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.13s;
  text-shadow: 0 0 10px #b5faff78;
  margin-left: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #52A1D3;
  color: #F4EFEA;
  box-shadow: 0 0 28px var(--color-neon);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: var(--color-secondary);
  color: #F4EFEA;
  font-weight: 600;
  box-shadow: 0 0 8px #52A1D3;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #2ff7ff;
  color: #101726;
  box-shadow: 0 0 20px var(--color-secondary);
}

/***** HAMBURGER / MOBILE MENU *****/
.mobile-menu-toggle {
  display: none;
  font-size: 36px;
  color: var(--color-neon);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1004;
  padding: 10px 18px;
  transition: color 0.18s, background 0.22s;
  border-radius: 10px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #ffffff;
  background: #1b4369;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(120deg, #101726 90%, #11335B 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1002;
  transform: translateX(-105vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.73,.23,.33,1.09), opacity 0.4s;
  box-shadow: 0 6px 44px 6px #052255cc;
  padding-top: 30px;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  right: 28px;
  top: 28px;
  font-size: 36px;
  color: var(--color-neon);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1005;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F4EFEA;
  background: #213965;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 70px;
  margin-left: 34px;
}
.mobile-nav a {
  color: #F4EFEA;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 0;
  text-shadow: 0 0 4px #122c46cc;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:active, .mobile-nav a:hover { color: var(--color-neon); background: none; }

/***** HERO SECTIONS *****/
.hero {
  width: 100%;
  min-height: 380px;
  padding-top: 70px;
  padding-bottom: 40px;
  background: linear-gradient(120deg,#11335B 70%,#52A1D3 130%);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 2px 36px #092b46de;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 15px;
  color: #F4EFEA;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--color-neon);
  text-shadow: 0 2px 16px #1c5559ba;
  margin-bottom: 5px;
}
.hero .subheadline {
  font-size: 1.35rem;
  font-family: var(--font-body);
  color: #d6eeff;
}
/***** SECTIONS TITLES & SUBHEADS *****/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-neon);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  line-height: 1.16;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 6px;
}
h3 {
  font-size: 1.3rem;
}

/***** FEATURE SECTIONS *****/
.features, .feature-grid {
  width: 100%;
  margin-bottom: 60px;
}
.features h2, .about-preview h2, .about-section h2, .testimonial-list h2, .cta h2 {
  color: var(--color-secondary);
}
.features .feature-grid {
  gap: 24px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 7px #2ff7ff88);
}

/***** CTA SECTION *****/
.cta {
  text-align: center;
  background: linear-gradient(90deg, #182949 85%, #29416A 100%);
  border-radius: 24px;
  margin-bottom: 64px;
  padding: 44px 20px;
  box-shadow: 0 2px 20px #15192e47;
}
.cta h2 { color: var(--color-neon); }
.cta p {
  font-size: 1.17rem;
  color: #dbeefd;
}
.cta .btn-primary {
  margin-top: 18px;
}

/***** TESTIMONIALS *****/
.testimonials, .testimonial-list {
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonials h2, .testimonial-list h2 {
  color: var(--color-secondary);
}

/***** TABLES *****/
table {
  margin-top: 12px;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 18px var(--color-shadow);
}
thead tr {
  background: var(--color-primary);
}
tbody tr:nth-child(even) td {
  background: #152642;
}
tbody tr:hover td {
  background: #213965;
}
th, td {
  font-family: var(--font-body);
  font-size: 1rem;
  border-bottom: 1px solid #22386330;
}
th:last-child, td:last-child { border-right: none; }

/***** ABOUT & MISC SECTIONS *****/
.about-section, .about-preview, .about-details,
.membership-benefits, .membership-levels, .membership-levels .join-steps,
.yacht-overview, .event-highlights, .event-services, .gallery-highlights, .highlight-list, .contact-info, .map-and-directions, .thankyou-section, .privacy-policy, .gdpr-policy, .cookies-policy, .terms-of-service {
  margin-bottom: 60px;
  width: 100%;
}
.highlight-list h3 {
  margin-top: 18px;
  color: var(--color-secondary);
}
.next-steps ul {
  gap: 13px;
  display: flex;
  flex-direction: column;
}

/***** FOOTER *****/
footer {
  background: linear-gradient(90deg,var(--color-primary) 75%,#29416A 100%);
  color: #F4EFEA;
  padding: 38px 0 22px 0;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
}
footer .footer-contact img {
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px #2ff7ff78);
}
footer a {
  color: #F4EFEA;
  font-weight: 500;
  padding: 3px 0;
  transition: color 0.17s;
}
footer a:hover, footer a:focus {
  color: var(--color-neon);
}
.social-links a img {
  width: 28px;
  transition: filter 0.14s, transform 0.12s;
  filter: drop-shadow(0 0 5px #2ff7ff88);
}
.social-links a:hover img { transform: scale(1.15) rotate(-6deg); filter: brightness(1.1) drop-shadow(0 0 7px #52a1d3d0); }

/****** COOKIE CONSENT BANNER & MODAL ******/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9999;
  background: linear-gradient(to right, #182949 90%, #29416A 100%);
  color: #F4EFEA;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 22px 30px 18px 30px;
  gap: 28px;
  box-shadow: 0 -2px 16px #152642b9;
  transition: transform 0.4s, opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 65%;
  font-size: 1.04rem;
  color: #F4EFEA;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  padding: 8px 22px;
  font-size: 16px;
  box-shadow: none;
}
.cookie-banner .btn-secondary {
  background: var(--color-primary);
  color: #F4EFEA;
  border: 1px solid var(--color-neon);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(16, 23, 38, 0.55);
  z-index: 10019;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #17203b;
  color: #F4EFEA;
  border-radius: 20px;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 6px 40px #092b46ba;
  max-width: 380px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  z-index: 10021;
  animation: cookieModalAnim 0.42s cubic-bezier(.77,.02,.27,1) both;
}
@keyframes cookieModalAnim {
  from { opacity: 0; transform: translateY(60px) scale(0.86); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  color: var(--color-neon);
  margin-bottom: 3px;
  font-size: 1.4rem;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 13px;
  margin-top: 14px;
  justify-content: flex-end;
}

/****** TYPOGRAPHY SCALE ******/
p, li, td {
  font-size: 17px;
  font-family: var(--font-body);
  color: #E4ECF7;
  line-height: 1.67;
}
ul li, ol li {
  margin-bottom: 0.3em;
}
.terms-of-service ul, .privacy-policy ul, .gdpr-policy ul, .cookies-policy ul {
  gap: 12px;
  display: flex;
  flex-direction: column;
}

/* === SPACING: Ensure breathing room === */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .content-grid, .testimonial-slider {
  gap: 24px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card, .feature-item {
  gap: 15px;
}

/***** RESPONSIVE DESIGN (MOBILE-FIRST) *****/
@media (max-width: 1200px) {
  .container {
    max-width: 99vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-wrapper, .feature-grid, .card-container { gap: 18px; }
}
@media (max-width: 992px) {
  header .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-nav {
    gap: 18px;
  }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 820px) {
  .content-wrapper, .feature-grid, .card-container { gap: 10px; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
  }
  footer .container { gap: 14px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    height: 60px;
    padding-left: 7px;
    padding-right: 7px;
    min-height: 52px;
    gap: 14px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact, .legal-nav, .footer-nav, .social-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero {
    padding-top: 54px;
    padding-bottom: 20px;
    min-height: 250px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .features .feature-grid,
  .yacht-overview .feature-grid,
  .testimonial-slider,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .cta {
    border-radius: 17px;
    padding: 24px 6px;
    margin-bottom: 30px;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  h1 { font-size: 1.7rem !important; }
  h2 { font-size: 1.2rem !important; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px 12px 12px;
    gap: 10px;
    font-size: 15px;
  }
  .cookie-banner .cookie-btns {
    gap: 6px;
  }
  .cookie-modal {
    padding: 15px 7px 15px 7px;
  }
}

/* === ACCESSIBILITY & INTERACTIVE MICRO-INTERACTIONS === */
:focus {
  outline: 2px solid var(--color-neon);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-secondary);
}
h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus {
  outline: none;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

/* === UTILITIES === */
.bg-light {
  background: #f9fafb;
}
.bg-dark {
  background: #101726;
}
.rounded {
  border-radius: 14px;
}
.shadow {
  box-shadow: 0 2px 16px var(--color-shadow);
}

/* === PRINT STYLES === */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  main, .container { padding: 0 !important; margin: 0 !important; }
}
