:root {
  --primary-color: #101215;
  --accent-color: #ff4c29;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f5f5f5;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content */
main {
  flex: 1;
}

/* Navigation */
.navbar {
  position: absolute;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16, 18, 21, 0.9);
  z-index: 100;
}

.navbar ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: var(--accent-color);
}

.logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.cta-button {
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Add animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4rem 2rem;
  background: var(--primary-color);
  color: var(--text-light);
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #3a8f73;
}

/*   Players */
.featured-players {
  padding: 4rem 2rem;
  background: var(--background-light);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 0 2rem;
}

.player-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-width: 350px; /* Slightly reduced for better portrait proportions */
  margin: 0 auto;
}

.player-image {
  width: 100%;
  height: 500px; /* Increased height for portrait style */
  position: relative;
  overflow: hidden;
}

.player-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Changed from 'contain' to 'cover' */
  object-position: top center; /* Focus on the top portion of the image */
  background-color: #f5f5f5;
}

.player-info {
  padding: 1.5rem;
  text-align: center;
}

.player-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.player-info p {
  color: #666;
  font-size: 1.1rem;
}

/* Services Section */
.services {
  padding: 4rem 2rem;
  width: 100%;
  overflow-x: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards per row on desktop */
  gap: 2rem; /* Increased gap for better spacing */
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.service-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .services {
    padding: 3rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr; /* 1 card per row on mobile */
    width: 100%;
    padding: 0;
  }

  .service-card {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
  }
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  background: var(--background-light);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  left: 0;
  right: 0;
  margin-top: auto;
  margin-bottom: 0;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 0 2rem;
}

.footer-section {
  padding: 0 1rem;
}

.footer-section.brand {
  flex: 2;
}

.footer-section.social {
  flex: 1;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.social-logo {
  width: 24px;
  height: 24px;
  margin-right: 0.8rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Make Instagram logo white */
.social-icon img[src*="instagram"] {
  filter: brightness(0) invert(1); /* This will make the logo white */
}

.social-icon:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-info {
  margin-bottom: 1rem;
}

.contact-info p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Utility Classes */
.cta-button {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  background: #1a1a1a;
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  background: #2a2a2a;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
  }

  .logo {
    height: 35px;
  }

  .hero-content h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

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

  .footer-section {
    margin-bottom: 2rem;
  }

  .social-links a {
    justify-content: center;
  }

  .player-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .player-image {
    height: 350px;
  }
}

@media (min-width: 768px) {
  .player-image {
    height: 450px;
  }
}

/* About Page Styles */
.about-hero {
  padding: 120px 2rem 60px;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 1.8rem;
}

.member-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.member-info .position {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-info .bio {
  color: #666;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-hero {
    padding: 100px 1rem 40px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .team-grid {
    padding: 2rem 1rem;
  }
}

/* About Section Styles */
.about-section {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.about-content {
  margin-bottom: 4rem;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #444;
}

.team-section {
  padding-top: 2rem;
}

.team-section h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 1.8rem;
}

.member-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.member-info .position {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.member-info .bio {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-section {
    padding: 4rem 0;
  }

  .about-header h2 {
    font-size: 2rem;
  }

  .about-subtitle {
    font-size: 1.1rem;
  }

  .team-grid {
    gap: 2rem;
    padding: 0 1rem;
  }

  .member-image {
    height: 280px;
  }
}

.contact-info a {
  color: white;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Mobile Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 2px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(16, 18, 21, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .navbar ul.active {
    display: flex;
  }
}

/* Mobile responsiveness for footer */
@media (max-width: 768px) {
  footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 2rem 0 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-section {
    width: 100%;
    padding: 0;
  }

  .social-links {
    align-items: center;
  }

  .footer-bottom {
    padding: 1rem 1rem 0;
  }
}
