/* CSS RESET & NORMALIZE */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F9FB;
  color: #15223B; /* dark navy */
  font-family: 'Open Sans', Arial, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #155A8A;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #EFB133;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
ul {
  list-style: disc inside;
}
strong {
  font-weight: 700;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700&family=Open+Sans:wght@400;600;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', 'Open Sans', Arial, sans-serif;
  color: #155A8A;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul, li, table, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #15223B;
}

/* CONTAINER & STRUCTURE */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(21,90,138,0.04);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 8px;
  }
}


/* HEADER STYLES & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ECF1F6;
  box-shadow: 0 2px 16px rgba(21,90,138,0.02);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0;
  gap: 16px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-weight: 600;
  font-size: 1rem;
  color: #155A8A;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EFB133;
  color: #155A8A;
}
.cta-btn {
  display: inline-block;
  background: #155A8A;
  color: #fff !important;
  font-family: 'Baloo 2', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 22px;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(21,90,138,0.09);
  transition: background .2s, box-shadow .23s;
  border: none;
  outline: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #EFB133;
  color: #155A8A !important;
  box-shadow: 0 6px 24px rgba(239,177,51,0.07);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #155A8A;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  border: none;
  padding: 4px 16px 4px 8px;
  border-radius: 10px;
  margin-left: 12px;
  transition: background .18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #133F66;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,90,138,0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #EFB133;
  background: none;
  border: none;
  padding: 16px 22px 0 0;
  cursor: pointer;
  margin-bottom: 32px;
  transition: color .16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 13px 6px;
  border-bottom: 1px solid rgba(239,177,51,0.15);
  transition: background .18s, color .18s;
  border-radius: 8px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EFB133;
  background: rgba(239,177,51,0.09);
}

@media (max-width: 500px) {
  .mobile-nav {
    padding: 0 12px;
    gap: 12px;
  }
  .mobile-menu-close {
    padding-right: 9px;
  }
}

/* SECTIONS & FLEX CONTAINERS */
.features-grid,
.benefits-grid,
.program-grid,
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div,
.benefits-grid > div,
.program-grid > div,
.service-cards > div {
  background: #F4F9FC;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(21,90,138,0.05);
  padding: 22px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.features-grid img,
.benefits-grid img {
  width: 36px;
  height: 36px;
}

@media (max-width: 1023px) {
  .features-grid,
  .benefits-grid,
  .program-grid,
  .service-cards {
    flex-direction: column;
    gap: 22px;
  }
  .features-grid > div,
  .benefits-grid > div,
  .program-grid > div,
  .service-cards > div {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

/* Testimonial & Card styles */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFFFFF;
  box-shadow: 0 2px 14px rgba(21,90,138,0.07);
  border-radius: 11px;
  max-width: 390px;
  color: #15223B;
  font-size: 1.05rem;
  position: relative;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #155A8A;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #EFB133;
  font-family: 'Baloo 2', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(21,90,138,0.12);
}

/* Additional Cards & Info blocks */
.discounts, .included, .age-groups, .activity-schedule, .special-events, .atmosphere-description {
  background: #F4F9FC;
  border-radius: 8px;
  padding: 18px 18px 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 5px rgba(21,90,138,.04);
}
.unique-experience, .safety-features, .team-bio-short {
  background: #F7FBFE;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(21,90,138,.03);
}

/* CONTACT INFO FLEX */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info img {
  width: 20px;
  height: 20px;
  filter: grayscale(10%);
}

@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    gap: 14px;
  }
  .contact-info {
    flex-direction: column;
    gap: 12px;
  }
}

/* TABLES STYLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(21,90,138,0.07);
}
thead {
  background: #E8EFF6;
}
th, td {
  padding: 13px 14px;
  text-align: left;
  font-size: 1rem;
}
th {
  color: #155A8A;
  font-family: 'Baloo 2', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}
tr {
  border-bottom: 1px solid #F1F3F7;
}
tr:last-child {
  border-bottom: none;
}

/* FOOTER STYLES */
footer {
  background: #155A8A;
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 60px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 24px;
}
.footer-wrapper img[alt="Jasny Skarb"], .footer-wrapper > a img {
  width: 56px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.91;
  transition: color .15s;
  margin-bottom: 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #EFB133;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #fff;
}
.footer-contact img {
  width: 16px;
  margin-right: 4px;
  opacity: 0.85;
}
.footer-contact a {
  color: #EFB133;
}
.footer-contact a:hover {
  text-decoration: underline;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 9px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  filter: grayscale(22%);
  transition: filter .22s;
}
.footer-social img:hover, .footer-social img:focus {
  filter: none;
}
.footer-legal {
  text-align: center;
  font-size: 0.93rem;
  color: #BED7EA;
  padding: 18px 0 23px 0;
  border-top: 1px solid #2A638B;
  letter-spacing: .01em;
}

@media (max-width: 1000px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-legal {
    font-size: 0.89rem;
    padding: 15px 0 15px 0;
  }
}

/* FLEXBOX UTILITIES (MANDATORY CLASSES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(21,90,138,0.05);
  overflow: hidden;
}
.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;
}

@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}


/* TYPOGRAPHY SIZES/STYLES */
.legal-text {
  color: #39475E;
  font-size: 1rem;
  line-height: 1.72;
}
.legal-text h2 {
  margin-top: 28px;
  font-size: 1.18rem;
  color: #155A8A;
  margin-bottom: 10px;
}
.legal-text a {
  color: #EFB133;
  word-break: break-all;
}
.legal-text a:hover, .legal-text a:focus {
  text-decoration: underline;
}

/* BUTTONS */
button, .btn, .cta-btn {
  cursor: pointer;
  user-select: none;
  transition: background .22s, color .20s, box-shadow .26s, transform .14s;
}
.btn {
  background: #155A8A;
  color: #fff;
  border-radius: 20px;
  padding: 9px 26px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(21,90,138,0.09);
  border: none;
  display: inline-block;
}
.btn:hover, .btn:focus {
  background: #EFB133;
  color: #155A8A;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(239,177,51,0.11);
}

/* FORM ELEMENTS */
input, textarea, select {
  background: #F4F9FC;
  border-radius: 7px;
  border: 1px solid #C2D1E0;
  padding: 10px 13px;
  margin-bottom: 15px;
  font-size: 1rem;
  transition: border-color .17s;
  color: #15223B;
}
input:focus, textarea:focus, select:focus {
  border-color: #155A8A;
  background: #fff;
}
label {
  margin-bottom: 4px;
  display: inline-block;
  font-size: .98rem;
}

/* SPACING BETWEEN ELEMENTS */
section + section {
  margin-top: 0;
}
.content-wrapper > * + * {
  margin-top: 8px;
}
ul {
  margin-top: 0;
  margin-bottom: 8px;
}
.section ul li,
.section ol li {
  padding-left: 4px;
  margin-bottom: 7px;
}

/* VISUAL EFFECTS / SHADOWS / ROUNDING */
.card, .testimonial-card, .service-cards > div, .features-grid > div, .benefits-grid > div {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(21,90,138,0.07);
}
.card:hover, .service-cards > div:hover, .features-grid > div:hover {
  box-shadow: 0 10px 28px rgba(21,90,138,0.13);
  transform: translateY(-2px) scale(1.025);
}

/* ANIMATIONS */
.section, .testimonial-card, .service-cards > div, .features-grid > div, .program-grid > div {
  transition: box-shadow .23s, transform .14s;
}
.cta-btn, .btn, button {
  transition: background .18s, color .18s, box-shadow .12s, transform .12s;
}

/* Z-INDEX SAFETY */
header { z-index: 30; }
.mobile-menu { z-index: 200; }
.cookie-banner, .cookie-modal-backdrop { z-index: 9999; }

/* RESPONSIVE HEADERS */
@media (max-width: 768px) {
  h1 {
    font-size: 1.38rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 11px;
  }
  .cta-btn {
    font-size: 0.97rem;
    padding: 7px 18px;
  }
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #155A8A;
  color: #fff;
  padding: 18px 12px 18px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #EFB133;
  box-shadow: 0 -4px 20px rgba(21,90,138,0.09);
  font-size: 1rem;
  animation: fadeInUp .8s cubic-bezier(.33,.89,.52,1.21) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(64px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 200px;
  color: #fff;
  font-size: .99rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  padding: 8px 20px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  background: #EFB133;
  color: #155A8A;
  transition: background .15s, color .15s, box-shadow .12s;
  box-shadow: 0 2px 8px rgba(239,177,51,0.07);
}
.cookie-btn.settings {
  background: #fff;
  color: #155A8A;
  border: 1px solid #EFB133;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ffd47b;
  color: #155A8A;
}
.cookie-btn.reject {
  background: #BED7EA;
  color: #155A8A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ADC7DC;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f8e6c6;
}

/* Cookie modal overlay */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(21,90,138, 0.82);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .22s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #15223B;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(21,90,138,0.18);
  max-width: 440px;
  width: 94vw;
  padding: 32px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeIn .4s;
  position: relative;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.93); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  color: #155A8A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F4F9FC;
  border-radius: 7px;
  padding: 10px 16px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
  line-height: 120%;
  color: #155A8A;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #EFB133;
  width: 22px; height: 22px;
  cursor: pointer;
}
.cookie-category.essential {
  color: #B4B6B8;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #EFB133;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #155A8A;
}

@media (max-width: 450px) {
  .cookie-modal {
    padding: 18px 7px 10px 7px;
    min-width: 0;
  }
}

/* MICRO-INTERACTIONS */
a, .cta-btn, .btn, button, .main-nav a, .footer-nav a, .cookie-btn {
  transition: color .18s, background .19s, box-shadow .18s, transform .15s;
}

/* ACCESSIBILITY: FOCUS VISIBLE */
:focus-visible {
  outline: 2px solid #EFB133;
  outline-offset: 1px;
}

/* MISC: Hide visually if needed */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* BADGES, LABELS, ETC. */
.badge {
  display: inline-block;
  background: #EFB133;
  color: #155A8A;
  font-size: .88rem;
  padding: 2px 10px;
  border-radius: 11px;
  font-weight: 600;
  margin-left: 6px;
}

/* LINKS IN CONTENT */
.content-wrapper a:not(.cta-btn), .legal-text a {
  color: #155A8A;
  text-decoration: underline;
}
.content-wrapper a:not(.cta-btn):hover, .legal-text a:hover {
  color: #EFB133;
}

/* PRINT STYLES */
@media print {
  header, footer, nav, .mobile-menu, .cookie-banner, .cookie-modal, .btn, button { display: none !important; }
  .container, .section {
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body {
    background: #fff !important;
    color: #15223B !important;
  }
}
