/* Zenith Domowe Prace - Creative Artistic Style CSS */

/*--- RESET & BASE STYLES ---*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #EBF3F9;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #20698B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #F49D37;
}
ul, ol {
  padding-left: 24px;
}
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}

/*--- BRAND & CREATIVE TYPOGRAPHY ---*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #20698B;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.lead {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  color: #14415A;
  margin-bottom: 24px;
}

/*--- CONTAINER ---*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

/*--- SECTION SPACING ---*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/*--- HEADER ---*/
header {
  background: #20698B;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(43,27,74,.06);
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
}
header img {
  height: 40px;
}
/*--- MAIN NAV ---*/
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F49D37;
  color: #222;
  box-shadow: 0 2px 8px 0 rgba(244,157,55,0.07);
}
.cta-btn {
  background: #F49D37;
  color: #fff;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 99px;
  padding: 11px 36px;
  letter-spacing: 0.02em;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  margin-left: 18px;
  box-shadow: 0 4px 20px 0 rgba(244,157,55,0.09);
  outline: none;
  text-align: center;
  display: inline-block;
  opacity: 0.97;
}
.cta-btn.secondary {
  background: #20698B;
  color: #fff;
  border: 2px solid #F49D37;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B8690D;
  color: #fff;
  box-shadow: 0 4px 24px rgba(32,105,139,0.13);
  opacity: 1;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  border-color: #B8690D;
  background: #F49D37;
  color: #fff;
}

/*--- MOBILE MENU ---*/
.mobile-menu-toggle {
  display: none;
  background: #F49D37;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 130;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #B8690D;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #20698B;
  color: #FFF;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.68,.01,.57,1.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-bottom: 40px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  margin-left: 18px;
  margin-bottom: 20px;
  cursor: pointer;
  align-self: flex-end;
  padding: 6px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  padding-left: 34px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  padding: 8px 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  min-width: 44px;
  min-height: 36px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F49D37;
  text-decoration: underline;
}

/*--- HERO SECTIONS ---*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 540px) {
  section {padding: 32px 8px; margin-bottom: 44px;}
  .content-wrapper {gap: 16px;}
}

/*--- FLEX PATTERNS AND LAYOUTS ---*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(32,105,139,0.07);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s, transform 0.23s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,105,139,0.14);
  transform: translateY(-5px) scale(1.015);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(32,105,139,0.07);
  margin-bottom: 24px;
  min-width: 280px;
  max-width: 500px;
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*--- ARTISTIC COLORS, CARDS & BUTTONS ---*/
.feature-grid,
.services-list,
.services-grid,
.training-grid,
.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.feature {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(244,157,55,0.11);
  padding: 26px 22px;
  min-width: 190px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  border-left: 6px solid #F49D37;
  transition: box-shadow 0.25s, border-color 0.2s;
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  height: 46px;
  width: 46px;
  margin-bottom: 3px;
}
.feature:hover {
  box-shadow: 0 7px 28px 0 rgba(244,157,55,0.18);
  border-left-color: #B8690D;
}

/*--- SERVICES/ARTISTIC CARDS ---*/
.services-list, .services-grid {
  width: 100%;
}
.service {
  background: #EBF3F9;
  border-radius: 17px;
  box-shadow: 0 2px 8px rgba(32,105,139,0.08);
  padding: 27px 18px;
  margin-bottom: 20px;
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  border-left: 5px solid #20698B;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.service-price {
  background: #F49D37;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 99px;
  padding: 4px 16px;
  align-self: flex-start;
  margin-top: 8px;
}
.service:hover {
  box-shadow: 0 6px 22px 0 rgba(32,105,139,0.14);
  border-left-color: #B8690D;
}

/*--- TRAININGS/WORKSHOPS ---*/
.training-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.training {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 12px rgba(32,105,139,0.09);
  padding: 25px 16px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  transition: box-shadow 0.23s, border 0.2s;
  border-top: 4px solid #F49D37;
}
.training-price {
  background: #20698B;
  color: #fff;
  font-size: 0.98rem;
  padding: 4px 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 99px;
  margin: 8px 0;
  align-self: flex-start;
}
.training:hover {
  box-shadow: 0 7px 24px 0 rgba(32,105,139,0.16);
  border-top: 4px solid #B8690D;
}

/*--- TIPS & ARTICLES ---*/
.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.tip {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px 0 rgba(32,105,139,0.10);
  padding: 22px 15px;
  min-width: 200px;
  max-width: 300px;
  margin-bottom: 18px;
  flex: 1 1 180px;
  transition: background 0.15s, box-shadow 0.18s;
}
.tip:hover {
  background: #EBF3F9;
  box-shadow: 0 8px 16px 0 rgba(244,157,55,0.09);
}

/*--- TEAM & ABOUT ---*/
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.team-member {
  background: #F9ECD0;
  border: 2px solid #F49D37;
  border-radius: 12px;
  padding: 15px 12px;
  min-width: 175px;
  max-width: 270px;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #4A351B;
  box-shadow: 0 2px 8px 0 rgba(244,157,55,0.07);
  transition: background 0.18s;
}
.team-member strong {
  color: #B8690D;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
}
.team-member:hover {
  background: #FFF4DE;
}

.category-list, .featured-articles {
  margin: 24px 0;
}
.featured-articles ul, .category-list ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/*--- TESTIMONIALS ---*/
.testimonial-grid, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  min-width: 260px;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(32,105,139,0.12);
  padding: 25px 19px 22px 23px;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 20px;
  position: relative;
  border-left: 5px solid #F49D37;
  transition: box-shadow 0.24s border-left-color 0.2s;
}
.testimonial-card .stars {
  color: #F49D37;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #20698B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  margin-top: 10px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(32,105,139,0.19);
  border-left-color: #B8690D;
}

/*--- FOOTER ---*/
footer {
  background: #20698B;
  color: #fff;
  padding: 36px 0 24px 0;
  width: 100%;
  margin-top: 40px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.footer-content > * {
  min-width: 150px;
}
.footer-content a, .footer-content a:visited {
  color: #fff;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-content a:hover {
  color: #F49D37;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-about {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  line-height: 1.5;
  opacity: 0.92;
  max-width: 340px;
}
.footer-contact {
  font-size: 0.97rem;
  line-height: 1.6;
}
footer img {
  height: 42px;
  margin-bottom: 8px;
}

/*--- MAP PLACEHOLDER & MISC SECTIONS ---*/
.map-placeholder {
  background: #fffbe5;
  border: 1.5px dashed #B8690D;
  color: #B8690D;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  font-size: 0.98rem;
  margin-top: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.next-steps {
  background: #F9ECD0;
  border-radius: 9px;
  padding: 13px 16px;
  margin: 18px 0 8px 0;
  font-size: 1rem;
}
.next-steps ul {
  gap: 9px;
}

/*--- FORMS (generic) ---*/
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.5px solid #20698B;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 14px;
  width: 100%;
  box-shadow: none;
  outline: none;
  transition: border-color 0.18s;
}
input:focus,
textarea:focus {
  border-color: #F49D37;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #20698B;
  margin-bottom: 6px;
}

/*--- ARTISTIC CREATIVE TOUCHES ---*/
section, .card, .service, .feature, .testimonial-card, .training, .team-member, .tip {
  box-shadow: 0 2px 14px 0 rgba(32,105,139,0.07);
}
section:nth-child(even) {
  background: #fff;
}
section:nth-child(odd) {
  background: #EBF3F9;
}

/* Effect: color doodle accent stripe (artistic) */
section::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #F49D37;
  border-radius: 2px 6px 14px 2px;
  margin: 28px auto 0 auto;
  opacity: 0.15;
}

/*--- COOKIE CONSENT BANNER ---*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 300;
  background: #fffbe5;
  color: #3B3630;
  padding: 18px 14px;
  box-shadow: 0 -4px 24px 0 rgba(244,157,55,0.13);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 22px;
  font-size: 1.03rem;
  border-top: 2.5px solid #F49D37;
  animation: slideInBottom 0.5s;
}
.cookie-consent-banner button {
  background: #F49D37;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 8px 22px;
  margin-left: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(244,157,55,0.08);
  transition: background 0.17s, color 0.17s;
}
.cookie-consent-banner button.secondary {
  background: #fff;
  color: #B8690D;
  border: 1.5px solid #F49D37;
}
.cookie-consent-banner button:active,
.cookie-consent-banner button:hover {
  background: #B8690D;
  color: #fff;
}

@keyframes slideInBottom {
  0% {transform: translateY(90px); opacity:0;}
  100% {transform: translateY(0); opacity:1;}
}

/*--- COOKIE SETTINGS MODAL ---*/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,105,139,0.24);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 36px 0 rgba(32,105,139,0.18);
  max-width: 420px;
  width: 92vw;
  padding: 30px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.07rem;
  color: #222;
}
.cookie-modal h3 {
  color: #F49D37;
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20698B;
  font-size: 1rem;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #F49D37;
  width: 18px; height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
@keyframes fadeInModal {
  0% {opacity:0;}
  100% {opacity:1;}
}

/*--- RESPONSIVE: MOBILE MENU + GENERAL ---*/
@media (max-width: 1024px) {
  .main-nav {gap: 13px;}
  .footer-content {gap: 14px;}
}
@media (max-width: 900px) {
  .main-nav {gap: 8px;}
}
@media (max-width: 900px) {
  .footer-content {flex-direction: column; gap: 25px;}
}
@media (max-width: 813px) {
  .feature-grid,
  .services-list,
  .services-grid,
  .training-grid,
  .tips-grid,
  .team-list,
  .testimonial-grid, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
@media (max-width: 830px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 540px) {
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.26rem;}
  .team-member, .feature, .service, .training, .card {min-width: unset; max-width: 100vw; padding: 15px 7px;}
  .testimonial-card {padding: 15px 6px 12px 16px; min-width: unset; max-width: unset;}
  .mobile-nav {font-size: 1rem;}
}

/*--- FLEX DIRECTION FOR TEXT-IMAGE SECTIONS ON MOBILE ---*/
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .content-grid {flex-direction: column; gap: 12px;}
}

/*--- FOCUS STYLES FOR ACCESSIBILITY ---*/
a:focus, button:focus, .cta-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #89caf7;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #f9bb66;
}

/*--- MICRO-INTERACTIONS & ANIMATIONS ---*/
.card, .feature, .service, .testimonial-card, .training, .tip, .team-member {
  transition: box-shadow 0.20s, border-color 0.2s, transform 0.16s;
}
.card:hover, .feature:hover, .service:hover, .testimonial-card:hover, .training:hover, .tip:hover, .team-member:hover {
  transform: translateY(-3px) scale(1.012);
}
section h1, section h2 {
  position: relative;
  z-index: 1;
}
section h1::after, section h2::after {
  content: '';
  display: inline-block;
  margin-left:6px;
  margin-right:3px;
  width:14px; height:14px;
  background: #F49D37;
  border-radius: 70% 20% 60% 20%/60% 50% 40% 70%;
  opacity: 0.21;
  vertical-align: middle;
}

/*--- ARTISTIC FONT SUPPORT ---*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Roboto:wght@400;500;700&display=swap');

/*--- UTILITY CLASSES ---*/
.d-flex {
  display: flex !important;
}
.flex-col {
  flex-direction: column !important;
}
.flex-row {
  flex-direction: row !important;
}
.gap-20 {gap: 20px !important;}
.gap-24 {gap: 24px !important;}

/*--- Z-INDEX SAFETY ---*/
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {z-index: 130;}

/*--- PRINT RESTRICTIONS (just in case) ---*/
@media print {
  .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {display: none !important;}
  header, footer {color: #222 !important; background: #fff !important;}
}

/*--- END Zenith Domowe Prace CSS ---*/
