/* style.css – Calm Cash Yacht Club – Monochrome Sophisticated Theme */
/* RESET & BASELINE */
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #18191a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F5F7FA;
}
img, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #193660;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
}
strong, b {
  font-weight: 700;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  color: #18191a;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222327;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #18191a;
}
h4 {
  font-size: 1.1rem;
  color: #222327;
}
.tagline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #57585c;
  margin-bottom: 28px;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222327;
  margin-bottom: 14px;
}
blockquote {
  font-size: 1.125rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #18191a;
  margin-bottom: 10px;
}

/* CONTAINER & BASE LAYOUTS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
  border-radius: 16px;
  transition: box-shadow 0.2s;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 10px rgba(20,20,20,0.05);
  transition: box-shadow 0.2s, transform 0.18s;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(25,54,96,0.12);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.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: #F5F7FA;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(25,54,96,0.04);
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(20,20,20,0.03);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #18191a;
  padding: 8px 4px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #E4E7EB;
  color: #193660;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}

/* BUTTONS */
.btn-primary, .mobile-nav a[class*="Bli"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  background: #18191a;
  color: #fff !important;
  border: none;
  border-radius: 28px;
  padding: 14px 38px;
  margin-top: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(23,33,44,0.10);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.04em;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.18s;
}
.btn-primary:hover, .mobile-nav a[class*="Bli"]:hover {
  background: #193660;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 12px rgba(25,54,96,0.14);
}
.btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  background: #fff;
  color: #193660;
  border: 1.5px solid #193660;
  border-radius: 28px;
  padding: 13px 36px;
  margin-top: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(25,54,96,0.04);
  transition: background 0.16s, color 0.16s, border 0.18s, box-shadow 0.20s;
}
.btn-secondary:hover {
  background: #193660;
  color: #fff;
  border-color: #18191a;
  box-shadow: 0 4px 12px rgba(25,54,96,0.14);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: none;
  color: #18191a;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  padding: 6px;
  z-index: 101;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E4E7EB;
  border-radius: 50%;
}
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(9, 12, 19, 0.88);
  /* Slides from right */
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.77,0,0.18,1);
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  align-self: flex-end;
  margin: 32px 32px 0 0;
  cursor: pointer;
  transition: color 0.2s, background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #3FB3C6;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 36px;
  margin-top: 16px;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  width: 100%;
  border-radius: 0;
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #3FB3C6;
  background: rgba(255,255,255,0.06);
}

@media (max-width: 1080px) {
  .container {
    max-width: 92vw;
  }
}
@media (max-width: 930px) {
  header nav {
    gap: 8px 16px;
  }
  .footer-top nav {
    gap: 12px 8px;
  }
}
@media (max-width: 800px) {
  .section {
    padding: 32px 8px;
  }
  h1 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .text-image-section,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 26px 4vw;
  }
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
  header nav {
    display: flex !important;
  }
}

/* FEATURE, CARD, LISTS */
.features-list, .services-list, .events-list, .quick-facts, .values-list, .contact-list, .membership-table {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.quick-facts, .values-list, .contact-list {
  gap: 16px;
}
.features-list li, .services-list li, .events-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25,54,96,0.03);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 8px;
  position: relative;
  transition: box-shadow 0.18s;
}
.features-list li:hover, .services-list li:hover, .events-list li:hover {
  box-shadow: 0 6px 18px rgba(25,54,96,0.14);
  z-index: 2;
}
.events-list li img,
.features-list li img,
.services-list li img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
}
.quick-facts li, .values-list li, .contact-list li {
  background: #F5F7FA;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 0;
  color: #222327;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.contact-list li img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
}

/* TABLES (membership-table) */
.membership-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 20px 0;
  background: #fff;
  box-shadow: 0 1px 10px rgba(25,54,96,0.04);
  border-radius: 10px;
  overflow: hidden;
}
.membership-table th, .membership-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #EAEBEC;
}
.membership-table th {
  background: #f8f9fa;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #18191a;
  font-weight: 600;
  font-size: 1.05rem;
}
.membership-table tr:last-child td {
  border-bottom: none;
}

/* TESTIMONIALS */
.testimonial-card blockquote {
  color: #18191a;
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}
.testimonial-card strong {
  color: #193660;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

/* FOOTER */
footer {
  background: #18191a;
  color: #fff;
  padding: 0 0 20px 0;
  margin-top: 80px;
}
footer .container {
  padding-top: 30px;
  padding-bottom: 12px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-top img {
  height: 50px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.footer-top nav a {
  color: #F5F7FA;
  font-size: 1rem;
  margin-right: 0;
  border-radius: 4px;
  padding: 4px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  transition: color 0.18s, background 0.18s;
}
.footer-top nav a:hover, .footer-top nav a:focus {
  color: #3FB3C6;
  background: rgba(245,247,250,0.03);
}
.footer-contact {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #DCE3EA;
  font-size: 0.98rem;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  object-fit: contain;
  filter: brightness(0) invert(0.85);
}
footer a {
  color: #3FB3C6;
  transition: color 0.16s;
}
footer a:hover, footer a:focus {
  color: #fff;
  text-decoration: underline;
}
.copyright {
  margin-top: 18px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  color: #90A2B6;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-contact {
    margin-top: 14px;
    gap: 8px;
  }
  footer {
    margin-top: 40px;
  }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1.5px solid #d9dee5;
  box-shadow: 0 -4px 28px rgba(0,0,0,.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 18px 22px 20px;
  font-size: 1rem;
  min-height: 68px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  animation: cookieFadeIn .5s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #222327;
  flex: 2 2 280px;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 10px 22px;
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-banner .accept {
  background: #193660;
  color: #fff;
  margin-right: 2px;
  box-shadow: 0 2px 7px rgba(25,54,96,0.13);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #222327;
}
.cookie-banner .reject {
  background: #fff;
  color: #18191a;
  border: 1.2px solid #193660;
  margin-right: 2px;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F3F3F4;
}
.cookie-banner .settings {
  background: #F5F7FA;
  color: #18191a;
  border: 1px solid #dce3ea;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #ebeff4;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 8px 14px 13px;
    min-height: 58px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 4000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(19, 54, 96, 0.33);
  justify-content: center;
  align-items: center;
  animation: cookieModalAppear 0.3s;
}
@keyframes cookieModalAppear {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  box-shadow: 0 12px 38px rgba(23,33,44,.18);
  border-radius: 16px;
  max-width: 400px;
  width: 94vw;
  padding: 38px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #18191a;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 18px;
  right: 21px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #193660;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  color: #3FB3C6;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F5F7FA;
  border-radius: 8px;
  padding: 13px 14px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  width: 24px;
  height: 24px;
}
.cookie-category span {
  color: #18191a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-category.essential {
  opacity: 0.72;
}
.cookie-modal-bottom {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-bottom button {
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal-bottom .accept {
  background: #193660;
  color: #fff;
}
.cookie-modal-bottom .accept:hover {
  background: #18191a;
}
.cookie-modal-bottom .cancel {
  background: #fff;
  color: #193660;
  border: 1.2px solid #193660;
}
.cookie-modal-bottom .cancel:hover {
  background: #F3F3F4;
}

/* MISC */
::-webkit-input-placeholder { color: #A0A4AC; }
::-moz-placeholder { color: #A0A4AC; }
:-ms-input-placeholder { color: #A0A4AC; }
::placeholder { color: #A0A4AC; }

/* SCROLLBAR for a sophisticated touch */
html::-webkit-scrollbar, body::-webkit-scrollbar {
  width: 12px;
}
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
  background: #dce3ea;
  border-radius: 8px;
}
html::-webkit-scrollbar-track, body::-webkit-scrollbar-track {
  background: #f7f9fa;
}

/* SMOOTH TRANSITIONS */
*, *::before, *::after {
  box-sizing: inherit;
  transition: background 0.13s, color 0.13s, border 0.13s;
}

/*--- Monochrome Sophisticated Effects ---*/
.card, .features-list li, .services-list li, .events-list li {
  border: 1px solid #eceeef;
  box-shadow: 0 3px 12px rgba(25, 54, 96, 0.04);
  background: #fff;
}
.card:hover, .features-list li:hover, .services-list li:hover, .events-list li:hover {
  background: #f8f9fa;
  border-color: #dce3ea;
  box-shadow: 0 12px 28px rgba(25,54,96,0.10);
}

/* VISUAL HIERARCHY */
h1, h2 {
  border-left: 4px solid #18191a;
  padding-left: 11px;
  margin-bottom: 26px;
}
@media (max-width: 600px) {
  h1, h2 {
    border-left-width: 2px;
    padding-left: 7px;
  }
}

/* UTILITY */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* REQUIRED SPACING BETWEEN CARDS & SECTIONS */
.card, .testimonial-card, .section, .features-list li, .services-list li, .events-list li {
  margin-bottom: 20px;
}

/* ENSURE NO OVERLAP */
.card-container, .features-list, .services-list, .events-list {
  gap: 24px;
}

/* ANIMATIONS */
.btn-primary, .btn-secondary {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.13s;
}
.card, .testimonial-card, .features-list li, .services-list li, .events-list li {
  transition: box-shadow 0.16s, background 0.18s, transform 0.13s;
}

/* Hide visually but keep for screen readers (for cookie modal close button etc) */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FONTS (Google Fonts fallback in index) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
