/* ========================================================================
   ICY BLADE FITNESS CLUB CSS RESET & BASE STYLES
   Nature-inspired Organic (earth tones, green, natural elements)
======================================================================= */

/* CSS RESET */
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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #F8FAF8;
  color: #193024;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image: url('../assets/bg-texture-organic-light.png'), linear-gradient(0deg, #F8FAF8 90%, #E7EFE5 100%);
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #1BAED3;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1e7f5d;
  outline: none;
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: #113C51;
  letter-spacing: 0.02em;
  font-weight: 700;
}
h1 { font-size: 2.75rem; margin-bottom: 18px; line-height: 1.17; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.3rem; margin-bottom: 12px; line-height: 1.18; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

/* Section, Container, Layout Patterns (Nature Organic) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(238,244,234,0.58);
  border-radius: 30px 42px 38px 26px/34px 33px 44px 29px;
  box-shadow: 0 8px 36px rgba(44, 58, 24, 0.06);
}
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.text-section {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  flex: 1 1 240px;
  background: #f4f9f2;
  border-radius: 28px 24px 26px 34px/34px 25px 31px 27px;
  box-shadow: 0 3px 12px rgba(80,99,65,0.07);
  padding: 29px 22px 23px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  min-height: 240px;
  border-left: 5px solid #378f5b;
}
.feature-grid img {
  width: 48px;
  margin-bottom: 14px;
}
.feature-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #1e7f5d;
}

/* Card Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #e5eee3;
  margin-bottom: 20px;
  border-radius: 30px 20px 25px 40px/34px 17px 28px 32px;
  box-shadow: 0 6px 16px rgba(44, 52, 41, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 21px;
  min-width: 220px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f5f7f2;
  margin-bottom: 20px;
  border-radius: 30px 20px 28px 35px/34px 26px 38px 34px;
  box-shadow: 0 4px 18px rgba(44, 52, 41, 0.09);
  border-left: 5px solid #68b47b;
  color: #153f2d;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #153f2d;
}
.testimonial-author {
  margin-left: 18px;
  color: #388265;
  font-size: 1rem;
  font-weight: 600;
}

/* Flex Utility Layouts */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Typography Scale */
.subheadline {
  font-size: 1.2rem;
  color: #45884e;
  font-weight: 400;
  letter-spacing: 0.01em;
}
p, ul, ol, li {
  font-size: 1rem;
  color: #244031;
  font-family: 'Roboto', Arial, sans-serif;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 10px;
  padding-left: 0.5em;
  list-style-type: disc;
}
li {
  margin-bottom: 8px;
  padding-left: 2px;
}

/* CTA Buttons */
.cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', Arial, sans-serif;
  background: #2b9740;
  color: #fff;
  font-weight: 700;
  padding: 16px 38px;
  margin-top: 12px;
  border: none;
  border-radius: 38px 28px 40px 22px/30px 38px 30px 30px;
  font-size: 1.15rem;
  box-shadow: 0 4px 22px rgba(32,64,41,0.13);
  transition: background 0.2s, box-shadow 0.3s, transform 0.17s;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.06em;
  outline: none;
  gap: 10px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #26753d;
  box-shadow: 0 8px 24px 0 rgba(60,93,60,0.13);
  color: #eaffeb;
  transform: translateY(-2px) scale(1.04);
}

/* Header Navigation */
header {
  width: 100%;
  min-height: 70px;
  background: #e5eee3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 22px 8px 22px;
  position: relative;
  z-index: 1005;
  box-shadow: 0 2px 12px rgba(44, 52, 41, 0.04);
}
header .logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
header nav a {
  text-decoration: none;
  color: #27472c;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 18px 10px 15px 12px;
  transition: background 0.19s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #d9f3de;
  color: #18794c;
}

/* Footer Styles */
footer {
  margin-top: 60px;
  background: #e5eee3;
  color: #153f2d;
  padding: 38px 0 24px;
  border-radius: 46px 46px 0 0/33px 33px 0 0;
  box-shadow: 0 -2px 24px rgba(44, 52, 41, 0.05);
  width: 100%;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 7px;
}
footer nav a {
  color: #2b7039;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 18px 9px 15px 16px;
  font-family: 'Oswald', Arial, sans-serif;
  transition: background 0.16s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: #ccf1e5;
  color: #14622d;
}
.footer-info {
  font-size: 0.97rem;
  color: #163323;
}

/* Hero Section */
.hero {
  background: linear-gradient(110deg, #e7efe5 70%, #e6f6fa 100%);
  margin-bottom: 60px;
  padding: 52px 0 40px 0;
  border-radius: 0 60px 60px 80px/0 34px 44px 90px;
  box-shadow: 0 6px 32px 4px rgba(44, 52, 41, 0.08);
  position: relative;
}
.hero .container {
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}

/* Mobile Burger Menu Button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 2001;
  background: #68b47b;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  box-shadow: 0 2px 14px rgba(44, 52, 41, 0.12);
  cursor: pointer;
  transition: background 0.19s, transform 0.14s;
  justify-content: center;
  align-items: center;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #26753d;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #e6f6fa;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(0.76,1.65,0.4,0.92);
  box-shadow: -3px 0 38px 0 rgba(12,35,27,0.09);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 36px 0 0;
  background: none;
  border: none;
  color: #2b7039;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.24s, transform 0.16s;
  z-index: 2160;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #378f5b;
  transform: scale(1.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 0 0 0;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #113C51;
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid #c4e6d1;
  transition: color 0.16s, background 0.17s;
  border-radius: 10px 8px 18px 8px;
  outline: none;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #d9f3de;
  color: #378f5b;
}

/* Responsive Navigation: Show/hide desktop/mobile nav */
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Lists with Icon Appearance */
ul, ol {
  list-style-type: disc;
}
ul li::marker {
  color: #68b47b;
}

/* Section Spacing and Padding Enforced */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Card Container Utility Spacing Enforced */
.card-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #e5eee3;
  box-shadow: 0 -4px 26px 0 rgba(44, 52, 41, 0.09);
  border-radius: 22px 22px 0 0/18px 18px 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 18px 20px;
  gap: 30px;
  z-index: 2900;
  font-size: 1.09rem;
  color: #113C51;
  transition: transform 0.29s cubic-bezier(.54,1.43,.67,1); opacity: 1;
  pointer-events: auto;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 480px;
  flex: 1 1 300px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  background: #68b47b;
  color: #fff;
  border: none;
  border-radius: 18px 14px 22px 8px/15px 22px 15px 23px;
  padding: 12px 22px;
  margin-right: 5px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, transform 0.14s;
  box-shadow: 0 2px 10px 0 rgba(60,93,60,0.07);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #26753d;
  color: #eaffeb;
  transform: translateY(-1px) scale(1.04);
}
.cookie-banner button.cookie-settings {
  background: #1BAED3;
}
.cookie-banner button.cookie-settings:hover {
  background: #113C51;
  color: #fff;
}

/* Cookie Consent Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2990;
  inset: 0;
  background: rgba(16,44,32,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.32s;
  pointer-events: auto;
}
.cookie-modal {
  background: #f4f9f2;
  border-radius: 40px 26px 33px 33px/36px 24px 41px 35px;
  box-shadow: 0 6px 36px 0 rgba(80,99,65,0.11);
  padding: 38px 30px;
  min-width: 310px;
  max-width: 95vw;
  z-index: 3010;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  animation: fadeInModal 0.38s cubic-bezier(.54,1.43,.67,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.92) translateY(45px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #153f2d;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-modal .category-label {
  min-width: 180px;
  color: #264335;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
}
.cookie-modal .cookie-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e5eee3;
  border-radius: 16px;
  transition: background 0.2s;
}
.cookie-modal .cookie-toggle input:checked + .slider {
  background: #67b376;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 2px 7px rgba(99,124,108,0.09);
}
.cookie-modal .cookie-toggle input:checked + .slider:before {
  transform: translateX(18px);
}

.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal button,
.cookie-modal .modal-actions button {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  background: #68b47b;
  color: #fff;
  border: none;
  border-radius: 18px 14px 22px 8px/15px 22px 15px 23px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, transform 0.14s;
  box-shadow: 0 2px 10px 0 rgba(60,93,60,0.07);
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #26753d;
  color: #eaffeb;
  transform: scale(1.04);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  color: #388265;
  font-size: 2rem;
  cursor: pointer;
  z-index: 100;
}
.cookie-modal .close-modal:hover { color: #113C51; }


/* Micro-interactions & Animations */
.cta.primary, .cookie-banner button, .cookie-modal button {
  transition: background 0.17s, box-shadow 0.2s, color 0.2s, transform 0.17s;
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(44, 58, 24, 0.13);
  transform: scale(1.015) translateY(-2px);
}

/* Visual Organic Shapes */
section, .card, .feature-grid > div, .testimonial-card, .cta.primary,
.cookie-banner, .cookie-modal {
  /* organic border radius for nature look */
  border-radius: 34px 25px 29px 38px / 33px 28px 32px 40px;
}


/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 850px) {
  .container {
    padding: 0 7px;
  }
  .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .card {
    min-width: 90vw;
  }
  header {
    padding: 8px 8px 8px 13px;
  }
  .hero {
    border-radius: 0 20px 32px 44px/0 22px 22px 40px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    font-size: 1rem;
    padding: 22px 3vw 12px;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-start;
  }
  .cookie-modal {
    padding: 26px 10px;
    min-width: 96vw;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.3rem; }
  .hero { padding-top: 29px; padding-bottom: 20px; }
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .card {
    min-width: 100%;
    width: 100%;
  }
  .text-image-section {
    align-items: flex-start;
  }
  footer {
    border-radius: 24px 24px 0 0/13px 13px 0 0;
    padding: 18px 0 14px;
    margin-top: 28px;
  }
  .footer-info { font-size: 0.89rem; }
}


/* ========== MISC. ========== */
::selection {
  background: #a8d5b5;
  color: #113C51;
}
::-webkit-scrollbar {
  width: 8px;
  background: #f2f7ef;
}
::-webkit-scrollbar-thumb {
  background: #e2eedd;
  border-radius: 9px;
}

/* Focus Visibilty */
a:focus, button:focus, input:focus, .cta.primary:focus {
  outline: 2px dashed #67b376;
  outline-offset: 3px;
}

/* Misc visual details */
hr {
  border: 0;
  border-bottom: 1px dashed #b6cab1;
  margin: 24px 0;
}

/* Hide modal/cookie elements by default (handled via JS) */
.cookie-modal-backdrop {
  display: none;
}
.cookie-modal-backdrop.open {
  display: flex;
}

/* Utility classes for spacing */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
p { margin-bottom: 12px; }

/* Accessibility: High contrast for testimonials */
.testimonial-card,
.testimonial-card p,
.testimonial-author {
  color: #153f2d !important;
  background: #f5f7f2 !important;
}

/* End of File */
