/* Global Styles from global.css */
:root {
  --primary-color: #a31c1c; /* Teal */
  --secondary-color: #8c1717; /* Darker Teal */
  --accent-color: #ffc107; /* Amber for highlights */
  --dark-color: #263238; /* Dark Slate Grey */
  --light-color: #eceff1; /* Light Grey */
  --white-color: #ffffff;
  --text-color: #37474f; /* Slate Grey for text */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  background-color: var(--white-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23eaf0f2' fill-opacity='0.6'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--text-color);
}

main {
  padding: 0;
  max-width: none;
  margin: 0;
}

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

h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Navbar Styles */
header {
  background-color: var(--white-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: var(--shadow);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* For absolute positioning of nav-links */
}

.logo a {
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  color: var(--dark-color);
  font-size: 1.8rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  font-family: var(--font-body);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-color);
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.btn-cta {
  background-color: var(--primary-color);
  color: var(--white-color) !important;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 2px solid var(--primary-color);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color) !important;
}

.hamburger {
  display: none; /* Hidden by default on desktop */
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark-color);
  z-index: 1001; /* Ensure it's above the menu */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  /* Navbar */
  nav {
    flex-direction: row; /* Keep logo and hamburger on one line */
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure nav takes full width */
  }

  .hamburger {
    display: block; /* Show hamburger on mobile */
  }

  .nav-links {
    display: none; /* Hide nav links by default on mobile */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    border-top: 1px solid var(--light-color);
    transition: all 0.3s ease-in-out; /* Smooth transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    z-index: 999; /* Below hamburger, above content */
  }

  .nav-links.active {
    display: flex; /* Show nav links when active */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  nav a {
    padding: 0.8rem 1rem;
    display: block; /* Make links fill the width */
  }

  nav a:hover {
    background-color: var(--light-color);
  }

  .btn-cta {
    width: 80%; /* Make CTA button wider in mobile menu */
    margin: 1rem auto; /* Center the button */
    display: block;
  }

  /* General Mobile Adjustments */
  h1 {
    font-size: 2.5rem; /* Adjust for smaller screens */
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Hero Section */
  #hero {
    padding: 3rem 1rem;
    min-height: unset; /* Allow height to adjust to content */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-image {
    order: -1; /* Move image above text on mobile */
  }

  .hero-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    max-width: 100%; /* Ensure it doesn't overflow */
  }

  /* About Section */
  .content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .text h3 {
    font-size: 1.8rem;
  }

  .terminy {
    margin-top: 1.5rem;
    padding: 1.5rem;
  }

  .terminy h4 {
    font-size: 1.3rem;
  }

  /* Offer Section */
  .cards-container {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 2rem 1.5rem;
  }

  /* Pricing Section */
  .pricing-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }

  .pricing-list span {
    margin-bottom: 0.5rem;
  }

  /* Gallery Section */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }

  /* Contact Section */
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .map iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
  }

  .text h3 {
    font-size: 1.5rem;
  }

  .card h3 {
    font-size: 1.4rem;
  }

  .pricing-list .price {
    font-size: 1.1rem;
  }
}

/* Policy Section */
.policy {
  background-color: var(--light-color);
}

.policy-card {
  background: var(--white-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.5rem;
}

.policy h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.policy p,
.policy li {
  color: var(--text-color);
  line-height: 1.7;
}

.policy ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .policy-card {
    padding: 1.8rem;
  }

  .policy h3 {
    font-size: 1.2rem;
  }
}

/* Hero Styles */
#hero {
  background-color: transparent;
  padding: 4rem 2rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: var(--text-color);
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white-color);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

/* About Styles */
#o-nas {
  background-color: transparent;
}

.content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.image-placeholder img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.terminy {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  border-left: 5px solid var(--primary-color);
}

.terminy h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.terminy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.terminy li {
  margin-bottom: 0.5rem;
}

.button {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

/* Offer Styles */
#oferta {
  background-color: var(--light-color);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 2.5rem 2rem;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.card p {
  line-height: 1.7;
}

/* Pricing Styles */
#cennik {
  background-color: transparent;
}

.pricing-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--white-color);
  border-bottom: 1px solid var(--light-color);
  transition: background-color 0.3s ease;
}

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

.pricing-list li:nth-child(odd) {
  background-color: #fcfcfc;
}

.pricing-list li:hover {
  background-color: #f0f7f8;
}

.pricing-list span {
  font-size: 1.1rem;
}

.pricing-list .price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.pricing-info {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #78909c;
}

/* Gallery Styles */
#gallery {
  background-color: var(--white-color);
  padding: 5rem 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Contact Styles */
#kontakt {
  background-color: var(--light-color);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info,
.map {
  flex: 1;
  min-width: 300px; /* Adjust as needed */
}

@media (max-width: 768px) {
  .contact-info,
  .map {
    min-width: unset;
    width: 100%;
  }
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.contact-details li {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.contact-details strong {
  color: var(--dark-color);
}

/*.social-media img {*/
/*  display: inline-block;*/
/*  width: 44px;*/
/*  height: 44px;*/
/*  line-height: 44px;*/
/*  text-align: center;*/
/*  background-color: var(--white-color);*/
/*  color: var(--primary-color);*/
/*  margin-right: 10px;*/
/*  text-decoration: none;*/
/*  font-weight: bold;*/
/*  transition: all 0.3s ease;*/
/*}*/

/*.social-media a:hover {*/
/*  background-color: var(--primary-color);*/
/*  color: var(--white-color);*/
/*  transform: scale(1.1);*/
/*}*/

.map iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  border: 0;
  box-shadow: var(--shadow-lg);
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 2rem;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  section {
    padding: 3rem 1rem;
  }

  /* Navbar */
  nav {
    flex-direction: row; /* Keep logo and hamburger on one line */
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure nav takes full width */
  }

  .hamburger {
    display: block; /* Show hamburger on mobile */
  }

  .nav-links {
    display: none; /* Hide nav links by default on mobile */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    background-color: var(--white-color);
    box-shadow: var(--shadow-lg); /* Stronger shadow for menu */
    padding: 1.5rem 0; /* More vertical padding */
    border-top: 1px solid var(--light-color);
    border-bottom-left-radius: 8px; /* Rounded corners */
    border-bottom-right-radius: 8px;
    transition: all 0.3s ease-in-out; /* Smooth transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    z-index: 999; /* Below hamburger, above content */
  }

  .nav-links.active {
    display: flex; /* Show nav links when active */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0; /* More vertical padding for list items */
  }

  nav a {
    padding: 0.8rem 1rem;
    display: block; /* Make links fill the width */
    font-size: 1.1rem; /* Slightly larger font size */
  }

  nav a:hover {
    background-color: var(--light-color); /* Keep light background on hover */
    color: var(--primary-color); /* Highlight text color on hover */
  }

  .btn-cta {
    width: 80%; /* Make CTA button wider in mobile menu */
    margin: 1.5rem auto; /* Center the button with more margin */
    display: block;
  }

  /* General Mobile Adjustments */
  h1 {
    font-size: 2.5rem; /* Adjust for smaller screens */
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Hero Section */
  #hero {
    padding: 3rem 1rem;
    min-height: unset; /* Allow height to adjust to content */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-image {
    order: -1; /* Move image above text on mobile */
  }

  .hero-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    max-width: 100%; /* Ensure it doesn't overflow */
  }

  /* About Section */
  .content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .text h3 {
    font-size: 1.8rem;
  }

  .terminy {
    margin-top: 1.5rem;
    padding: 1.5rem;
  }

  .terminy h4 {
    font-size: 1.3rem;
  }

  /* Offer Section */
  .cards-container {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 2rem 1.5rem;
  }

  /* Pricing Section */
  .pricing-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }

  .pricing-list span {
    margin-bottom: 0.5rem;
  }

  /* Gallery Section */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }

  /* Contact Section */
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .map iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
  }

  .text h3 {
    font-size: 1.5rem;
  }

  .card h3 {
    font-size: 1.4rem;
  }

  .pricing-list .price {
    font-size: 1.1rem;
  }
}

/* Dodaj do sekcji Pricing Styles */
.pricing-list li span .description {
  display: block; /* Upewnia się, że opis jest w nowej linii */
  font-size: 0.9rem; /* Mniejsza czcionka dla opisu */
  font-weight: 400; /* Normalna waga czcionki */
  color: var(--text-color); /* Kolor tekstu */
  margin-top: 0.3rem; /* Mały margines od góry */
  line-height: 1.4;
  opacity: 0.8; /* Lekkie przyciemnienie */
}

/* Dostosowanie mobilne dla opisu */
@media (max-width: 768px) {
  .pricing-list li span .description {
    margin-left: 0; /* Wyrównanie do lewej na mobile */
  }
}

.custom-cennik-style {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.cennik-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--dark-color);
  margin-bottom: 3rem;
  position: relative;
  /* Drobna linia pod tytułem jak w oryginalnym CSS */
  display: block;
}
.cennik-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.cennik-table {
  max-width: 900px; /* Maksymalna szerokość tabeli */
  margin: 0 auto;
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: var(--shadow-lg); /* Subtelny cień */
  overflow: hidden;
}

.cennik-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 2.5rem;
  border-bottom: 1px solid #eee;
}

.cennik-item:last-child {
  border-bottom: none;
}

.cennik-details {
  flex-grow: 1;
  padding-right: 2rem;
}

.cennik-main-title {
  font-size: 1.15rem;
  font-weight: 700; /* Pogrubienie tytułu */
  color: var(--dark-color);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

/* Wyróżnione pozycje (Trening stała współpraca, Odnowa biologiczna) */
.cennik-highlight {
  color: var(--primary-color);
}

.cennik-description {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.5;
  margin: 0;
}

.cennik-price {
  display: flex;
  align-items: flex-start; /* Wyrównanie do góry dla dużych cyfr */
  text-align: right;
  white-space: nowrap; /* Zapobiega łamaniu ceny */
}

.price-value {
  font-family: var(--font-heading);
  font-size: 2.5rem; /* Duże cyfry */
  font-weight: 700;
  color: var(--primary-color); /* Kolor czerwony z Twojej palety */
  line-height: 1;
  margin-right: 0.2rem;
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 1.3rem; /* Mniejsze 'zł' */
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.8; /* Dopasowanie pionowe do dużej cyfry */
  margin-top: 0.2rem;
}

/* --- Media Queries dla Responsywności --- */
@media (max-width: 768px) {
  .cennik-table {
    border-radius: 0; /* Brak zaokrągleń na małych ekranach */
  }

  .cennik-item {
    flex-direction: column; /* Ułożenie w kolumnę */
    align-items: flex-start;
    padding: 1.5rem 1rem;
  }

  .cennik-details {
    padding-right: 0;
    margin-bottom: 0.75rem; /* Odstęp między opisem a ceną */
  }

  .cennik-main-title {
    font-size: 1.1rem;
  }

  .cennik-description {
    font-size: 0.9rem;
  }

  .cennik-price {
    align-self: flex-end; /* Przesunięcie ceny na prawą stronę */
  }
}