/* --- BASIC RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', sans-serif;
  color: #333;
  background: lightcyan;
  scroll-behavior: smooth;
  animation: fadeInPage 0.1s ease-in;
}

/* --- HEADER --- */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  z-index: 1000;
}

.fixed-header img {
  height: 40px; /* Adjust as needed */
  margin-right: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: black;
  color: white;
  padding: 10px;
  display: flex;
}

.logo img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: rotate(-10deg) scale(1.1);
  
}

.logo h1 {
  color: orangered;
  font-size: 1.4rem;
  font-weight: bold;
  background-color: black;
  color: red;
  padding: 10px;
  display: flex;
  
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #002b5c;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s;
}

nav a:hover {
  color: black;
  transform: scale(1.1);
}

nav a.active {
  color: black;
  text-decoration: underline ;
  background-color: black;
  border-bottom: orangered;
  color: red;
  padding: 10px;
  display: flex;
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  background: url('https://static.toiimg.com/thumb/msid-99526023,width-2000,height-700,resizemode-75,imgsize-1100924/99526023.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: red;
  animation: fadeInHero 1s ease-in;
  
}
.fanclub {
  text-align: center;
  margin: 50px 0;
}

.join-btn {
  background-color: #fcd307;
  color: #000;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.join-btn:hover {
  background-color: #ffeb3b;
  transform: scale(1.05);
}
 
.overlay {
  background: black ;
  padding: 4px;
  border-radius: 40px;
  animation: popUp 1s ease-in-out;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}


.overlay button {
  background: black;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.overlay button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* --- CONTENT SECTIONS --- */
.content {
  padding: 120px 60px 100px;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

.content h2 {
  color: #002b5c;
  margin-bottom: 20px;
  font-size: 2rem;
  animation: fadeInUp 0.8s ease-in-out;
}

.content p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- TEAM GRID --- */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.player-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 220px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s, box-shadow 0.4s;
  opacity: 0;
  animation: fadeInCard 1s forwards;
}

.player-card:nth-child(1) { animation-delay: 0.2s; }
.player-card:nth-child(2) { animation-delay: 0.4s; }
.player-card:nth-child(3) { animation-delay: 0.6s; }
.player-card:nth-child(4) { animation-delay: 0.8s; }
.player-card:nth-child(5) {
  animation-delay:0.8;}

.player-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.player-card img {
  width: 100%;
  border-radius: 10px;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}

.player-card img:hover {
  transform: scale(1.05);
}

/* --- GALLERY GRID --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  animation: fadeInUp 1.2s ease-in-out;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s, box-shadow 0.4s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* --- NEWS LIST --- */
.news-list {
  list-style: none;
  line-height: 1.8;
  font-size: 1.1rem;
  animation: fadeInUp 1s ease-in-out;
}

.news-list li {
  margin: 10px 0;
  opacity: 0;
  animation: fadeInCard 0.8s forwards;

}
ul {
  list-style-type: disc; /* circle, square, none */
  color: #002b5c;
  margin-left: 30px;
  line-height: 1.8;
  text-align: center;
}

ul li::marker {
  color: red; /* TFC red bullets */
}

.news-list li:nth-child(1) { animation-delay: 0.3s; }
.news-list li:nth-child(2) { animation-delay: 0.6s; }
.news-list li:nth-child(3) { animation-delay: 0.9s; }
.news-list li:nth-child(4) { animation-delay: 1.2s; }

/* --- FORM --- */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: box-shadow 0.3s, border-color 0.3s;
}

input:focus, textarea:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

button[type="submit"] {
  background: #002b5c;
  color: #ffcc00;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* --- FOOTER --- */
footer {
  background: #002b5c;
  color: #fff;
  text-align: center;
  padding: 20px;
  animation: fadeIn 1s ease-in;
}

/* --- KEYFRAMES --- */
@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInHero {
  from { opacity: 0; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes popUp {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInCard {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* --- BOTTOM NAVIGATION --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #002b5c;
  display: flex;
  justify-content: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: slideUp 0.8s ease-out;
}

.bottom-nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-width: 600px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.bottom-nav li {
  flex: 1;
  text-align: center;
}

.bottom-nav a {
  color: white ;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, color 0.3s;
}

.bottom-nav a:hover {
  color: #fff;
  transform: scale(1.1);
}

.bottom-nav a.active {
  color: red;
  border-bottom: 3px solid orangered;
  padding-bottom: 5px;
}

/* Animation for bottom nav */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Prevent content from hiding behind the nav */
body {
  padding-bottom: 70px; /* Space for bottom nav */
}
