:root {
  --primary-light: #B3E5FC; /* Lighter Background Blue */
  --primary-dark: #0d47a1;
  --secondary: #03a9f4;
  --accent: #00c8ff;
  --highlight-color: #F06292; /* Accent/CTA Pink */
  --highlight-hover: #EC407A; /* Darker: #D81B60*/
  --light-blue: #e3f2fd;
  --dark-blue: #0d47a1;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #6c757d; /* Keep gray */
  --dark-gray: #343a40;
  --black: #212529;
  --success: #28a745;
  --danger: #dc3545;
  
  /* Typography */
  --font-family-base: 'Roboto', sans-serif;
  --font-family-heading: 'Montserrat', sans-serif;
}

/* Global Styles */
body {
  font-family: var(--font-family-base);
  background-color: var(--primary-light); /* Lighter Background */
  color: var(--dark-gray);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  color: var(--primary-dark);
}

h1 {
  color: white;
}

a {
  color: var(--highlight-color); /* Use primary for links */
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--highlight-hover); /* Use primary-dark for link hover */
  text-decoration: none;
}

.btn-primary {
  background-color: var(--highlight-color); /* Use primary for primary buttons */
  border-color: var(--highlight-color); /* Use primary for primary buttons border */
}

.btn-primary:hover {
  background-color: var(--highlight-hover); /* Use primary-dark for primary button hover */
  border-color: var(--highlight-color); /* Use primary-dark for primary button hover border */
}

.btn-outline-primary {
  color: var(--highlight-color);
  border-color: var(--highlight-color);
}

.btn-outline-primary:hover {
  background-color: var(--highlight-hover); /* Use primary for outline primary button hover */
  border-color: var(--highlight-color); /* Use primary for outline primary button hover border */
}

.section {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background: var(--highlight-color); /* Use primary for section title underline */
  transform: translateX(-50%);
}

.wave-divider {
  line-height: 0;
  overflow: hidden;
  margin-bottom: -1px;
  margin-top: -1px;
}

.wave-divider-transparent {
  background-color: transparent;
  position: relative;
  z-index: 1;
  margin-top: clamp(-70px, calc(-17px - 2.5vw), -13px);
}

.wave-divider-light {
  background-color: var(--primary-light);
}

.wave-divider-dark {
  background-color: var(--light-blue);
}

.bg-light-blue {
  background-color: var(--light-blue);
}

.text-primary {
  color: var(--highlight-color) !important; /* Use primary for text-primary */
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  padding: 10px 0;
  background: white;
}

.navbar-brand {
  font-weight: 700;
  font-family: var(--font-family-heading);
  font-size: 1.3rem;
  color: var(--primary-dark);
}

.navbar-brand img {
  height: 90px;
  border-radius: 10px;
}

.subtitle {
  font-size: 1rem;
}

.navbar-nav .nav-item {
  position: relative;
  margin-left: 10px;
}

.navbar-nav .nav-link {
  color: var(--dark-gray); /* Keep dark-gray for nav links */
  font-weight: 500;
  padding: 8px 15px !important;
  border-radius: 4px;
  transition: all 0.3s ease;
}/* Use primary for active nav link */

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--highlight-color);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 15px;
  bottom: 0;
  width: calc(100% - 30px);
  height: 2px;
  background-color: var(--highlight-color); /* Use primary for active nav link underline */
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-shrink {
  padding: 5px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Keep shadow */
  background-color: var(--white);
}

.lang-selector {
  cursor: pointer;
  margin-left: 15px;
}

.social-links {
  display: flex;
  flex-direction: row;
  justify-content: center; /* lub space-between / flex-start / flex-end / etc. */
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--highlight-color);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 110vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image: url('/static/images/new_images/IMG_4451.jpeg');
  background-size: cover;
  background-position: center bottom 0;
}

#hero-about {
    background-image: url('/static/images/new_images/IMG_4462_cropped.jpeg');
}

#hero-gallery {
    background-image: url('/static/images/new_images/IMG_4448.jpeg');
}

#hero-pricing {
    background-image: url('/static/images/new_images/IMG_4454.jpeg');
    background-position: center;
}

#hero-contact {
    background-image: url('/static/images/new_images/IMG_4467.jpeg');
    background-position: center;
}


.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
  background-color: var(--highlight-color);
  color: var(--white);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  /* background-color: transparent; */
  background-color: var(--highlight-hover);
  color: var(--white);
  border-color: var(--white);
}

/* What We Offer */
#offer {
  padding-top: 40px;
}

.offer-item {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: var(--light-blue);
  min-height: 245px;
}

.offer-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.offer-icon {
  font-size: 3rem; /* Use primary for offer icons */
  color: var(--highlight-color);
  margin-bottom: 20px;
}

.offer-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Voucher Section */
.voucher-section {
  background-color: var(--primary-light); /* Lighter Background for Voucher Section */
}

.voucher-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.voucher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.voucher-img {
  height: 200px;
  background: url('https://source.unsplash.com/random/400x300/?swimming,voucher') no-repeat center center;
  background-size: cover;
}

.voucher-content {
  padding: 30px;
}

.voucher-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.voucher-list {
  margin-bottom: 20px;
}

.voucher-list-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.voucher-list-item i {
  color: var(--highlight-color); /* Use primary for voucher list icons */
  margin-right: 10px;
}

/* About School */
#about-school {
  background-color: var(--light-blue);
}

.about-school-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-school-content {
  padding: 30px;
}

.about-guarantee {
  margin-top: 30px;
}

.guarantee-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.guarantee-item i {
  color: var(--success); /* Keep success color for guarantee icons */
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Locations & Schedule */
.locations-section {
  padding-bottom: 20px;
}

.location-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.location-img {
  height: 200px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.location-content {
  padding: 25px;
}

.location-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.location-address {
  color: var(--gray);
  margin-bottom: 15px;
}

.schedule-list {
  list-style: none;
  padding-left: 0;
}

.schedule-list li {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

.schedule-list li:last-child {
  border-bottom: none;
}

/* Booking Section */
.booking-section {
  background-size: cover;
  color: var(--primary-dark);
}

#booking-section-about #booking-section-home {
  background-color: var(--primary-light);
}

.booking-content {
  text-align: center;
}

.booking-content p {
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.booking-btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
  background-color: var(--highlight-color); /* Use white for booking button background */
  /* border: 2px solid var(--white); Use white for booking button border */
  color: white;
  transition: all 0.3s ease;
}

.booking-btn:hover {
  background-color: var(--highlight-hover);
  color: var(--white);
}

#privacy-policy-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#privacy-policy-link:hover {
  color: var(--highlight-hover);
}

.privacy-policy-container {
  position: relative;
  align-items: center;
  margin: 150px 50px 50px 50px;
  }

#privacy-policy-header {
  color: var(--primary-dark);
  font-size: 28px;
}

.privacy-policy-container h2 {
  font-size: 24px;
  }

/* Gallery */
.gallery-container {
  column-count: 3;
  column-gap: 15px;
}

@media (min-width: 993px) {
  .hero {
    height: 80vh; 
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }

  .hero {
      height: 60vh; 
      min-height: 300px;
  }

  .offer-item {
    margin-bottom: 0;
    padding: 20px;
    min-height: 200px;
  }

  .offer-icon {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }

  .offer-title {
    font-size: 0.8rem;
    margin-bottom: 0;
  }

  .gallery-container {
    column-count: 2;
  }

  .hero-section {
    height: 600px;
    min-height: 600px;
    background-position: center bottom 0;
  }
}

@media (max-width: 576px) {
  .gallery-container {
    column-count: 1;
  }

}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* About Me */
.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 500px; /* div height */
  margin: 30px 0;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.about-img-shift img {
  object-position: center calc(50% - 100px); /* środek + 50px w dół */
}

.lead {
  font-size: 1.1rem;
}

.achievement-item {
  padding: 15px;
  background-color: var(--light-blue);
  border-left: 3px solid var(--highlight-color);
  border-radius: 5px;
}

.achievement-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

/* Pricing */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

/* Inflancka – akcent niebieski */
.pricing-location-inflancka {
  border-radius: 10px;
  padding: 20px;
}

.pricing-location-inflancka h3 {
  color: var(--primary-dark);
  font-weight: bold;
  border-bottom: 2px solid var(--primary-dark);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Trojdena – akcent różowy */
.pricing-location-trojdena {
  border-radius: 10px;
  padding: 20px;
}

.pricing-location-trojdena h3 {
  color: var(--highlight-color);
  font-weight: bold;
  border-bottom: 2px solid var(--highlight-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.pricing-location-inflancka table th {
  background-color: var(--primary-dark);
}

.pricing-location-trojdena table th {
  background-color: var(--highlight-color);
}

.pricing-location-trojdena h4 {
  color: var(--highlight-color);
}

.pricing-table th, .pricing-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.pricing-table th {
  background-color: var(--highlight-color); /* Use primary for pricing table headers */
  color: var(--white); /* Use white for pricing table header text */
  font-weight: 600;
}

.pricing-table tr:hover {
  background-color: var(--light-blue);
}

.pricing-note {
  font-size: 1.1rem;
  color: var(--gray);
  margin-top: 20px;
}

.payment-section {
  background-color: var(--light-blue);
}

.payment-box {
  background-color: var(--primary-light);
  border: 2px solid var(--light-blue);
  border-radius: 10px;
  padding: 20px 30px;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.payment-box p {
  margin-bottom: 1rem;
}

.payment-section h2 {
  color: var(--primary-dark);
}

.cash-payment-note {
  font-size: 1rem;
  color: var(--gray);
}


/* Contact */
.contact-info {
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--highlight-color); /* Use primary for contact info icons */
  margin-right: 15px;
  min-width: 30px;
  text-align: center;
}

.contact-link {
  color: var(--dark-gray);
}

.contact-info-text h5 {
  margin-bottom: 5px;
}

#contact-form-title {
  font-size: 30px;
  text-decoration: underline;
}

.contact-form .form-control {
  height: auto;background-color: var(--white); /* White for form elements */
  padding: 15px;
  border: 1px solid #eee;
  margin-bottom: 20px;
  border-radius: 5px;
}

.contact-form .form-control:focus {
  border-color: var(--highlight-color);
  box-shadow: none;
}

.contact-form textarea.form-control {
  min-height: 150px;
}

.contact-form-btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 5px;
  background-color: var(--highlight-color); /* Use primary for contact form button */
  border: 2px solid var(--highlight-color); /* Use primary for contact form button border */
  color: var(--white);
  transition: all 0.3s ease;
}

.contact-form-btn:hover {
  background-color: var(--highlight-hover);
  color: white;
}

.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: var(--primary-dark); /* Darker Background for Footer */
  color: var(--light-gray);
  padding: 60px 0 30px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-logo img {
  border-radius: 10px;
}

.footer-text {
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1); /* Keep slight white background for social icons */
  color: var(--white);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--highlight-color); /* Use primary for social icon hover */
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--light-gray);
  transition: all 0.3s ease;
}

.footer-links ul li .btn {
  color: white;
  background-color: var(--highlight-color);
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--highlight-color);
}

.footer-links ul li .btn:hover {
  color: white;
  background-color: var(--highlight-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}

/* Media Queries */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .navbar-collapse {
    background-color: var(--white);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .social-links {
    margin-left: 10px;
    justify-content: flex-start;
  }

  .location-content {
    padding: 15px;
}

  .footer-logo {
    font-size: 16px;
  }

  .about-img-shift img {
  object-position: center;
}
}

@media (max-width: 991.98px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .offer-item, .location-card {
    margin-bottom: 30px;
  }
  .about-img-shift img {
  object-position: center calc(50% - 70px); /* środek + 50px w dół */
}
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-img, .about-school-img {
    margin-bottom: 30px;
  }
  
  .contact-info {
    margin-bottom: 40px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
  font-size: 0.7rem;
  }

  .navbar-brand img {
    height: 50px;
  }

  .subtitle {
  font-size: 0.7rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer-links {
    margin-top: 30px;
  }
  .about-img-shift img {
  object-position: center;
}
}

/* Animations */
.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeIn {
  animation-name: fadeIn;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

.animate__fadeInDown {
  animation-name: fadeInDown;
}

.animate__fadeInLeft {
  animation-name: fadeInLeft;
}

.animate__fadeInRight {
  animation-name: fadeInRight;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Wave divider specific breakpoints */ 
@media (max-width: 1120px){
  .wave-divider-transparent {
    margin-top: clamp(-60px, calc(-12px - 2.55vw), -13px);
  }
}
 
@media (max-width: 770px){
  .wave-divider-transparent {
    margin-top: clamp(-50px, calc(-8px - 2.55vw), -13px);
  }
}
@media (max-width: 560px){
  .wave-divider-transparent {
    margin-top: clamp(-50px, calc(-6px - 2.55vw), -13px);
  }
}

@media (max-width: 415px){
  .wave-divider-transparent {
    margin-top: clamp(-50px, calc(-4px - 2.55vw), -11px);
  }
}