/* ==================================================
   Smooth Floor Fitness - Elegant Classic CSS Theme
   Author: Professional CSS & UI Developer
   --------------------------------------------------
   RESET & BASE TYPOGRAPHY
================================================== */
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 {
  /* Elegant Classic Base */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F8F9FB;
}
body {
  font-family: 'Roboto', Georgia, serif;
  background: #fff;
  color: #2b373d;
  line-height: 1.68;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* --------------------------------------------
   Brand Fonts
--------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', serif;
  color: #183B41;
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-bottom: 16px;
}
h1 { font-size: 2.2rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 1.6rem; line-height: 1.22; margin-bottom: 18px; }
h3 { font-size: 1.18rem; line-height: 1.2; margin-bottom: 12px; }
h4, h5, h6 {
  font-size: 1rem;
  line-height: 1.16;
  margin-bottom: 10px;
}
p, ul, ol, table { margin-bottom: 18px; }
/* Elegant serif for strong callout */
strong {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #005E74;
}

/* --------------------------------------------
   LINKS
--------------------------------------------- */
a {
  color: #005E74;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #D05200;
  text-decoration: underline;
}

/* --------------------------------------------
   CONTAINER & FLEX UTILS
--------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --------------------------------------------
   SPACING & LAYOUT PATTERNS
--------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(35, 36, 39, 0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(16, 44, 60, 0.10);
  padding: 28px 22px 18px 22px;
  min-width: 260px;
  flex: 1 1 270px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(34,40,60,.16);
}
.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;
  padding: 20px 26px;
  margin-bottom: 20px;
  background: #F5F7FA;
  border-left: 5px solid #005E74;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(16, 44, 60, .07);
  color: #22272b;
  font-size: 1.06rem;
  transition: border-color 0.18s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: #D05200;
  box-shadow: 0 4px 16px 0 rgba(16, 44, 60, 0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0;
}

/* --------------------------------------------
   LISTS & TABLES
--------------------------------------------- */
ul, ol {
  padding-left: 22px;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px 0 rgba(16, 44, 60, 0.05);
}
th, td {
  padding: 12px 16px;
  text-align: left;
  font-family: 'Roboto', serif;
  border-bottom: 1px solid #E8EAF0;
}
th {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  background: #E8EAF0;
}
tr:last-child td { border-bottom: none; }

/* --------------------------------------------
   HEADER/NAVIGATION
--------------------------------------------- */
header {
  width: 100%;
  box-shadow: 0 2px 8px 0 rgba(34,40,60,.05);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 68px;
  gap: 24px;
}
.logo a,
.logo img {
  display: flex;
  align-items: center;
  height: 46px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: #183B41;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.18s;
  border-bottom: 2.5px solid transparent;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: #005E74;
  border-bottom: 2.5px solid #005E74;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  border: none;
  border-radius: 26px;
  cursor: pointer;
  background: #005E74;
  color: #fff;
  box-shadow: 0 2px 6px rgba(16,44,60,.10);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.16s, color 0.13s, box-shadow .2s;
  margin-left: 8px;
  margin-right: 0;
  text-decoration: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #D05200;
  color: #fff;
  box-shadow: 0 4px 16px rgba(208,82,0,0.10);
}
.btn-secondary {
  background: #E8EAF0;
  color: #005E74;
  border: 1.5px solid #D05200;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #D05200;
  color: #fff;
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  color: #183B41;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E8EAF0;
  border-radius: 8px;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24, 59, 65, 0.94);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.66,0,.23,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 30px 32px 18px 0;
  cursor: pointer;
  transition: color .17s;
  z-index: 1230;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F4793B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding: 16px 40px;
  margin-top: 12px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #ffffff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.25rem;
  padding: 14px 0 12px 0;
  border-bottom: 1px solid rgba(232,234,240,0.10);
  width: 100%;
  transition: color .18s, background .15s;
  border-radius: 7px;
  margin-bottom: 0px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #005E74;
  color: #fff;
}

/* --------------------------------------------
   MAIN & SECTIONS
--------------------------------------------- */
main {
  width: 100%;
  padding: 0 0 30px 0;
  min-height: 68vh;
  background: #F8F9FB;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(35, 36, 39, 0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section:last-child {
  margin-bottom: 0;
}

.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.07rem;
}

.content-wrapper > ul,
.content-wrapper > ol {
  margin-bottom: 24px;
  margin-top: 2px;
}

.category {
  display: inline-block;
  background: #E8EAF0;
  color: #005E74;
  padding: 4px 13px 3px 13px;
  border-radius: 13px;
  font-size: 0.94rem;
  margin-top: 8px;
  font-family: 'Montserrat', serif;
  letter-spacing: 0.02em;
}
.category-tags {
  margin-top: 10px;
  font-size: 1rem;
  color: #4B616C;
}

.featured-article {
  background: #E8EAF0;
  border-radius: 20px;
  padding: 22px 18px;
  margin: 26px 0;
  box-shadow: 0 2px 6px rgba(34,40,60,0.06);
  font-size: 1.04rem;
}

/* --------------------------------------------
   FOOTER
--------------------------------------------- */
footer {
  background: #005E74;
  color: #fff;
  padding: 38px 0 24px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 16px 0 rgba(35, 36, 39, 0.05);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  opacity: 0.93;
  transition: color .18s;
  border-bottom: 2.5px solid transparent;
  padding-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F4793B;
  border-bottom: 2.5px solid #F4793B;
}
.footer-contact {
  font-size: 0.98rem;
  color: #D8E3E6;
  text-align: center;
  line-height: 1.55;
}
.logo-mark {
  margin-top: 18px;
  opacity: 0.87;
}
.logo-mark img {
  width: 40px;
  height: 40px;
}

/* --------------------------------------------
   COOKIES BANNER & MODAL
--------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1700;
  background: #fff;
  color: #22272b;
  box-shadow: 0 -2px 24px 0 rgba(16, 44, 60, 0.13);
  padding: 24px 18px 24px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top-right-radius: 18px;
  border-top-left-radius: 18px;
  transition: transform 0.32s cubic-bezier(.67,0,.25,1), opacity 0.23s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner .cookie-message {
  flex: 3 1 220px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 20px;
  font-family: 'Montserrat', serif;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background .18s, color .13s, box-shadow .2s;
  font-weight: 600;
}
.cookie-accept {
  background: #005E74;
  color: #fff;
  margin-right: 4px;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #D05200;
}
.cookie-reject {
  background: #E8EAF0;
  color: #005E74;
  border: 1.5px solid #005E74;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #D05200;
  color: #fff;
}
.cookie-settings {
  background: #fff;
  color: #005E74;
  border: 1.5px solid #E8EAF0;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #E8EAF0;
  color: #D05200;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,59,65,0.69);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.19s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #22272b;
  padding: 36px 28px 28px 28px;
  border-radius: 18px;
  width: 95%;
  max-width: 390px;
  box-shadow: 0 6px 28px 0 rgba(16, 44, 60, 0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideDownModal 0.4s cubic-bezier(.7,0,.25,1);
}
@keyframes slideDownModal {
  from { transform: translateY(-40px) scale(0.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #005E74;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #D05200; }
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.21rem;
  font-family: 'Montserrat', serif;
  letter-spacing: 0.018em;
  color: #005E74;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  font-size: 1rem;
  margin-bottom: 14px;
  border-bottom: 1px solid #F1F2F6;
  padding-bottom: 9px;
}
.cookie-category input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #005E74;
}
.cookie-category .category-label {
  font-family: 'Montserrat', serif;
  color: #183B41;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* --------------------------------------------
   OTHER COMPONENTS & UTILITIES
--------------------------------------------- */
.location-map {
  background: #F5F7FA;
  border-radius: 12px;
  color: #566371;
  font-family: 'Roboto', Georgia, serif;
  padding: 22px 18px;
  font-size: 1rem;
  margin-top: 9px;
  margin-bottom: 8px;
}
.service-price {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #005E74;
  font-size: 1rem;
  margin-left: 9px;
}
.note {
  background: #FFFAF4;
  padding: 12px 18px;
  font-size: 0.99rem;
  color: #D05200;
  border-left: 4px solid #F4793B;
  border-radius: 9px;
}
.contact-details {
  background: #F8F9FB;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 9px;
  font-size: 1rem;
}

/* Blog cards preview */
.blog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

/* --------------------------------------------
   RESPONSIVE DESIGN - MOBILE FIRST
--------------------------------------------- */
@media (max-width: 998px) {
  .container { max-width: 92vw; }
  .main-nav {
    gap: 15px;
  }
  .footer-nav { gap: 14px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  header .container {
    gap: 12px;
    padding-left: 9px;
    padding-right: 9px;
  }
  .section, section {
    padding: 22px 6px;
    border-radius: 13px;
    margin-bottom: 35px;
  }
  .content-wrapper,
  .footer-contact {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 1002;
  }
  .btn-primary, .btn-secondary {
    font-size: 0.99rem;
    padding: 8px 17px;
  }
  .blog-preview {
    flex-direction: column;
    gap: 11px;
    margin-bottom: 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    margin-bottom: 10px;
  }
  .testimonial-card {
    padding: 16px 11px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .card {
    min-width: 90%;
    padding: 17px 11px;
    border-radius: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-end;
    width: 100%;
  }
}
@media (max-width: 560px) {
  .logo img {
    height: 36px;
  }
  h1 {
    font-size: 1.45rem;
    margin-bottom: 11px;
  }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.01rem; }
  th, td { padding: 8px 6px; font-size: 0.96rem; }
  .section, section {
    padding: 13px 3px;
    border-radius: 6px;
  }
}
/* --- For text-image-section and content-grid responsive flex change on mobile --- */
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch !important;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* --------------------------------------------
   ELEGANT/CLASSIC VISUAL MICRO-INTERACTIONS
--------------------------------------------- */
.btn-primary, .btn-secondary,
.cookie-banner button, .cookie-modal-actions button {
  transition: background .16s, color .14s, box-shadow .2s, border-color .16s;
}
.testimonial-card:hover {
  transform: translateY(-3px) scale(1.012);
}
.card:hover {
  transform: translateY(-4px) scale(1.016);
  box-shadow: 0 7px 26px 0 rgba(34,40,60,0.18);
}
a, .main-nav a, .footer-nav a {
  transition: color 0.17s, border-color 0.16s;
}
.blog-preview .text-section:hover {
  background: #E8EAF0;
  border-radius: 12px;
  box-shadow: 0 1px 4px 0 rgba(16,44,60,0.06);
  cursor: pointer;
  transition: background .13s;
}

/* --------------------------------------------
   PRINT STYLES
--------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .section { box-shadow: none !important; border: none !important; background: #fff !important; }
}
