
body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-color: #f4f4f4;
  color: #333;
}

/* Using top-bar from style.css for header/nav on shirts page */

section {
  padding: 20px;
  background-color: #fff;
  margin: 20px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Filter bar */

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  padding: 14px;
  border-radius: 8px;
  margin: 14px 0 6px;
}

.filter-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 6px;
}

.filter-group select {
  width: 180px;
  padding: 8px 10px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .filter-group select {
    width: 100%;
  }
}

.filter-actions {
  margin-left: auto;
}

.filter-actions button {
  padding: 8px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.filter-actions button:hover {
  background: #d4ebff;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  line-height: 1.5;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  clear: both;
}

/* Shirt card tweaks */
.shirt-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

a {
  color: #0078d4;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
}

@media screen and (max-width: 768px) {
  .photo-row .photo,
  .photo-row .text,
  .about-me .photo,
  .about-me .text {
      flex-basis: 100%;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  nav ul {
      flex-direction: column;
      align-items: center;
  }

  nav li {
      margin-bottom: 10px;
  }

  nav a {
      font-size: 18px;
  }
}

#contact {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#contact h2 {
  color: #333;
}

#contact p {
  color: #555;
  font-size: 18px;
  margin-bottom: 20px;
}

#contact ul {
  list-style-type: none;
  padding: 0;
}

#contact ul li {
  margin-bottom: 10px;
}

#contact ul ul {
  margin-top: 10px;
}

#contact ul ul li {
  margin-bottom: 5px;
  margin-left: 20px;
}

footer p {
  margin: 0;
}

.download-button {
  margin-top: 20px;
}

.download-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.download-button button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.download-button button:hover {
  background-color: #333;
}

nav a:hover,
.photo img:hover,
section:hover,
#contact ul li a:hover,
footer:hover,
.download-button button:hover {
  color: #333;
}

.photo img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

section:hover,
footer:hover {
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.about-me .photo.first-photo {
  flex-basis: calc(30% - 10px);
}

.about-me .text {
  flex-basis: calc(60% - 10px);
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-me .photo {
  margin-right: 20px;
}

.about-me .photo,
.about-me .text,
.download-button {
  box-sizing: border-box;
}


.photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.photo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 35px;
  border: 3.5px solid rgba(0, 0, 0, 0.15);
  padding: 35px;
  border-radius: 14px;
}

.photo {
  display: flex;
  justify-content: center;
  flex: 1 1 280px;
  max-width: 320px;
  margin: 20px;
}

@media screen and (max-width: 768px) {
  .photo {
    flex-basis: 100%;
    margin: 20px 0;
  }
}

@media screen and (max-width: 480px) {
  .photo {
    flex-basis: 100%;
    margin: 16px 0;
  }
}

.shirt-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 43.75px;
  border: 3.5px solid rgba(0, 0, 0, 0.15);
  padding: 35px;
  border-radius: 14px;
}

.shirt-section p {
  text-align: center;
}

/* Player/extra info (moved from inline) */
.player-info, .extra-info {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: #444;
  font-size: 0.95rem;
}
.shirt-details { text-align: center; margin-top: 10px; }

/* Lightbox modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox-overlay.open { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.lightbox-close { top: 5%; right: 2%; transform: none; }
.lightbox-prev { left: -50px; }
.lightbox-next { right: -50px; }

@media (max-width: 600px){
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
