@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

body {
  background: url(/images/aboutPage/stadium.png) no-repeat center center/cover;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  background-color: rgba(238, 235, 249, 0.9);
  backdrop-filter: blur(5px);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 20px;
}

.navbar img {
  max-width: 120px;
}

.navbar .user {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid #3b0066;
  object-fit: cover;
}

.navbar ul {
  display: flex;
  gap: 40px;
  align-items: center;
}

.active {
  border-bottom: 5px solid rgb(4, 4, 182);
  border-radius: 4px;
  padding-bottom: 2px;
}

.active:hover {
  border-bottom: 5px solid rgb(183, 5, 5);
  border-radius: 4px;
  padding-bottom: 2px;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: rgb(4, 4, 182);
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: rgb(183, 5, 5);
}
.info-container{
  background: rgba(255, 255, 255, 0.67);
  padding: 32px;
}
.club-logo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid blue;
}

.title-section {
  text-align: center;
  padding: 80px 20px 30px;
  margin-top: 70px;
  
}

.title-section h1 {
  font-size: 40px; 
  color: #0b0340;
}

.title-section p {
  font-size: 19px; 
  color: #555;
}

.position-title {
  font-size: 36px; 
  margin: 40px 20px 15px;
  color: #0b0340;
  border-left: 6px solid #ffcc00;
  padding-left: 10px;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 20px;
}

.player-card {
  background: white;
  border-radius: 12px;
  text-align: center;
  padding: 15px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.player-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 6px 15px rgba(0,0,0,0.15);
}

.player-card img {
  width: 100%;
  max-width: 200px;
  height: 300px;
  object-fit: cover;
  margin-bottom: 10px;
}

.one img {

  border-radius: 16px;
}

.player-card h2 {
  font-size: 18px; 
  color: #333;
}

.footer {
  background: #222;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.footer h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #f1c40f;
}

.footer p, .footer a {
  font-size: 14px;
  color: #ccc;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: #f1c40f;
}

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

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

.footer hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #444;
}

.footer-contact p {
  margin: 6px 0;
}

.footer .copyright {
  font-size: 13px;
  color: #777;
}

/* ========== Tablet ========== */
@media (max-width: 768px) {
  .navbar ul {
    gap: 20px;
  }

  .contact-header h1 {
    font-size: 32px;
  }

  .contact-header p {
    font-size: 16px;
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
  }

  .info-box {
    text-align: center;
  }

  .contact-form {
    height: auto;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== Mobile ========== */
@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
  }

  .navbar img {
    max-width: 90px;
    margin-bottom: 10px;
  }

  .user {
    display: none;
  }

  .navbar ul {
    display: flex;
    gap: 24px;
  }

  .active {
    border-bottom: 3px solid rgb(4, 4, 182);
    border-radius: 4px;
    padding-bottom: 2px;
  }

  .active:hover {
    border-bottom: 3px solid rgb(183, 5, 5);
    border-radius: 4px;
    padding-bottom: 2px;
  }

  .navbar ul li a {
    font-size: 14px;
  }

  .title-section img {
    width: 100px;
    height: 100px;
  }

  .players-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .player-card {
    padding: 10px;
  }

  .player-card img {
    width: 100%;
    height: auto;
    max-height: 160px; 
    object-fit: cover;
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .player-card h2 {
    font-size: 14px;
    color: #222;
  }

  .position-title {
    font-size: 20px;
    margin: 20px 10px 10px;
    padding-left: 8px;
    border-left: 4px solid #ffcc00;
  }

  .title-section h1 {
    font-size: 22px;
  }

  .title-section p {
    font-size: 14px;
  }

  .contact-header h1 {
    font-size: 18px;
  }

  .contact-header p {
    font-size: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    font-size: 14px;
    padding: 10px;
  }

  .footer h3 {
    font-size: 14px;
  }

  .footer p,
  .footer a {
    font-size: 12px;
  }

  .footer .copyright {
    font-size: 11px;
  }
}
