* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none; /* Wyłącza zaznaczanie tekstu */
}

@font-face {
  font-family: 'HelveticaNeueLTCom';
  src: url('../FONTS/HelveticaNeueLTCom-Bd_0.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
/* Przeniesione z inline oraz poprawione dla media query */
  font-family: 'HelveticaNeueLTCom';
  src: url('../FONTS/HelveticaNeueLTCom-Lt_0.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueLTCom';
  src: url('../FONTS/HelveticaNeueLTCom-Roman_0.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.logo img {
  max-height: 50px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Ustaw szerokość na 100% */
  padding: 1rem 1rem;
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-family: 'HelveticaNeueLTCom', sans-serif;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.1s ease; 
  position: relative; /* Required for the glare effect */
  overflow: hidden; /* Hide the glare overflow */
}

/* .nav-links a:hover {
  color: var(--logo2);
} */

 .glareanim {
  padding-left: 8px;
  padding-right: 5px;
 }

.glareanim::before {
  content: "";
  position: absolute;
  top: 0;
  left: -110%; /* Start off-screen */
  width: 110%;
  height: 50%;
  background: rgba(46, 142, 190, 0.4);
  /* transform: skewX(-30deg); */
  /* border-radius: 5px; */
  transition: left 0.2s ease-in-out; /* Animacja przesunięcia */
  margin-top: 4px;
  z-index: 99999;
}

.glareanim:hover::before {
  left: 5%; /* Przesunięcie na prawo przy najechaniu */
}

.nav-links a i {
  color: black;
  transition: none; /* Wyłączenie animacji dla ikon */
}

.nav-links a:hover i {
  color: black; /* Ikonki pozostają w tym samym kolorze */
}

.mini-logo {
  height: 24px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px; /* Odstęp między obrazkiem a tekstem */
}

/* Specyficzne style dla tennis.png */
.mini-logo[src="IMG/tennis.png"] {
  margin-right: 0px;
  height: 15px; /* Zmniejszona wysokość tylko dla logo tenisa */
}

/* Specyficzne style dla tennis.png */
.mini-logo[src="IMG/squash.png"] {
  margin-right: 0px;
}

.pizza-logo{
  overflow: visible !important;
}

.pizza-logo img {
  height: 35px;
  vertical-align: middle;
  margin-top: -4px;
  transition: transform 0.3s ease; /* Dodaj animację */
}

.pizza-logo img:hover {
  transform: scale(1.05); /* Powiększenie na hover */
}

.navbar.scrolled {
  background: white;
  color: black;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-links a {
  color: black;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  justify-content: flex-start; /* Align items to the left */
  align-items: center;
  gap: 1rem; /* Space between items */
  width: 100%; /* Ensure full width */
}

.menu-toggle {
  position: absolute;
  opacity: 0; 
  z-index: -1; 
}

.menu-icon {
  display: none; /* Domyślnie ukryj ikonę hamburgera */
  font-size: 2rem;
  color: #000;
  cursor: pointer;
  z-index: 1001; /* Wyższy z-index, aby była nad innymi elementami */
  padding: 10px;
}

footer {
  background-color: #f9f9f9;
  color: #555;
  padding: 0px 10px 0 10px;
  text-align: center;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 10px;
  font-size: 12px;
  color: #777;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-links a {
  color: #777;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #555;
}

.footer-links .separator {
  margin: 0 8px;
  color: #777;
  font-size: 12px;
}

.footer-bottom span {
  font-size: 12px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .footer-links {
    order: 2;
  }
  
  .made-by {
    order: 3;
  }
}

.entry-logo {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  height: auto;
}

.entryphoto::after {
  content: '';
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
  z-index: 1;
}

.entryphoto {
  position: relative;
  height: 80vh;
  margin-top: -60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
  background: none; /* usuń dotychczasowe tło */
}

.entryphoto-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  display: flex;
}

.entryphoto-bg .tennis,
.entryphoto-bg .squash {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.entryphoto-bg .tennis {
  background-image: url('../IMG/mainphoto.avif');
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

.entryphoto-bg .squash {
  background-image: url('../IMG/squashMain.png');
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

/* Zwiększ kontrast tekstu na tle */
/* .entryphoto > *:not(.entryphoto-bg) {
  position: relative;
  z-index: 1;
} */

.news {
  background-color: #f4f4f4;
  padding: 40px 20px;
  text-align: center;
}

.news h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.news-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.news-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: left;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.news-item h3 {
  font-size: 1.5rem;
  color: var(--logo2);
  margin-bottom: 10px;
  text-align: center;
}

.news-item p {
  font-size: 1rem;
  color: #555;
  text-align: center;
}

.news-item .read-more {
  color: var(--logo2);
  text-decoration: none;
  font-weight: bold;
}

.news-item .read-more:hover {
  text-decoration: underline;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  text-align: left;
  position: relative;
}

.modal-content .close {
  position: sticky;
  top: 0;
  right: 0;
  float: right;
  margin-bottom: -1.5rem;
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
  text-shadow: 0 0 5px rgb(255, 255, 255);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 10;
  background: rgb(255 255 255);
  padding: 0px 8px;
  border-radius: 50%;
}

.modal-content .close:hover {
  transform: scale(1.2); /* Powiększenie przy najechaniu */
  color: #f00; /* Opcjonalnie zmień kolor na czerwony przy najechaniu */
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-content h3 {
  font-size: 1.8rem;
  color: var(--logo2);
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 1rem;
  color: #555;
}

.sponsors {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.sponsors-title {
  text-align: center;
  display: block;
  color: #666;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 40px;
}

.sponsors-title .line {
  display: inline-block;
  width: 10%;
  height: 1px;
  background-color: #ddd;
  margin: 0 15px;
  vertical-align: middle;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.sponsor img {
  width: 120px; /* Ustaw stałą szerokość */
  height: auto; /* Zachowaj proporcje */
  object-fit: contain; /* Dopasuj obraz do kontenera */
  border-radius: 5px; /* Dodaj zaokrąglone rogi */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animacja przy najechaniu */
  display: block; /* Ustaw obraz jako blokowy element */
  margin: 0 auto; /* Wycentruj obraz w poziomie */
}

.sponsor img:hover {
  transform: scale(1.1); /* Powiększenie przy najechaniu */
}

.static-container {
  position: relative;
  width: 100%;
  height: 200px;
}

.pizza-announcement {
  position: absolute;
  top: 90px;
  right: 140px;
  font-family: "Gloria Hallelujah", cursive;
  font-size: 20px;
  color: black;
  text-align: right;
  z-index: 0;
}

.arrow-icon {
  position: absolute;
  top: 80px;
  right: 70px;
  width: 50px;
  height: 50px;
  z-index: 0;
}

.arrow-icon img {
  width: 100%;
  height: auto;
}

.schedule-button {
  margin-right: auto;
  margin-left: 20px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  background-color: #1e1e1e;
  font-size: 17px !important; 
  color: #fff !important;
  text-transform: none;
  border-radius: 50px;
  padding: 0px 20px 0px 0px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.schedule-button i {
  background-color: var(--logo2);
  color: #fff !important;
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  border-radius: 50%;
}

.schedule-button:hover {
  color: var(--logo2) !important;
}

.social-icons {
  position: absolute;
  top: 100px; /* Odległość od góry */
  left: 20px; /* Odległość od lewej */
  display: flex;
  flex-direction: column; /* Ustaw ikony w pionie */
  gap: 10px; /* Odstęp między ikonami */
  z-index: 10; /* Ustaw wyższy z-index, aby były widoczne */
}

.social-icons a {
  color: var(--logo2); /* Kolor ikon */
  font-size: 1.5rem; /* Rozmiar ikon */
  text-decoration: none;
  transition: color 0.3s ease;
  transition: transform 0.3s ease;
}



.social-icons a:hover {
  color: var(--logo3); /* Kolor po najechaniu */
  transform: scale(1.1);
}

.sports-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.sports-section h2,.news h2 {
  font-size: 2rem;
  margin-top: -10px;
  margin-bottom: 20px;
  color: #333;
}

.sports-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sport-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.sport-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.sport-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.sport-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--logo2);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.sport-button:hover {
  background-color: var(--logo3);
}

html {
  scroll-behavior: smooth;
}

.floating-newsletter {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: var(--logo2, #2e8bff);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 2000;
  transition: width 0.3s, border-radius 0.3s, background 0.3s, justify-content 0.3s, padding-left 0.3s;
  width: 48px;
  height: 48px;
  overflow: hidden;
}

.floating-newsletter i {
  font-size: 1.5rem;
  transition: color 0.3s;
}

.floating-newsletter .newsletter-label {
  margin-left: 0;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.3s, max-width 0.3s, margin-left 0.3s;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.floating-newsletter:hover {
  width: 150px;
  border-radius: 30px;
  background: var(--logo3, #307fa2);
  justify-content: flex-start; /* przesuwa ikonę w lewo po rozwinięciu */
  padding-left: 16px;
}

.floating-newsletter:hover .newsletter-label {
  opacity: 1;
  max-width: 120px;
  margin-left: 12px;
}

/* Stylizacja dla sekcji O Klubie */
.about-club-section {
  padding: 30px 0 0 0;
  background: #fff;
  text-align: center;
}

.about-club-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  /* margin-bottom: 32px; */
  color: #181c2a;
}

.about-club-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* gap: 40px; */
  /* margin-bottom: 40px; */
  flex-wrap: wrap;
  margin: 20px;
  margin-top: 0;
}

.about-club-info {
  flex: 1 1 340px;
  max-width: 800px;
  text-align: left;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #222;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}

.about-club-info-narrow {
  max-width: 400px;
  min-width: 180px;
  flex: 0 1 400px;
  text-align: left;
  margin-right: 36px;
  font-size: 1.303rem;
  line-height: 1.5;
  padding: 18px 10px 18px 10px;
}

.about-club-image {
  flex: 1 1 300px;
  max-width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-club-image-wide {
  flex: 0 1 700px;
  max-width: 700px;
  min-width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-club-image img {
  width: 100%;
  max-width: 260px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

.about-club-image-wide img {
  width: 100%;
  max-width: 661px;
  min-width: 220px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.about-club-features {
  /* margin-top: 40px; */
  background: #fff;
  /* border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07); */
  padding: 32px 24px 32px 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: #f9f9f9;
}
.about-club-features h2{
  margin-bottom: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 24px;
  margin-top: 32px;
}

.feature-item {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 18px 20px 18px;
}

.feature-icon {
  font-size: 2.2rem;
  color: #3a5aff;
  min-width: 38px;
  margin-top: 2px;
}

.feature-item strong {
  font-size: 1.08rem;
  color: #1a1a1a;
  font-weight: 700;
}

.feature-item div {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

.about-club-offer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  /* margin-top: 28px; */
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.offer-item {
  display: flex;
  /* align-items: center; */
  text-align: left;
  gap: 18px;
  /* background: #0d1626; */
  padding: 22px 28px 22px 22px;
  color: #000000;
  transition: box-shadow 0.2s;
}

.about-club-offer h2{
  padding-top: 30px;
}

.about-club-offer{
  background-color: #f4f4f4;
}

.offer-icon {
  font-size: 3rem;
  color: #000000;
  border-radius: 50%;
  /* padding: 10px;
  margin-top: 2px; */
  min-width: 38px;
  min-height: 38px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-item strong {
  font-size: 1.08rem;
  color: #000000;
  font-weight: 700;
}

.offer-item div {
  color: #000000;
  font-size: 1rem;
  line-height: 1.5;
}

.about-club-custom-layout {
  align-items: center;
}

@media (max-width: 800px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-club-features {
    padding: 18px 6px 18px 6px;
  }
  .about-club-offer-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .offer-item {
    padding: 16px 10px 16px 10px;
  }
  .about-club-info {
  text-align: center;
  padding: 30px;
  }
  .about-club-image-wide {
    flex: initial !important;
  }
}

@media (max-width: 900px) {
  .about-club-custom-layout {
    flex-direction: column;
    align-items: center;
  }
  .about-club-info-narrow {
    margin-right: 0;
    margin-bottom: 18px;
    max-width: 95vw;
    text-align: center;
  }
  .about-club-image-wide {
    max-width: 98vw;
  }
  .about-club-image-wide img {
    max-width: 98vw;
  }
}

@media (max-width: 1245px) {

  .arrow-icon {
    top: 62px;
    right: 28px;
  }

  .pizza-announcement {
    top: 79px;
    right: 90px;
    font-size: 16px; /* Zmniejsz rozmiar czcionki */
  }

  .menu-icon {
    display: block; /* Pokaż ikonę hamburgera na urządzeniach mobilnych */
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .about-club-offer-list {
  margin: auto 10%;
}
  /* Schedule button na środku pod menu na mobile/tablet */
  .schedule-button {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0 auto;
    width: 100%;
    max-width: 154px;
    margin-top: 10px;
    /* max-width: 320px; */
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    flex-direction: column;
    gap: 24px;
  }
  .about-club-offer-list {
    flex-direction: column;
    gap: 18px;
  }

  .logo {
    flex-grow: 1; /* Zapewnia, że logo pozostaje na swoim miejscu */
  }
  .entryphoto::after {
    width: 100%;
    height: 100%;
  }
  .about-club-offer h3, .about-club-features h3 {
    font-size: 1.1rem;
  }
  .offer-item, .feature-item {
    padding: 12px 10px;
    font-size: 0.98rem;
  }
  .offer-icon, .feature-icon {
    font-size: 1.3rem;
  }
}
  .menu-toggle:checked + .menu-icon + .nav-links {
    display: flex; /* Pokaż menu po kliknięciu */
    flex-direction: column;
    gap: 1rem;
  }

@media (min-width: 1246px) {
  .nav-links {
    display: flex !important;
    position: static !important;
    background: none !important;
    flex-direction: row !important;
    gap: 1rem !important;
    align-items: center !important;
  }
  .menu-icon {
    display: none !important;
  }
  .menu-toggle {
    display: none !important;
  }
}
@media (max-width: 501px) {
  .sponsors-title{
    font-size: 12px;
  }
  .sponsors-title .line {
    width: 0px;
  }
}
.about-club-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 393px) {
  .offer-icon,
  .feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    margin: 0 auto;
  }
  /* Optional: If parent is not flex, you may need to set parent to flex */
}
