/* =========================================================
   CSS RESET & NORMALIZATION
   ========================================================= */
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,
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #192026;
  color: #f4eae0;
  font-family: 'Roboto', Arial, 'Liberation Sans', sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #2a9d8f;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9C846;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #f4eae0;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #e7decf;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
strong {
  color: #f4eae0;
  font-weight: 700;
}
p, blockquote, li, dd {
  font-size: 1rem;
  color: #e7decf;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #2a9d8f;
  padding-left: 16px;
  color: #fff;
  margin-bottom: 10px;
}

/* ========================
   LAYOUT & CONTAINERS
   ======================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
}
/* Section Spacing (MANDATORY) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(38, 70, 83, 0.94);
  border-radius: 14px;
  box-shadow: 0 4px 12px 0 rgba(30,38,47,0.2);
  border: 1px solid #242b32;
}
@media (max-width: 768px) {
  section {
    padding: 30px 8px;
    margin-bottom: 34px;
  }
  .text-section {
    max-width: 100%;
  }
}

/* Required layout patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 260px;
  margin-bottom: 20px;
  background: #22323b;
  border-radius: 12px;
  box-shadow: 0 2px 6px 0 rgba(44,51,58,0.15);
  border: 1px solid #263445;
  padding: 28px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card + .card {
  margin-left: 0;
}
.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: stretch;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
  }
  .card-container {
    flex-direction: column;
  }
}

/* Industrial Modern Feature List */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 270px;
  background: #22323b;
  border: 1.5px solid #353b40;
  border-radius: 11px;
  padding: 28px 18px 24px 18px;
  box-shadow: 0 2px 10px 0 rgba(40,50,60,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
  transition: box-shadow 0.18s linear, border 0.18s linear;
}
.feature-grid li:hover {
  border-color: #2a9d8f;
  box-shadow: 0 6px 22px 0 rgba(42,157,143,0.16);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  filter: brightness(1) contrast(1.1);
}

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

/* Service List Blocks */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list > div {
  flex: 1 1 250px;
  background: #22323b;
  border: 1.5px solid #313d44;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,50,65,0.11);
  padding: 22px 18px;
  min-width: 235px;
  margin-bottom: 12px;
  transition: box-shadow 0.18s linear, border 0.18s linear;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-list > div:hover {
  border-color: #2a9d8f;
  box-shadow: 0 8px 24px 0 rgba(42,157,143,0.10);
}
.service-highlight {
  margin-top: 24px;
  padding: 18px 16px;
  border-left: 3.7px solid #2a9d8f;
  background: #293742;
  border-radius: 8px;
  font-size: 1.06rem;
}
@media (max-width: 900px) {
  .service-list, .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* ========================
   HEADER, NAV, FOOTER
   ======================== */
header {
  background: #22282f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 3px solid #2a9d8f;
  box-shadow: 0 2px 8px 0 rgba(30, 45, 60, 0.10);
  position: relative;
  z-index: 100;
}
header img[alt="Aqualis Power Kids Move"] {
  height: 52px;
  margin-right: 28px;
  filter: grayscale(10%) brightness(0.97);
  user-select: none;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #f1f5fa;
  padding: 7px 13px;
  border-radius: 6px;
  transition: background 0.19s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  background: #2a9d8f;
  color: #fff;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  background: linear-gradient(93deg, #2a9d8f 82%, #264653 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.07em;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 3px 13px 0 rgba(42,157,143,0.13);
  cursor: pointer;
  letter-spacing: 1.4px;
  margin-left: 18px;
  margin-right: 8px;
  transition: background 0.21s, box-shadow 0.17s, color 0.16s;
  outline: none;
  text-shadow: 0 1px 2px rgba(38,70,83,0.16);
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff;
  color: #2a9d8f;
  box-shadow: 0 10px 36px 0 rgba(42,157,143,0.15);
}

/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2a9d8f;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  margin-left: 16px;
  transition: background 0.18s;
  z-index: 2110;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #22323b;
}

@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #22323be8;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  padding: 38px 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  margin: 12px 22px 18px 0;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2020;
  border-radius: 50%;
  padding: 6px 12px;
  transition: background 0.15s;
}
.mobile-menu .mobile-menu-close:focus,
.mobile-menu .mobile-menu-close:hover {
  background: #2a9d8f33;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 4px;
}
.mobile-nav a {
  color: #f4eae0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 36px;
  width: 100%;
  border-radius: 0;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2a9d8f;
  color: #fff;
}
@media (max-width: 575px) {
  .mobile-nav a {
    padding: 14px 16px;
    font-size: 1.01rem;
  }
}

footer {
  background: #20262b;
  border-top: 2.5px solid #2a9d8f;
  padding: 32px 0;
  font-size: 0.98rem;
  color: #d3cec5;
  box-shadow: 0 -2px 12px 0 rgba(38,70,83,0.10);
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer img[alt="Aqualis Power Kids Move"],
footer img[alt="Aqualis Power Kids Move"] {
  height: 48px;
  max-width: 120px;
  margin-right: 14px;
  filter: grayscale(19%) contrast(0.93);
}
footer nav {
  display: flex;
  gap: 16px;
}
footer nav a {
  color: #a6b1bb;
  font-size: 0.98rem;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #2a9d8f;
}
footer div {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  color: #babec1;
  font-size: 0.97em;
}
footer img[alt^="Telefon"],
footer img[alt^="Email"],
footer img[alt^="Adres"] {
  height: 18px;
  width: 18px;
  margin-right: 4px;
  filter: opacity(0.68);
  display: inline-block;
}
@media (max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ========================
   TESTIMONIAL CARDS
   ======================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f4eae0;
  color: #192026;
  border-radius: 12px;
  border: 2px solid #2a9d8f;
  box-shadow: 0 4px 13px 0 rgba(38,70,83,0.13);
  margin-bottom: 24px;
  padding: 20px;
  min-width: 240px;
  max-width: 770px;
  word-break: break-word;
}
.testimonial-card blockquote {
  color: #22323b;
  border-left: 4px solid #2a9d8f;
  padding-left: 18px;
  margin: 0 0 6px 0;
  font-size: 1.11rem;
}
.testimonial-card div {
  color: #2a9d8f;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  margin-left: 26px;
  letter-spacing: 1.1px;
}
@media (max-width: 650px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    font-size: 0.98em;
  }
  .testimonial-card div {margin-left: 0;}
}

/* ========================
   FORMS & DL
   ======================== */
dt {
  font-weight: bold;
  margin-top: 16px;
  color: #2a9d8f;
}
dd {
  margin-left: 0;
  margin-bottom: 13px;
}

/* ========================
   BUTTONS & UI ELEMENTS
   ======================== */
button, .btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
}
button {
  cursor: pointer;
}

/* ========================
   MISCELLANEOUS
   ======================== */
::-webkit-scrollbar {
  width: 7px;
  background: #222a2f;
}
::-webkit-scrollbar-thumb {
  background: #2a9d8f;
  border-radius: 7px;
}

hr {
  border: none;
  border-top: 1.5px solid #47515b;
  margin: 40px 0;
}

/* ========================
   COOKIE CONSENT BANNER
   ======================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #22323b;
  color: #f4eae0;
  box-shadow: 0 -4px 28px 0 rgba(38,70,83,0.15),0 -1px 4px #2a9d8f11;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  transition: transform 0.33s cubic-bezier(0.68,0.01,0.37,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner-text {
  text-align: center;
  font-size: 1.09rem;
  color: #fff;
}
.cookie-banner-actions {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02em;
  font-weight: 700;
  color: #fff;
  background: #2a9d8f;
  box-shadow: 0 2px 8px 0 rgba(42,157,143,0.10);
  transition: background 0.17s, color 0.13s, box-shadow 0.15s;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #2a9d8f;
  box-shadow: 0 4px 16px 0 rgba(42,157,143,0.15);
}
.cookie-btn.reject {
  background: #325061;
  color: #e7decf;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2a9d8f;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #f4eae0;
  border: 1.4px solid #2a9d8f;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #2a9d8f;
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3010;
  inset: 0;
  background: rgba(38, 70, 83, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #f4eae0;
  color: #22323b;
  border-radius: 13px;
  box-shadow: 0 8px 36px 0 rgba(38,70,83,0.23);
  max-width: 390px;
  padding: 38px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  margin: 12px;
  font-size: 1.03rem;
  border: 3px solid #2a9d8f;
  animation: slideUp .27s cubic-bezier(0.6,0,0.3,1);
}
@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 1.7rem;
  color: #2a9d8f;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-toggle {
  width: 32px;
  height: 18px;
  background: #d1d7db;
  border-radius: 14px;
  position: relative;
  margin-left: 4px;
  transition: background 0.13s;
}
.cookie-toggle.enabled {
  background: #2a9d8f;
}
.cookie-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
  margin: 0;
  z-index: 1;
}
.cookie-toggle .slider {
  position: absolute;
  left: 3px; top: 2.5px;
  width: 13px; height: 13px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px #aaa7;
  transition: left 0.18s;
}
.cookie-toggle.enabled .slider {
  left: 16px;
}
.cookie-modal-category-label {
  font-size: 1rem;
  color: #22323b;
  font-weight: 600;
}
.cookie-modal-essential {
  color: #2a9d8f;
  font-weight: bold;
  font-size: 1.05em;
}
.cookie-modal-btns {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 20px 7px 18px 12px; }
}

/* ========================
   RESPONSIVE TYPOGRAPHY
   ======================== */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.13rem; }
}
@media (max-width: 510px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.11rem; }
  h3 { font-size: 1rem; }
}

/* ========================
   INDUSTRIAL MODERN STYLE ACCENTS
   ======================== */
section, .card, .feature-grid li, .service-list > div {
  border-radius: 12px;
  /* Metallic edge accent */
  border-bottom: 4.5px solid #515A60;
  position: relative;
}
.section:before, .feature-grid li:before, .card:before, .service-list > div:before {
  content: '';
  display: block;
  position: absolute;
  top: -4px; right: 24px; width: 60px; height: 4px;
  background: #b6bbc1;
  border-radius: 2px;
  opacity: 0.23;
}

/* Only show accent for larger screens */
@media (max-width: 600px) {
  .section:before, .feature-grid li:before, .card:before, .service-list > div:before {
    display: none;
  }
}

/* ========================
   ANIMATION / MICRO-INTERACTION
   ======================== */
.btn-primary, .cookie-btn {
  transition: background 0.15s, color 0.14s, transform 0.15s, box-shadow 0.14s;
}
.card, .feature-grid li, .service-list > div {  
  transition: box-shadow 0.18s linear, border 0.16s linear, transform 0.21s cubic-bezier(.38,.1,.5,1.63);
}
.card:hover, .feature-grid li:hover, .service-list > div:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 7px 22px 0 rgba(42,157,143,0.12), 0 2px 14px 0 rgba(38,70,83,0.10);
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* ========================
   PRINT STYLES
   ======================== */
@media print {
  *, *:before, *:after { background: none !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
  a, a:visited { text-decoration: underline; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container, main { padding: 0 !important; margin: 0 !important; }
}
