* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #111;
  color: #eee;
}
header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.content {
  position: relative;
  z-index: 10;
  padding: 2rem;
  text-align: center;
  margin-top: 10vh;
}
.logo {
  max-width: 200px;
  margin-bottom: 20px;
}
h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}
h1:after {
  content: '';
  position: absolute;
  width: 120px;
  height: 3px;
  background-color: #ff4d4d;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ff4d4d;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.4);
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  p {
    font-size: 1rem;
  }
}
nav {
  background: rgba(0, 0, 0, 0.9);
  padding: 1.2rem;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 3rem;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}
nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #ff4d4d;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
nav a:hover {
  color: #ff4d4d;
}
nav a:hover:after {
  width: 80%;
}
@media (max-width: 768px) {
  nav {
    padding: 1rem;
    gap: 1.5rem;
  }
  
  nav a {
    font-size: 0.9rem;
    padding: 0.3rem 0.7rem;
  }
}
@media (max-width: 480px) {
  nav {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  
  nav a {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
  }
}
section {
  padding: 80px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  margin-bottom: 30px;
  background-color: #030303!important;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 40px;
}
section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  //background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
  z-index: -1;
  border-radius: 15px;
}
h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 40px;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: #fff;
}
h2:after {
  content: '';
  position: absolute;
  width: 120px;
  height: 3px;
  background-color: #ff4d4d;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
section:first-of-type {
  margin-top: 40px;
}
section:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.7);
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
.gallery img {
  width: 100%;
  max-width: 300px;
  margin: 1rem;
  border: 2px solid #444;
}
.schedule, .contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
footer {
  background: #000;
  color: #888;
  text-align: center;
  padding: 2rem;
}

/* Ulepszona galeria */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.7);
}

.gallery-cta {
  margin-top: 40px;
  text-align: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-cta h3 {
  color: #ff4d4d;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.gallery-cta p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
}

.instagram-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.instagram-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.6);
}

@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .gallery-cta {
    padding: 20px;
  }
  
  .gallery-cta h3 {
    font-size: 1.5rem;
  }
  
  .gallery-cta p {
    font-size: 1rem;
  }
}

/* Style dla trenerów */
.trainers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.trainer-card {
  width: 300px;
  background-color: #222;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.trainer-card:hover {
  transform: translateY(-10px);
}

.trainer-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.trainer-card h3 {
  color: #ff4d4d;
  padding: 15px 15px 5px;
}

.trainer-card p {
  padding: 0 15px 20px;
  color: #ccc;
}

/* Style dla grafiku */
.schedule {
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.schedule h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.schedule-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.schedule-card {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-card h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #ff4d4d;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.schedule-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
}

.schedule-item .day {
  font-weight: bold;
  color: #ff4d4d;
}

.schedule-item .time {
  font-weight: bold;
}

.schedule-item .group {
  text-align: left;
}

/* Separator między różnymi dniami */
.schedule-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dodatkowy separator dla różnych dni tygodnia */
.schedule-item.day-separator {
  border-bottom: 2px solid rgba(255, 77, 77, 0.3) !important;
  margin-bottom: 15px;
  padding-bottom: 25px;
}

.schedule-cta {
  margin-top: 40px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.schedule-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ff4d4d;
}

.schedule-cta p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
}

.schedule-cta .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #ff4d4d;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.schedule-cta .cta-button:hover {
  background: #ff3333;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

@media (max-width: 768px) {
  .schedule-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .schedule-item .group {
    text-align: center;
  }

  .pricing-item {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .schedule-cta {
    padding: 20px;
  }
  
  .schedule-cta h3 {
    font-size: 1.5rem;
  }
  
  .schedule-cta p {
    font-size: 1rem;
  }
}

/* Ulepszenia mobilne */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .schedule-container {
    flex-direction: column;
    align-items: center;
  }
  
  .trainers-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Ulepszony header */
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.7) 100%);
  z-index: 0;
}

.content {
  z-index: 2;
}

/* Sekcja kontaktowa */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  margin-top: 30px;
}

.contact-info, .social-media {
  background-color: #222;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  min-width: 300px;
}

.contact-info {
  border-left: 4px solid #ff4d4d;
}

.social-media {
  border-right: 4px solid #ff4d4d;
}

.contact-logo {
  width: 120px;
  margin-bottom: 20px;
}

.social-icon {
  display: inline-block;
  margin: 10px 15px 0 0;
  color: #eee;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
  background-color: #333;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #ff4d4d;
  transform: translateY(-3px);
}

/* Footer */
footer {
  padding: 30px 0;
  background-color: #000;
  border-top: 1px solid #333;
}

/* Button hover effects */
.cta-button:hover {
  background-color: #ff3333;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 77, 77, 0.6);
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.cta-button:hover:before {
  left: 100%;
}

/* Ogólne ulepszenia */
h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 40px;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: #fff;
}

h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: #ff4d4d;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Style dla tła wideo z YouTube */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Zapobieganie interakcji z filmem */
  min-width: 100%;
  min-height: 100%;
}

@media (min-aspect-ratio: 16/9) {
  .video-background iframe {
    height: 56.25vw; /* 100 * 9/16 (stosunek proporcji) */
  }
}

@media (max-aspect-ratio: 16/9) {
  .video-background iframe {
    width: 177.78vh; /* 100 * 16/9 (stosunek proporcji) */
  }
}

/* Style dla sekcji Instagrama */
.instagram {
  background-color: #111;
  padding: 80px 2rem;
  text-align: center;
}

.instagram-container {
  max-width: 1200px;
  margin: 0 auto;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.instagram-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.instagram-item:hover {
  transform: scale(1.03);
}

.instagram-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.instagram-item:hover .instagram-img {
  filter: brightness(0.8);
}

.instagram-item:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-item:hover:after {
  opacity: 1;
}

.instagram-follow-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.instagram-follow-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Style dla elementów ładowania i błędów */
.instagram-loading {
  grid-column: 1 / -1;
  padding: 30px;
  color: #ccc;
  font-style: italic;
}

.instagram-error {
  grid-column: 1 / -1;
  padding: 30px;
  color: #ff4d4d;
  background-color: rgba(255, 77, 77, 0.1);
  border-radius: 8px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .instagram-feed {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* Style dla trenera */
.trainer-profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 30px;
}

.trainer-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.trainer-info {
  flex: 1;
  min-width: 300px;
}

.trainer-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trainer-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

.trainer-info h3 {
  color: #ff4d4d;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.trainer-info h3:after {
  display: none;
}

.trainer-info p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #ddd;
}

@media (max-width: 768px) {
  .trainer-profile {
    flex-direction: column;
    align-items: center;
  }
  
  .trainer-image, .trainer-info {
    max-width: 100%;
  }
}

/* Style dla sekcji O klubie */
#about {
  background-color: #111;
}

#about p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Style dla sekcji Trenerzy */
#trainers {
  background-color: #0a0a0a;
}

/* Style dla sekcji Galeria */
#gallery {
  background-color: #111;
}

/* Style dla sekcji Grafiku */
#schedule {
  background-color: #0a0a0a;
}

/* Style dla sekcji Cennik */
#pricing {
  background-color: #111;
}

/* Style dla sekcji Kontakt */
#contact {
  background-color: #0a0a0a;
}

/* Style dla sekcji Instagram */
#instagram {
  background-color: #111;
}

/* Style dla karty w sekcji */
.schedule-card, .pricing-card, .contact-info, .social-media, .trainer-card {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover, .pricing-card:hover, .contact-info:hover, .social-media:hover, .trainer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.pricing-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.pricing-card {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #ff4d4d;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.pricing-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
}

.pricing-item .option {
  font-weight: bold;
  color: #fff;
}

.pricing-item .price {
  font-weight: bold;
  color: #ff4d4d;
  font-size: 1.2rem;
}

.pricing-note {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #fff;
}

.pricing-note .highlight {
  color: #ff4d4d;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pricing-cta {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  background: #ff4d4d;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.pricing-cta:hover {
  background: #ff3333;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

/* Responsywność dla sekcji */
@media (max-width: 1200px) {
  section {
    max-width: 95%;
    margin: 0 auto 30px;
    padding: 80px 40px;
  }
  
  .schedule-container, .pricing-container, .contact-container, .gallery-container, .trainers-container, .instagram-container {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 30px;
    max-width: 90%;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .schedule-container, .pricing-container, .contact-container, .gallery-container, .trainers-container, .instagram-container {
    padding: 0 20px;
  }
  
  .schedule-card, .pricing-card, .contact-info, .social-media, .trainer-card {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 20px;
    max-width: 95%;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .schedule-container, .pricing-container, .contact-container, .gallery-container, .trainers-container, .instagram-container {
    padding: 0 15px;
  }
  
  .schedule-card, .pricing-card, .contact-info, .social-media, .trainer-card {
    padding: 20px;
  }
}

/* Style dla social media */
.social-media {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-media h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.social-media p {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.social-icon.facebook {
  background: #1877f2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover {
  background: #166fe5;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #e08722 0%, #d55d2c 25%, #c22533 50%, #b21b56 75%, #a21778 100%);
}

@media (max-width: 768px) {
  .social-icons {
    flex-direction: column;
    gap: 15px;
  }
  
  .social-icon {
    width: 100%;
    justify-content: center;
  }
}

/* Style dla sekcji Idea Muay Thai */
.idea-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.idea-item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.idea-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.idea-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.idea-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.idea-item:hover .idea-img {
  transform: scale(1.05);
}

.idea-content {
  flex: 1;
  min-width: 300px;
  padding: 40px;
}

.idea-content h3 {
  color: #ff4d4d;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  text-align: center;
}

.idea-content h3:after {
  display: none;
}

.idea-content h4 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  text-align: center;
}

.idea-content h4:after {
  display: none;
}

.idea-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #ddd;
}

@media (max-width: 768px) {
  .idea-item {
    flex-direction: column;
  }
  
  .idea-image, .idea-content {
    max-width: 100%;
  }
  
  .idea-content {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .idea-container {
    padding: 0 20px;
  }
  
  .idea-content {
    padding: 20px;
  }
  
  .idea-content h3 {
    font-size: 1.5rem;
  }
  
  .idea-content h4 {
    font-size: 1.2rem;
  }
}

/* Style dla sekcji Idea Muay Thai - Slider */
.idea-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.idea-slider {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.idea-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: 100%;
  position: relative;
}

.idea-slide.active {
  display: flex;
  opacity: 1;
}

.idea-slide.image-left {
  flex-direction: row;
}

.idea-slide.image-right {
  flex-direction: row-reverse;
}

.idea-image {
  flex: 1;
  min-width: 50%;
  padding: 20px;
}

.idea-content {
  flex: 1;
  min-width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.idea-content h3 {
  color: #ff4d4d;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  text-align: center;
}

.idea-content h3:after {
  display: none;
}

.idea-content h4 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.idea-content p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 15px;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 77, 77, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-button:hover {
  background: #ff4d4d;
  transform: translateY(-50%) scale(1.1);
}

.slider-button.prev {
  left: 10px;
}

.slider-button.next {
  right: 10px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ff4d4d;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .idea-slide.image-left,
  .idea-slide.image-right {
    flex-direction: column;
  }
  
  .idea-image,
  .idea-content {
    min-width: 100%;
  }
  
  .idea-content h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .slider-button {
    width: 35px;
    height: 35px;
  }
}

.trainer-info-hidden {
  display: none;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
}

.trainer-info-hidden.active {
  display: block;
  opacity: 1;
}

.trainer-info-content {
  width: 100%;
}

.trainer-image-secondary {
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.trainer-info-hidden.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .trainer-image-secondary {
    width: 100%;
    margin-top: 20px;
  }
}

.read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff4d4d;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.read-more-btn:hover {
  background-color: #ff3333;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

.read-more-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.read-more-btn:hover:before {
  left: 100%;
}

.read-more-btn.active {
  background-color: #333;
}

.read-more-btn.active:hover {
  background-color: #444;
}

.read-more-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.trainer-profile-expanded {
  display: none;
  margin-top: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.trainer-profile-expanded.active {
  display: flex;
  opacity: 1;
}

.trainer-info-expanded {
  flex: 1;
  min-width: 300px;
}

.trainer-image-expanded {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .trainer-profile-expanded {
    flex-direction: column;
    align-items: center;
  }
  
  .trainer-image-expanded {
    max-width: 100%;
    margin-top: 20px;
  }
}

/* Style dla menu hamburgerowego */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 999;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    margin: 15px 0;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }
  
  nav {
    justify-content: space-between;
    padding: 15px 20px;
  }
}

.schedule-location {
  margin: 40px 0;
  padding: 30px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.schedule-location h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ff4d4d;
}

.schedule-location p {
  font-size: 1.2rem;
  color: #fff;
}

@media (max-width: 768px) {
  .schedule-location {
    padding: 20px;
    margin: 30px 0;
  }
  
  .schedule-location h3 {
    font-size: 1.5rem;
  }
  
  .schedule-location p {
    font-size: 1rem;
  }
} 