/* ===================================================================
   Wave Mansion - style.css
   SOFT PASTEL UI | FLEXBOX LAYOUT ONLY | NO GRID | NO COLUMNS
   =================================================================== */

/* ------------------- CSS RESET & BASE ------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FAFCFD;
  color: #27323A;
  transition: background 0.4s;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
ul,ol {
  padding-left: 1.25em;
  margin-block: 1em;
}
a {
  color: #174E61;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #F2A65A;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
}
button {
  cursor: pointer;
  background: none;
}


/* ------------------- TYPOGRAPHY ------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #174E61;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px #E7FAF4;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 8px #F5EFFB;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, 
ul, ol, li {
  color: #27323A;
  font-size: 1rem;
  line-height: 1.68;
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: #174E61;
}
em {
  color: #9A8CB2;
  font-style: normal;
}


/* ----------- CONTAINER & SPACING PATTERNS ----------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 6px 32px 0 rgba(128,180,180,0.10);
  position: relative;
  transition: box-shadow 0.2s;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}
.text-section {
  margin-bottom: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container, .feature-grid, .service-list, .instructor-list, .testimonial-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { 
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(124,172,200,0.08);
  padding: 28px 20px;
  transition: box-shadow .15s;
}
.card:hover {
  box-shadow: 0 4px 28px 0 rgba(80,110,200,0.10);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F9FFFF;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(174,182,200,0.10);
  min-width: 0;
  flex: 1 1 280px;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid #E3F1F4;
}
.testimonial-card p {
  color: #174E61;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.testimonial-author {
  color: #A99BD5;
  font-size: 0.97rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.015em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px;
  border-radius: 24px;
  background: #F5EFFB;
  box-shadow: 0 1px 8px rgba(210,202,255,0.08);
}


/* ------------------- NAVIGATION ------------------- */
header {
  background: linear-gradient(90deg, #E3F1F4 80%, #F2E7F3 100%);
  border-bottom: 1px solid #e5eaf7;
  box-shadow: 0 2px 20px 0 #F2E7F340;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 18px;
  color: #174E61;
  background: transparent;
  transition: background .18s, color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E3F1F4;
  color: #F2A65A;
}
.main-nav .cta-btn {
  font-weight: bold;
  margin-left: 12px;
  background: #F2A65A;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  box-shadow: 0 2px 10px #F2A65A20;
  transition: background .18s, box-shadow .17s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #e78226;
  color: #fff;
  box-shadow: 0 4px 20px #F2A65A30;
}


/* Burger Mobile Menu */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 0.8em;
  background: #F2A65A;
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 2rem;
  line-height: 0.9;
  box-shadow: 0 1px 7px #F2A65A18;
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: auto;
  z-index: 210;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #174E61;
  color: #fff;
  box-shadow: 0 3px 12px #174E6133;
}
@media (min-width: 993px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(227,241,244,0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.7,.1,.6,1);
  box-shadow: 0 0 32px 0 #1b66750a;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  color: #174E61;
  margin: 22px 26px 0 0;
  background: none;
  border: none;
  padding: 0.2em 0.6em;
  z-index: 101;
  border-radius: 10px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2A65A22;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 64px 32px;
  margin-top: 26px;
  width: 95vw;
  max-width: 410px;
  background: #fff;
  border-radius: 0 26px 26px 0;
  box-shadow: 8px 0 40px 0 #F2A65A14;
  min-height: 70vh;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 12px 20px;
  border-radius: 16px;
  color: #174E61;
  transition: background 0.17s, color 0.17s;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2E7F3;
  color: #F2A65A;
}
@media (min-width: 993px) {
  .mobile-menu { display: none; }
}

/* Hide main-nav on mobile, show burger */
@media (max-width: 992px) {
  .main-nav { display: none; }
}

/* ----------- MAIN PAGE  FLEX & CONTENT STRUCTURES ----------- */
.feature-grid { 
  display: flex; 
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 4px;
}
.feature {
  flex: 1 1 240px;
  min-width: 240px;
  background: #E3F1F4;
  border-radius: 20px;
  box-shadow: 0 1px 7px #BEE2E833;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.service {
  flex: 1 1 260px;
  min-width: 240px;
  background: #F2E7F3;
  border-radius: 20px;
  padding: 24px 18px;
  box-shadow: 0 1px 10px #BDB2D933;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.city-list li {
  display: flex;
  align-items: center;
  background: #F6FAFC;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 1.03rem;
  color: #174E61;
  box-shadow: 0 1px 6px #D5E6F544;
  margin-bottom: 0;
}
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 20px;
  background: #FAF3E3;
  box-shadow: 0 2px 10px #F2A65A22;
  min-height: 90px;
  margin-bottom: 20px;
}
.map-placeholder img {
  width: 56px;
  height: 56px;
}

.contact-details, .contact-details-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-details div, .contact-details-footer span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
}
.contact-details-footer span {
  color: #919DB5;
  font-size: 0.98em;
}
.contact-details-footer img {
  width: 18px;
  height: 18px;
}


/* ----------- CARDS & LISTS ----------- */
.instructor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.instructor-card {
  flex: 1 1 240px;
  background: #E3F1F4;
  border-radius: 18px;
  box-shadow: 0 1px 10px #B7B7B73f;
  padding: 26px 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 0;
  color: #27323A;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.instructor-card h3 {
  margin-bottom: 7px;
  color: #174E61;
  font-size: 1.18rem;
}
.instructor-card em {
  display: block;
  color: #F2A65A;
  font-style: normal;
  margin-top: 7px;
  font-size: 0.99em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #F5EFFB;
  border-radius: 18px;
  padding: 18px 18px 10px 18px;
  box-shadow: 0 1px 7px #BDB2D966;
}
.faq-item h3 {
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 7px;
  color: #7E73B9;
}


/* ----------- BUTTONS ----------- */
.cta-btn {
  display: inline-block;
  background: #F2A65A;
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 12px 28px;
  border-radius: 30px;
  box-shadow: 0 6px 36px #F2A65A11;
  margin-top: 18px;
  transition: background .16s, color .14s, box-shadow .18s, transform .12s;
  border: none;
  letter-spacing: 0.04em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #174E61;
  color: #fff;
  transform: translateY(-2px) scale(1.033);
  box-shadow: 0 12px 48px #174E6112;
}


/* ------------------- TABLES (CENNIK) ------------------- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #F7F9FF;
  border-radius: 18px;
  box-shadow: 0 1px 8px #7BBCA922;
  margin-bottom: 24px;
  overflow: hidden;
  font-size: 1.01rem;
}
.pricing-table th, .pricing-table td {
  padding: 13px 12px;
  text-align: left;
  color: #27323A;
  font-family: 'Open Sans', Arial, sans-serif;
}
.pricing-table thead th {
  background: #E3F1F4;
  color: #174E61;
  font-weight: 700;
}
.pricing-table tbody tr {
  border-top: 1px solid #F2E7F3;
}
.pricing-table tbody td {
  background: #FFFFFF;
}
.pricing-table tbody tr:nth-child(even) td {
  background: #FBFAFE;
}


/* ------------------- FOOTER ------------------- */
footer {
  background: linear-gradient(90deg, #E3F1F4 80%, #F2E7F3 100%);
  border-top: 1.5px solid #e5eaf7;
  margin-top: 70px;
  padding: 30px 0 16px 0;
  font-size: 1rem;
  color: #174E61;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px 100px;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-menu a {
  color: #6661a0;
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.footer-brand img {
  width: 54px;
  height: auto;
  margin-bottom: 10px;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-socials img {
  width: 24px;
  height: 24px;
  opacity: 0.74;
  transition: opacity 0.16s;
}
.footer-socials img:hover,
.footer-socials img:focus {
  opacity: 1;
}


/* ----------- COOKIE CONSENT BANNER & MODAL ----------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #F7F9FF;
  color: #174E61;
  z-index: 12000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  box-shadow: 0 -3px 24px #174E6120;
  border-radius: 26px 26px 0 0;
  gap: 15px;
  animation: fadeInBanner .7s cubic-bezier(.7,.3,.6,1);
}
@keyframes fadeInBanner {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 260px;
  font-size: 0.98rem;
  color: #27323A;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  background: #F2A65A;
  color: #fff;
  font-size: 1.01rem;
  transition: background 0.14s, color 0.11s, box-shadow 0.16s;
  border: none;
  box-shadow: 0 2px 10px #F2A65A1f;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #174E61;
  color: #fff;
  box-shadow: 0 7px 18px #174E611a;
}
.cookie-btn.secondary {
  background: #E3F1F4;
  color: #174E61;
  box-shadow: 0 1px 7px #E3F1F458;
}
.cookie-btn.secondary:hover {
  background: #174E61;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12020;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,78,97,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.30s cubic-bezier(.7,.2,.6,1);
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 16px 40px #174E6135;
  max-width: 410px;
  width: 92vw;
  padding: 32px 28px 24px 28px;
  color: #174E61;
  animation: slideUpModal 0.36s cubic-bezier(.85,0,.60,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@keyframes slideUpModal {
  from { transform: translateY(60px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #7E73B9;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: #174E61;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  background: #E3F1F4;
  border-radius: 15px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px;
  height: 20px;
  background: #F2A65A;
  border-radius: 50%;
  transition: left .18s cubic-bezier(.7,.1,.6,1);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 22px;
  background: #174E61;
}
.cookie-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.5rem;
  color: #174E61;
  background: none;
  border: none;
  padding: 0.2em 0.4em;
  border-radius: 8px;
  transition: background 0.17s;
}
.cookie-close:hover {
  background: #F2A65A1c;
}


/* ----------- RESPONSIVE DESIGN ----------- */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 992px) {
  .feature-grid, .service-list, .instructor-list, .testimonial-list, .card-container, .footer-wrapper, .contact-details {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 30px 12px;
    margin-bottom: 50px;
  }
  .main-nav .cta-btn {
    margin-left: 0;
    margin-top: 16px;
  }
  footer .footer-wrapper {
    gap: 16px 0;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
    border-radius: 18px;
  }
  .card, .feature, .service, .instructor-card, .testimonial-card, .faq-item {
    padding: 16px 10px;
    border-radius: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .map-placeholder {
    padding: 8px;
    border-radius: 10px;
    min-height: 50px;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.42rem; }
  .cta-btn, .cookie-btn {
    font-size: 0.98rem;
    padding: 10px 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 8px;
    border-radius: 14px 14px 0 0;
  }
  .cookie-modal {
    padding: 15px 6px 12px 6px;
    min-width: 0;
    border-radius: 15px;
  }
}

/* ----------- MICRO-INTERACTIONS & SHADOWS ----------- */
.card, .feature, .service, .instructor-card, .testimonial-card, .faq-item {
  transition: box-shadow 0.20s, transform 0.13s;
}
.card:hover, .feature:hover, .service:hover, .instructor-card:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 8px 38px #F2A65A19;
  transform: scale(1.02);
}


/* ----------- VISUAL/PASTEL COLOR PALETTE EXTENSIONS ----------- */
body {
  background: #FAFCFD;
}
.section, .card, .feature, .service, .instructor-card, .faq-item {
  /* Soft overlay for dreamy atmosphere */
  background: linear-gradient(100deg, #fff 80%, #E3F1F4 110%);
}

/* Subtle dreamy gradients for visual accents */
.header, footer, .section {
  /* Pastel, not pure white */
  background: linear-gradient(90deg, #E3F1F4 80%, #F2E7F3 100%);
}

/* Button Glow Active State */
.cta-btn:active, .cookie-btn:active {
  background: #F7E8D1;
  color: #174E61;
  box-shadow: 0 1px 5px #F2A65A10;
}

/* Ensure minimum margin between content blocks on small devices */
.card-container > *, .feature-grid > *, .service-list > *, .testimonial-list > *, .instructor-list > * {
  margin-bottom: 0 !important;
}

/* ----------- Z-INDEX LAYERING SAFETY ----------- */
header { z-index: 20; position: relative; }
.mobile-menu { z-index: 1100; }
.cookie-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 1300; }

/* ----------- UTILITY CLASSES ----------- */
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 28px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 14px; }
.mb-3 { margin-bottom: 30px; }

/* ----------- SPECIALS ----------- */
@media (max-width: 680px) {
  .footer-brand img { width: 38px; }
}

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


/* =================== END WAVE MANSION SOFT PASTEL UI =================== */