/*
  Sundrop Fitness - style.css
  Elegant Classic Theme (Serif fonts, muted colors, timeless layout)
  =============================================================================
  - All layout: Flexbox ONLY (no grid/columns)
  - Elegant classic color palette with brand colors
  - Spacing & alignment as specified
  - Mobile-first, responsive
  - Burger menu, cookie banner included
  - CRITICAL: No forbidden CSS (no grid, columns, break-inside, etc.)
==================================================================================*/
/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #FAF8F4;
  color: #22386B;
  font-family: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 0.97rem; }
}
a {
  color: #22386B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFBE3D;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.3em;
}
section ul:last-child, section ol:last-child {
  margin-bottom: 0;
}
/* TYPOGRAPHY (Elegant Classic Serif & Brand fonts) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', 'Times New Roman', serif;
  color: #1D2847;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 20px; }
h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 14px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 12px; }
strong, b {
  font-weight: 700;
}
.text-section h1, .text-section h2, .text-section h3 {
  margin-top: 0;
}
p {
  color: #22386B;
  margin-bottom: 1.25em;
  font-family: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
  font-size: 1.05rem;
}
.section p:last-child { margin-bottom: 0; }
.content-wrapper ul {
  list-style-type: disc;
  padding-left: 24px;
}
.content-wrapper ul li {
  margin-bottom: 12px;
}
/* CONTAINER & KEY WRAPPERS */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
/* FLEXBOX LAYOUT CLASSES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(34,56,107,0.03);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 25px 10px;
    border-radius: 10px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(34,56,107,0.09);
  border-radius: 12px;
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F4EE;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34,56,107,0.06);
  margin-bottom: 20px;
  border-left: 5px solid #FFBE3D;
}
.testimonial-card p {
  color: #1D2847;
  font-size: 1.08rem;
  font-style: italic;
  margin: 0 0 0.2em 0;
  flex: 1;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #22386B;
  font-weight: 700;
}
/* FEATURES GRID - HOMEPAGE & OTHERS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: space-between;
}
.feature {
  flex: 0 1 270px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(34,56,107,0.06);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  opacity: 0.88;
}
/* MEMBERSHIP PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(34,56,107,0.05);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 16px 10px;
  text-align: left;
  font-family: 'Libre Baskerville', 'Georgia', serif;
}
.pricing-table th {
  background: #f0eee6;
  color: #1D2847;
  font-weight: 700;
  font-size: 1.06rem;
}
.pricing-table tr:not(:last-child) {
  border-bottom: 1px solid #e7e4d6;
}
.pricing-table td {
  font-size: 1.01rem;
  color: #22386B;
}
/* HEADER & NAVIGATION */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 18px rgba(34,56,107,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.07rem;
  color: #22386B;
  opacity: 0.92;
  transition: color 0.18s, opacity 0.18s, border-bottom 0.18s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFBE3D;
  opacity: 1;
  border-bottom: 2px solid #FFBE3D;
}
/* CTA BUTTONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.07rem;
  border-radius: 32px;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34,56,107,0.08);
  min-width: 146px;
  min-height: 43px;
  text-align: center;
  padding: 8px 26px;
  margin-right: 10px;
}
.cta.primary {
  background: #22386B;
  color: #FFF5DB;
  border: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #162851;
  color: #FFBE3D;
  box-shadow: 0 4px 16px #22386B18;
}
.cta.secondary {
  background: #FFBE3D;
  color: #22386B;
  border: none;
  margin-left: 6px;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #FFD977;
  color: #1D2847;
}
/* BURGER MENU - MOBILE NAVIGATION */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #22386B;
  cursor: pointer;
  display: none;
  margin-left: 18px;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #FFBE3D;
}
@media (max-width: 992px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,56,107,0.96);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.48,.04,.52,.96);
  padding: 32px 30px 20px 24px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #FFBE3D;
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.45rem;
  padding: 7px 0 7px 2px;
  color: #FFF5DB;
  border-left: 4px solid transparent;
  transition: color 0.19s, border-color 0.19s, background 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFBE3D;
  border-left: 4px solid #FFBE3D;
  background: #22386B20;
  border-radius: 4px;
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
}
/* HERO SECTIONS */
.hero {
  background: linear-gradient(150deg, #FFBE3D10 5%, #22386B05 100%);
  padding: 0 0 36px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 28px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #22386B;
  font-family: 'Merriweather', serif;
  font-weight: 800;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.17rem;
  color: #22386B;
  opacity: 0.86;
  max-width: 670px;
  margin-bottom: 16px;
}
.hero .cta {
  margin-top: 10px;
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .content-wrapper {
    padding-top: 17px;
    padding-bottom: 17px;
  }
}
/* TEAM LIST (About Us) */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  margin-top: 10px;
}
.team-member {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(34,56,107,0.07);
  padding: 16px 14px 12px 18px;
  min-width: 210px;
  flex: 1 1 240px;
  font-size: 1rem;
}
/* CONTACT DETAILS, MAP */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details img {
  vertical-align: middle;
  margin-right: 7px;
  opacity: 0.8;
}
.map-location {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
}
.map-location img {
  width: 52px;
  height: 52px;
  opacity: 0.84;
}
/* FOOTER */
footer {
  background: #F2F1EB;
  color: #22386B;
  margin-top: 54px;
  font-size: 1rem;
  border-top: 2px solid #F6EBC3;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 38px;
  padding-bottom: 32px;
}
.footer-logo img {
  width: 46px; height: 46px;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1rem;
  color: #22386B;
  opacity: 0.8;
  transition: color 0.15s, opacity 0.18s;
}
.footer-nav a:hover { color: #FFBE3D; opacity: 1; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 20px;
  margin-right: 7px;
  vertical-align: middle;
  opacity: 0.7;
}
footer p {
  font-size: 0.90rem;
  color: #657494;
  margin-top: 10px;
}
@media (max-width: 820px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-top: 26px;
    padding-bottom: 18px;
  }
}
/* BUTTONS, INTERACTIVE STATES */
button, .cta, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button {
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, border 0.13s;
  outline: none;
}
button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #FFBE3D;
  outline-offset: 2px;
}
/* TRANSITION HOVER MICRO-INTERACTIONS */
.card, .feature, .testimonial-card {
  transition: box-shadow 0.17s, border 0.15s;
}
.card:hover, .feature:hover {
  box-shadow: 0 4px 26px rgba(34,56,107,0.16);
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(255,190,61,0.12);
  border-left: 5px solid #22386B;
}
/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #22386B;
  color: #FFF5DB;
  padding: 23px 10px 17px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 24px rgba(34,56,107,0.10);
  z-index: 9000;
  gap: 16px;
  pointer-events: auto;
  opacity: 1;
  min-height: 98px;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.08rem;
  animation: banner-slide-up 0.6s cubic-bezier(.6,.1,.6,.9);
}
@keyframes banner-slide-up {
  from { transform: translateY(100%); opacity: 0.2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner.hide {
  display: none !important;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}
.cookie-banner button {
  padding: 8px 18px;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 500;
}
.cookie-banner .accept {
  background: #FFBE3D;
  color: #1D2847;
  border: 2px solid #FFBE3D;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #FFD977;
  color: #22386B;
}
.cookie-banner .reject {
  background: #FFFFFF;
  color: #22386B;
  border: 2px solid #FFF5DB;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #22386B;
  color: #FFBE3D;
  border-color: #FFBE3D;
}
.cookie-banner .settings {
  background: transparent;
  color: #FFBE3D;
  border: 2px solid #FFBE3D;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FFBE3D;
  color: #22386B;
}
/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,56,107,0.66);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: fade-in-modal 0.4s cubic-bezier(.62,.05,.72,0.92);
}
@keyframes fade-in-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFFFFF;
  color: #22386B;
  border-radius: 14px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(34,56,107,0.25);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.03rem;
  position: relative;
  z-index: 10001;
  animation: bounce-modal 0.5s cubic-bezier(.29,1.4,.64,1.08);
}
@keyframes bounce-modal {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  margin-bottom: 4px;
  color: #22386B;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #FFBE3D;
  width: 16px;
  height: 16px;
}
.cookie-category .essential {
  font-style: italic;
  color: #6a6e7e;
  font-size: 0.96rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal button {
  padding: 8px 20px;
  border-radius: 17px;
  border: none;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.03rem;
  margin-right: 6px;
  cursor: pointer;
  background: #FFBE3D;
  color: #22386B;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal button.secondary {
  background: #FFF;
  color: #22386B;
  border: 2px solid #FFBE3D;
}
.cookie-modal button.close {
  background: transparent;
  color: #22386B;
  font-size: 1.34rem;
  font-weight: 700;
  position: absolute;
  top: 10px; right: 18px;
  border: none;
  box-shadow: none;
  z-index: 9999;
}
.cookie-modal button.close:hover {
  color: #FFBE3D;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #FFD977;
  color: #1D2847;
}
/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .features-grid, .team-list, .content-grid, .card-container {
    gap: 16px;
  }
  .team-member { min-width: 170px; flex: 1 1 160px; }
}
@media (max-width: 992px) {
  .features-grid, .team-list, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .feature, .team-member {
    width: 100%;
    min-width: unset;
    padding: 18px 12px 14px 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
  .footer-nav {
    font-size: 0.96rem;
    gap: 10px;
  }
  .section {
    margin-bottom: 28px;
    padding: 14px 3px;
  }
}
@media (max-width: 564px) {
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.22rem !important; }
  .hero .content-wrapper { padding-top: 10px; padding-bottom: 9px; }
  .cookie-banner { font-size: 0.93rem; }
  .cookie-modal { padding: 18px 8px 18px 10px; }
}
/* UTILITY */
.hide { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2em !important; }
.gap-20 { gap: 20px !important; }

/* FONTS (Web-safe - for fallback only!) */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Libre+Baskerville:wght@400;700&display=swap');

/* END Sundrop Fitness Elegant Classic Theme */
