/* ------------------
   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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F2F5F7;
  color: #223A70;
  font-family: 'Roboto', Arial, sans-serif;
  font-smooth: always;
  min-height: 100vh;
  position: relative;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  background: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button {
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  background: none;
  border: none;
}
input, textarea {
  font-family: inherit;
  font-size: 16px;
}

/* ------
   TYPOGRAPHY
------ */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: #223A70;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  color: #223A70;
  letter-spacing: .02em;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
  color: #c56617;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 8px;
  color: #E5A832;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #223A70;
}
strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.subheadline {
  font-size: 1.15rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #87734d;
  font-style: italic;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

/* Retro/Vintage Font Touch (for headings) */
h1, h2 {
  text-shadow: 2px 2px 0 #F7D99B, 0px 2px 0 #FFF7E1;
}

/* Blockquote-Style in Testimonial-Sections */
.testimonial-card p:first-child {
  font-style: italic;
}

/* -----------
   CONTAINER, LAYOUT, SPACING
----------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF7E1;
  border-radius: 16px;
  box-shadow: 0 6px 20px 0 rgb(74 60 40 / 9%);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  border: 2px solid #E5A832;
}
.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: #FFF7E1;
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 30px 0 rgb(60 40 16 / 11%);
  border-left: 6px solid #E5A832;
  margin-bottom: 24px;
  min-width: 270px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq-list h3 {
  color: #E5A832;
  margin-bottom: 4px;
}
.faq-list p {
  color: #223A70;
}

.contact-details {
  margin-bottom: 20px;
}
.map-placeholder {
  background: repeating-linear-gradient(135deg, #ede0a7 0, #ede0a7 6px, #F2F5F7 6px, #F2F5F7 16px);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Spacing refinements */
@media (max-width: 980px) {
  .container { max-width: 98vw; }
}

/* -----------
   HEADER & NAVBAR (VINTAGE RETRO)
----------- */
header {
  background: #FFF7E1;
  border-bottom: 3px solid #E5A832;
  box-shadow: 0 1px 0 #F7D99B;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 18px;
  padding: 16px 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #223A70;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E5A832;
  color: #fff;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #E5A832;
  color: #223A70;
  padding: 11px 24px;
  border: none;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.075rem;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 0 #223A70, 0 5px 18px -6px #F7D99B;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow .2s;
  text-shadow: 0 2px 0 #fff7e1;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #223A70;
  color: #fff7e1;
  box-shadow: 0 4px 0 #E5A832;
}

/* -----------
   MOBILE NAVIGATION
----------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: #223A70;
  color: #fff7e1;
  border: 2px solid #E5A832;
  border-radius: 8px;
  font-size: 2rem;
  padding: 8px 15px;
  z-index: 1020;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E5A832;
  color: #223A70;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF7E1;
  z-index: 1100;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 28px 24px 28px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.83,.11,.27,.99);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #E5A832;
  color: #223A70;
  border: none;
  font-size: 1.7rem;
  border-radius: 6px;
  padding: 6px 13px;
  margin-bottom: 18px;
  align-self: flex-end;
  box-shadow: 0 2px 0 #223A70;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #223A70;
  color: #FFF7E1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #223A70;
  font-size: 1.15rem;
  padding: 10px 0;
  border-bottom: 1px dashed #D5A832;
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E5A832;
  color: #FFF7E1;
}

@media (max-width: 960px) {
  .main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width:720px) {
  header .container { flex-direction: column; gap:8px; align-items: flex-start; }
}

/* -------------
   HERO SECTION
------------- */
.hero {
  background: #E5A832;
  position: relative;
  padding: 44px 0 38px 0;
  margin-bottom: 48px;
  box-shadow: 0 3px 25px -14px #8c7a48;
  background-image: repeating-linear-gradient(135deg, #F7D99B 0, #E5A832 34px, #F7D99B 66px);
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 15px;
}
.hero h1, .hero .h1{
  color: #223A70;
  text-shadow: 3px 3px 0 #fff7e1;
  font-size: 2.3rem;
}
.hero .subheadline {
  color: #685426;
  font-size: 1.15rem;
}
.hero .cta-button {
  font-size: 1.1rem;
  margin-top: 14px;
}

/* -------------
   FEATURES, SERVICES, FAQ
------------- */
.features ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.features li {
  position: relative;
  padding-left: 36px;
  font-size: 1.07rem;
  margin-bottom: 10px;
  color: #223A70;
  font-family: 'Roboto', Arial, sans-serif;
}
.features li img {
  width: 22px;
  height: 22px;
  position: absolute;
  left: 0;
  top: 3px;
}
.services ul, .faq-list > * {
  padding-left: 0;
  font-size: 1.05rem;
}
.services ul li, .faq-list h3, .faq-list p {
  margin-bottom: 10px;
}
.services ul li span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #c56617;
  margin-left: 7px;
  font-size: 0.98em;
}
.membership-options {
  background: #FFF7E1;
  border-radius: 7px;
  padding: 13px 17px;
  margin-bottom: 16px;
  border: 1px solid #E5A832;
  font-family: 'Roboto', Arial, sans-serif;
}
ol {
  counter-reset: custom;
  margin-left: 0;
  padding-left: 0;
}
ol li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 34px;
  font-size: 1.05rem;
}
ol li:before {
  content: counter(custom) '.';
  counter-increment: custom;
  position: absolute;
  left: 0;
  color: #E5A832;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18em;
}

/* ---------------
   CARDS & SPECIAL FLEX WRAPPERS
--------------- */
.team-profiles, .trainer-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 0;
}
.team-profiles > .text-section, .trainer-profiles > .text-section {
  flex: 1 1 220px;
  min-width: 240px;
  background: #FFF7E1;
  border-radius: 13px;
  padding: 16px 18px;
  box-shadow: 0 3px 16px -7px #efbe62;
  border: 2px solid #E5A832;
  margin-bottom: 10px;
}
.club-culture {
  margin-top: 22px;
  background: repeating-linear-gradient(45deg, #EEE4CA 0, #EEE4CA 10px, #F2F5F7 10px, #F2F5F7 24px);
  border-radius: 10px;
  padding: 17px 13px;
  font-style: italic;
}

/* ---------------
   FOOTER
--------------- */
footer {
  background: #223A70;
  color: #FFF7E1;
  padding: 20px 0 13px 0;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #E5A832;
  font-weight: 600;
  padding: 5px 2px;
  border-radius: 5px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E5A832;
  color: #223A70;
}
footer div:last-child {
  opacity: .85;
}

/* -------------
   CONFIRMATION & THANK YOU
------------- */
.confirmation {
  background: #F7D99B;
  padding: 50px 0;
  border-radius: 0 0 24px 24px;
}
.thankyou-message {
  background: #FFF7E1;
  border: 1px solid #E5A832;
  border-radius: 10px;
  box-shadow: 0 1px 10px -3px #edcd99;
  padding: 20px 30px;
  max-width: 420px;
  margin: 0 auto;
}

/* ---------------
   LEGAL
--------------- */
.legal {
  background: #FFF7E1;
  border-left: 6px solid #E5A832;
  border-radius: 10px 0 0 10px;
  padding: 36px 26px 30px 40px;
  margin-bottom: 40px;
}

/* -------------
   BUTTONS & LINK BUTTONS
------------- */
button,
input[type=submit],
.cta-button, .cookie-consent-btn, .cookie-settings-btn {
  outline: none;
}

/* ---------------
   HOVER/ACTIVE/FOCUS STATES, TRANSITIONS
--------------- */
a, button, .cta-button, input[type=submit], .cookie-consent-btn, .cookie-settings-btn {
  transition: background .16s, color .16s, box-shadow .19s, border .15s;
}

.cta-button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #E5A832;
}

/* -------------
   TESTIMONIALS
------------- */
.testimonials {
  background: #F7D99B;
  border-top: 3px dashed #E5A832;
  border-bottom: 3px dashed #E5A832;
  padding: 40px 0 40px 0;
  margin-bottom: 48px;
}
.testimonial-card p {
  color: #223A70;
  font-size: 1.06rem;
}
.testimonial-card strong {
  color: #E5A832;
  font-size: 1.06em;
}

/* ---------------
   COOKIE CONSENT BANNER & MODAL
--------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #223A70;
  color: #FFF7E1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 20px 16px;
  z-index: 2000;
  box-shadow: 0 -3px 20px 0 #d4a640cc;
  gap: 16px;
  animation: bannerIn 0.7s cubic-bezier(.19,.91,.51,.93);
}
@keyframes bannerIn {
  from { transform: translateY(100%); opacity: .1; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  color: #fff7e1;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-consent-btn,
.cookie-settings-btn {
  background: #E5A832;
  color: #223A70;
  border: none;
  border-radius: 17px;
  padding: 7px 20px;
  font-weight: 700;
  margin-right: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 1px 0 #F7D99B;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #223A70;
  color: #FFF7E1;
  box-shadow: 0 2px 4px #E5A83233;
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,58,112,0.64);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn .4s cubic-bezier(.1,.66,.35,1.04);
}
.cookie-modal-content {
  background: #FFF7E1;
  color: #223A70;
  border-radius: 11px;
  padding: 32px 22px 22px 22px;
  min-width: 320px;
  box-shadow: 0 7px 40px -13px #7a7051;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  border: 3px solid #E5A832;
}
.cookie-modal-content h2 {
  margin-bottom: .3em;
  color: #E5A832;
  font-size: 1.3em;
  text-align: center;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 6px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.015em;
}
.cookie-category-row strong {
  color: #C78625;
  font-family: 'Montserrat', Arial, sans-serif;
}
.category-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #E5A832;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.category-toggle:checked {
  background: #223A70;
}
.category-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff7e1;
  border-radius: 50%;
  transition: left 0.23s, background 0.23s;
}
.category-toggle:checked:before {
  left: 19px;
  background: #E5A832; 
}
.cookie-modal-close {
  position: absolute;
  right: 11px;
  top: 13px;
  background: #E5A832;
  color: #223A70;
  border-radius: 5px;
  border: none;
  font-size: 1.25rem;
  padding: 4px 11px;
  transition: background 0.13s;
}
.cookie-modal-close:hover {
  background: #223A70;
  color: #FFF7E1;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---
   UTILITY CLASSES
------ */
.d-none { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-3 { margin-top: 22px; }
.mb-3 { margin-bottom: 22px; }

/* -------------
   RETRO/VINTAGE VISUAL TOUCHES
------------- */
/* Patterned backgrounds and shadows */
.features, .services, .faq, .contact {
  background: #FFF7E1;
  border-radius: 21px;
  box-shadow: 0 3px 14px -7px #dec077;
  margin-bottom: 60px;
  padding: 40px 0;
}
.features {
  background-image: repeating-linear-gradient(130deg, #F7D99B 0, #FFF7E1 20px, transparent 25px, #FFF7E1 50px);
}
.services {
  background-image: repeating-linear-gradient(-40deg, #F7D99B 0, #FFF7E1 25px, #F7D99B 50px, #FFF7E1 75px);
}

/* Decorative overlays for biggest screens */
@media (min-width:1300px) {
  .hero:after {
    content: '';
    display: block;
    position: absolute;
    right: 0; top: 0; width: 220px; height: 100%;
    background-image: url('../assets/vintage-stripes.png'); /* provide if available */
    opacity: 0.13;
    pointer-events: none;
  }
}

/* // Vintage touch for images */
img, .map-placeholder img {
  border-radius: 8px;
  box-shadow: 0 4px 16px -8px #a38947;
}

/* // List markers as custom retro shapes */
.features ul li:before, .services ul li:before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 11px;
  vertical-align: text-bottom;
  background: #E5A832;
  border-radius: 7px;
  margin-left: -25px;
  box-shadow: 0 2px 5px #B3880B18;
}

/* --------------
   RESPONSIVE DESIGN - MOBILE FIRST
--------------- */
@media (max-width: 992px) {
  .container {
    padding: 0 10px;
    max-width: 97vw;
  }
  .team-profiles, .trainer-profiles {
    gap: 17px;
  }
  .features, .services, .faq, .contact { padding: 32px 0; margin-bottom:40px; }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.3rem; }
  header .container {
    padding: 11px 8px;
  }
  .section, section, .features, .services, .faq, .contact {
    padding: 25px 0 25px 0;
    margin-bottom: 32px;
  }
  .content-grid, .card-container, .team-profiles, .trainer-profiles {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card { max-width: 98vw; padding: 18px 8px; }
  .map-placeholder {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width:600px) {
  .team-profiles > .text-section, .trainer-profiles > .text-section {
    min-width: 98vw;
    box-sizing: border-box;
  }
}
@media (max-width:480px) {
  .container {
    padding: 0 2vw;
  }
  .footer-nav { gap: 10px; }
  .legal {
    padding: 20px 6px 16px 10px;
    border-radius: 7px 0 0 7px;
  }
}

/* FLEXBOX DIRECTION ON MOBILE */
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container, .team-profiles, .trainer-profiles {
    flex-direction: column !important;
    align-items: stretch;
  }
}

/* ------
   Prevent overlap, use proper gaps
------ */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .team-profiles, .trainer-profiles {
  gap: 24px;
}
.card, .testimonial-card, .text-section, .map-placeholder {
  margin-bottom: 20px;
}

/* --------------
   OVERRIDES FOR PRINT & SPECIAL SITUATIONS
--------------- */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner {
    display: none !important;
  }
  body { background: #fff; }
  .section, .features, .services, .faq, .contact { background: #fff !important; }
}

/* --- END --- */
