/* Dawn Shine Yacht Club – Vintage Retro Style 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 {
  height: 100%;
}
body {
  height: 100%;
  line-height: 1.5;
  background: #F4EDE4;
  font-family: 'Lato', Arial, sans-serif;
  color: #3D3D3D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #0D2847;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9C6816;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
strong, b {
  font-weight: 700;
}

/* ===================================================== */
/*============== BRAND COLORS & FONTS ================== */
/* ===================================================== */
:root {
  --color-primary: #0D2847;
  --color-secondary: #98BCD6;
  --color-accent: #F4EDE4;
  --color-contrast: #fff;
  --color-retro-yellow: #FFDE72;
  --color-retro-rose: #EFBC9B;
  --color-retro-green: #628270;
  --color-retro-brown: #9C6816;
  --color-dark: #1D232A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
}

/* Fake webfonts load if needed (for demo) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@400;700&display=swap');

/* ===================================================== */
/*============== TYPOGRAPHY SCALE ======================= */
/* ===================================================== */
h1, .display {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-shadow: 1px 1px 0 var(--color-retro-yellow), 2px 2px 0 var(--color-accent);
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-retro-brown);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-retro-green);
  margin-bottom: 14px;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-retro-green);
  margin-bottom: 20px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #353535;
  margin-bottom: 10px;
}
li strong {
  color: var(--color-retro-brown);
  font-family: var(--font-display);
  font-size: 1.08em;
}

/* Typography retro effect */
h1, h2, h3 {
  font-weight: 700;
  font-style: italic;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .subheadline { font-size: 1rem; }
}

/* ===================================================== */
/*============== BASIC LAYOUT & CONTAINER ===============*/
/* ===================================================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF8F2;
  border-radius: 22px;
  box-shadow: 0px 4px 16px 0 #EFBC9B09, 0 1px 0px var(--color-retro-yellow);
  /* classic subtle paper effect */
}

@media (max-width:768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 38px;
  }
  .container {
    padding-left: 8px;padding-right: 8px;
  }
}

/* ===================================================== */
/*============== HEADER & NAVIGATION =================== */
/* ===================================================== */
header {
  background: var(--color-retro-yellow);
  border-bottom: 4px dotted var(--color-retro-brown);
  box-shadow: 0 3px 12px #99820B08;
  position: relative;
  z-index: 500;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-body);
  font-size: 1.05rem;
}
.main-nav a {
  color: var(--color-primary);
  padding: 4px 8px;
  position: relative;
}
.main-nav .cta-btn {
  font-family: var(--font-display);
  background: var(--color-retro-brown);
  color: #fff;
  border-radius: 20px;
  font-size: 1rem;
  padding: 7px 21px 7px 21px;
  margin-left: 20px;
  box-shadow: 0 2px 8px #AD741409;
  border: 0;
  text-shadow: 1px 1px 0 #9C681666;
  transition: background 0.2s, color 0.18s, box-shadow 0.25s;
  border-bottom: 2px solid #dbb36d;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #dbb36d;
  color: var(--color-primary);
  box-shadow: 0 3px 22px #99820B22;
}

@media (max-width: 910px) {
  .main-nav .cta-btn { margin-left:8px; padding:6px 10px; }
}

/* Responsive: hide nav, show burger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-retro-brown);
  cursor: pointer;
  margin-left: 12px;
  z-index: 1600;
  line-height: 1;
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ===================================================== */
/*================== MOBILE MENU ======================= */
/* ===================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  z-index: 2100;
  background: #FFF8F2ee;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.8, 0, 0.15, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  box-shadow: -7px 0 22px #0D284715;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--color-retro-brown);
  padding: 18px 28px;
  margin-left: auto;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  padding: 8px 0;
  border-bottom: 2px dotted var(--color-secondary);
  width: 60vw;
  text-align: center;
  border-radius: 8px;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f8c47855;
  color: var(--color-retro-brown);
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display:none !important; }
}

/* ===================================================== */
/*================ HERO SECTIONS ======================= */
/* ===================================================== */
.hero {
  background: repeating-linear-gradient(135deg, #f5cd90 0 22px, #FFF8F2 22px 44px);
  border-bottom: 6px double #b97f0b2e;
  padding-top: 64px;
  padding-bottom: 56px;
}
.hero .container {
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 18px;
}
.hero h1 {
  font-size: 2.45rem;
  color: var(--color-retro-brown);
  text-align: center;
}
.hero .subheadline {
  color: #9C6816;
  text-align: center;
}
.hero .cta-btn {
  margin-top: 15px;
  font-size: 1.08rem;
}
@media (max-width: 700px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* ===================================================== */
/*================ FLEXBOX PATTERNS ==================== */
/* ===================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.card {
  background: #FAE5CF;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px #dbb36d24;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  min-width: 260px; /* min card size for retro blocks */
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 28px #ad741429, 0 2px 3px var(--color-retro-yellow);
  transform: translateY(-4px) scale(1.012);
  z-index: 10;
}
.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: #fff9f4;
  border-radius: 14px;
  box-shadow: 0 4px 16px #665c2b17, 0 1px 0 #FFDE72;
  margin-bottom: 24px;
  flex-direction: row;
  border: 2px dashed #EFBC9B;
  transition: box-shadow 0.14s;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #0D2847;
  font-style: italic;
  flex: 1;
}
.testimonial-card span {
  color: var(--color-retro-brown);
  font-size: 0.96rem;
  font-family: var(--font-body);
  white-space: nowrap;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 28px #AD741429, 0 2px 3px var(--color-retro-yellow);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 18px;
  background: #FFF8F2;
  border-radius: 14px;
  box-shadow: 0 2px 8px #af7b4736;
  min-width: 260px;
  flex: 1 1 230px;
  margin-bottom: 0;
  position: relative;
  border: 2px solid #EFBC9B28;
  transition: box-shadow 0.16s, border 0.18s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 6px 18px #EFBC9B40;
  border: 2px solid #FFDE72;
}
.feature-grid img {
  width: 40px; height: auto;
  margin-bottom: 4px;
  filter: drop-shadow(1px 1px 0 var(--color-secondary));
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li { min-width: 0; }
}

/* Text section for contact/info pages */
.text-section {
  margin-bottom: 20px;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-body);
}
.text-section img {
  width: 20px;
  margin-right: 6px;
  opacity: 0.7;
}

/* ===================================================== */
/*============== BUTTONS, CTAS, EFFECTS ================ */
/* ===================================================== */
.cta-btn, .cookie-banner button, .cookie-modal button {
  display: inline-flex;
  align-items: center;
  background: var(--color-retro-brown);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 99px;
  border: none;
  box-shadow: 0 2px 12px #ad741429;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.18s, box-shadow 0.21s, color 0.18s, transform 0.15s;
  margin-top: 6px;
}
.cta-btn:hover, .cta-btn:focus,
.cookie-banner button:hover, .cookie-banner button:focus,
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--color-retro-green);
  color: var(--color-retro-yellow);
  box-shadow: 0 8px 24px #62827020;
  transform: translateY(-2px) scale(1.03);
}

/* Secondary Button for WARNING/Reject */
.cookie-banner .cookie-reject, .cookie-modal .cookie-reject {
  background: #bebebe;
  color: #5d3700;
  border: 2px solid #9C6816;
  font-family: var(--font-body);
}
.cookie-banner .cookie-settings, .cookie-modal .cookie-settings {
  background: var(--color-retro-yellow);
  color: #140C06;
  border: 2px solid #140C06;
  font-family: var(--font-body);
}

/* ===================================================== */
/*=========== FOOTER RETRO ============================= */
/* ===================================================== */
footer {
  background: #FFF5E0;
  border-top: 5px dotted #fbcd77;
  padding-top: 38px; padding-bottom: 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 110px;
  display: flex; align-items: center; justify-content: center;
}
.footer-nav {
  flex: 1 1 240px;
  display: flex; flex-direction: column;
  gap: 14px; min-width:140px;
  font-family: var(--font-display);
  color: var(--color-retro-brown);
}
.footer-nav a {
  color: var(--color-retro-brown);
  text-decoration: underline dotted #FFDE72;
  padding-bottom: 4px;
  transition: color 0.18s, background 0.18s;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #EFBC9B;
  background: #ffde7282;
}
.footer-contact {
  flex: 2 1 320px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99em;
}
.footer-contact img {
  width: 18px;
  margin-right: 6px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }
  .footer-logo { justify-content: flex-start; }
}

/* ===================================================== */
/*============= RETRO/NOSTALGIC VISUAL DETAILS ========= */
/* ===================================================== */
.section, .hero, .card, .feature-grid li, .testimonial-card {
  background-image: repeating-linear-gradient(135deg,#fff9f44c 0 8px,transparent 8px 16px);
}
.section {
  position: relative;
}
.section::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 24px; right: 24px;
  height: 10px;
  background: repeating-linear-gradient(90deg, #ceb9931a 0 1px, transparent 1px 9px);
  opacity: 0.45;
  pointer-events: none;
}
.card::before, .feature-grid li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-retro-yellow);
  opacity: 0.15;
  z-index: 0;
}
.card::after, .feature-grid li::after {
  content: "";
  position: absolute;
  right: 10px; bottom: 10px;
  width: 22px; height:22px;
  border-radius: 50%;
  background: var(--color-retro-rose);
  opacity: 0.08;
  z-index: 0;
}

/* Retro pattern divider */
hr {
  border: none;
  border-top: 5px dotted #dbb36d44;
  margin: 38px auto;
}

/* ===================================================== */
/*============== RESPONSIVE FLEXBOX ==================== */
/* ===================================================== */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .footer-logo, .footer-contact, .footer-nav {
    flex: unset;
    width: 100%;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.24rem; }
  .footer-logo img,
  header .container img {
    width: 99px !important;
  }
}

/* ===================================================== */
/*============== COOKIE BANNER & MODAL ================= */
/* ===================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFDE72;
  color: var(--color-primary);
  padding: 22px 18px;
  box-shadow: 0 -1px 10px #0d284726;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: cbanner-in 0.9s cubic-bezier(.21,2.1,.42,.98);
}
@keyframes cbanner-in {
  0% { transform: translateY(120%); opacity:0; }
  80% { transform: translateY(-5px); opacity:1; }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  margin: 0;
  font-size: 1.02em;
  color: var(--color-primary);
}
.cookie-banner .buttons {
  display: flex;
  flex-wrap: wrap;
  gap:12px;
  margin-top:6px;
}
.cookie-banner button {
  font-size: .97em;
  min-width: 110px;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -55%) scale(0.99);
  background: #FFF8F2;
  color: var(--color-primary);
  border-radius: 22px;
  box-shadow: 0 12px 44px #665c2b1f,0 1px 0 #FFDE72;
  z-index: 4050;
  min-width: 320px;
  max-width: 94vw;
  min-height: 240px;
  padding: 38px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  animation: cmodal-in 0.7s cubic-bezier(.16,1.31,.2,1.01);
}
@keyframes cmodal-in {
  0% { transform: translate(-50%,100%) scale(0.98); opacity: 0; }
  90% { transform: translate(-50%,-7%) scale(1.02); opacity:1; }
 100% { transform: translate(-50%,-55%) scale(1); }
}
.cookie-modal h2 {
  font-size:1.15em;
  color:var(--color-retro-brown);
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1.06em;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--color-retro-brown);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .close-modal {
  align-self: flex-end;
  margin-left: auto;
  font-size: 1.2em;
  background: none;
  border: none;
  color: #8f5d1f;
  cursor: pointer;
  margin-top: -30px;
  margin-right: -22px;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: var(--color-retro-brown);
}
.cookie-modal-backdrop {
  position: fixed;
  left:0;right:0;top:0;bottom:0;
  background: #0D2847aa;
  z-index:4000;
}

/* ========== Accessibility for banner and modal ============ */
.cookie-banner:focus-within, .cookie-modal:focus-within {
  outline: 3px solid #EFBC9B;
}

/* ===================================================== */
/*========== MICRO-INTERACTIONS & HOVER ================ */
/* ===================================================== */
.button-anim {
  transition: background 0.22s, box-shadow 0.17s, color 0.17s, transform 0.19s;
}
.button-anim:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px #ad74141c;
}
.main-nav a::after {
  content: '';
  display: block;
  margin: auto;
  height: 2px;
  width: 0%;
  background: var(--color-retro-brown);
  transition: width 0.2s;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}

/* ===================================================== */
/*======== RETRO SHADOWS & SHAPE DETAILS =============== */
/* ===================================================== */
.card, .feature-grid li,
.testimonial-card, .section {
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 #99820b19, 0 1px 0 #dbb36d21;
}

/* ===================================================== */
/*======== VINTAGE/RETRO ELEMENTS & COLORS =============*/
/* ===================================================== */
::-webkit-input-placeholder { color: #bfa863; opacity:1; }
::-moz-placeholder { color: #bfa863; opacity:1; }
:-ms-input-placeholder { color: #bfa863; opacity:1; }
::placeholder { color: #bfa863; opacity:1; }

/* Retro pills, dots, and details */
.retro-dot {
  display:inline-block;
  width:10px; height:10px;
  border-radius:50%;
  background: #EFBC9B;
  margin-left:4px; margin-right:4px;
}
.retro-pill {
  display: inline-block;
  padding: 2px 18px;
  background: #FFF8F2;
  color: var(--color-retro-brown);
  border-radius: 99px;
  font-size: .96em;
  margin: 0 2px;
  letter-spacing: 0.06em;
  border: 1px solid #EFBC9B4c;
}

/* ===================================================== */
/*========= UTILITY - MIN SPACING & NO GRID ENFORCE =====*/
/* ===================================================== */
.section, .card-container, .feature-grid, .content-grid, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

.card, .feature-grid li, .testimonial-card {
  margin-bottom: 20px;
}

.card-container, .content-grid, .feature-grid, .testimonial-card {
  gap: 20px;
}

/* ========== Prevent Card Overlap =============== */
.card, .feature-grid li, .testimonial-card {
  margin-right: 0;
  margin-left: 0;
}

/* ========== Z-index for overlayed patterns etc. =============== */
.card::before, .card::after, .feature-grid li::before, .feature-grid li::after {
  z-index: 0;
}
.card, .feature-grid li, .testimonial-card {
  z-index: 1;
}

/* Hide visually but stay accessible */
.sr-only {
  position: absolute;
  left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}

/* ===================================================== */
/*================ END ================================ */