* {
  box-sizing: border-box;
  font-family: sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

header{
  background-color: black;
}

li{
  list-style: none;
}

a{
  color: white;
  text-decoration: none;
}

.header-banner {
    background-image: url('/img/FootballBanner.jpg'); /* adjust path if needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    color: white;
}

.standard-header {
    background-image: url('/img/FootballBanner.jpg'); /* same background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.standard-header .navbar {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 0;
}

.standard-header .nav-link,
.standard-header .nav-branding {
    color: white;
}

/* Hero Section */
.hero-header {
    position: relative;
    height: 100vh;
    background-image: url('/img/FootballBanner.jpg'); /* Update path if needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.nav-branding {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffd700; /* gold highlight on hover */
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    text-shadow: 2px 2px 10px #000;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 30px;
    text-shadow: 1px 1px 8px #000;
}

/* Champion image wrapper */
.hero-image-wrapper {
    margin: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Champion image with gold glow */
.champion-image {
    width: clamp(220px, 30vw, 300px);
    border-radius: 16px;
    border: 4px solid gold;
    box-shadow: 0 0 20px gold, 0 0 40px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.champion-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px gold, 0 0 60px rgba(255, 215, 0, 0.6);
}

/* Champion highlight text */
.champion-highlight {
    margin-top: 20px;
    padding: 0 10px;
}

.text-head {
    font-size: clamp(1rem, 3vw, 1.6rem);
    font-weight: bold;
    text-shadow: 1px 1px 6px #000;
    color: white;
    line-height: 1.4;
    max-width: 90vw;
}

/* Optional Overlay for contrast */
.hero-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 0;
}

/* Hamburger hidden for now */
.hamburger {
    display: none;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box {
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.box:hover {
    transform: scale(1.05);
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: white;
}

.title{
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  color: darkblue
}

.center{
  display: flex;
  margin: auto;
  width: 50%;
  height: auto;
  text-align: center;
  padding: 2px;
}

.champion-wrapper {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Individual champion block */
.champion {
  width: 100%;
  max-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
}

/* Champion image with gold glow and proper scaling */
.champion img {
  width: 100%;
  max-width: 90vw;
  height: auto;
  border: 4px solid gold;
  border-radius: 12px;
  box-shadow: 0 0 20px gold, 0 0 40px rgba(255, 215, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

.champion img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px gold, 0 0 60px rgba(255, 215, 0, 0.6);
}

div.box img {
height: 100%;  
width: 100%;
display: block;
object-fit: contain;
}

.text-sub{
  margin: 20px;
  text-align: center;
}

div.container {
  width: 100vw;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

div.target {
  display: flex;
  width: 20.5vw;
  height: auto;
  margin: 2vw;
  aspect-ratio: 1;
  cursor: pointer;
  text-align: center;
  line-height: 21vw;
  color: white;
  font-weight: bold;
  position: relative;
  text-align: center;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.1);
}

div.target img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

div.frame {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
}
div.content {
  position: fixed;
  width: 50vw;
  top: 50vh;
  left: 50vw;
  margin-top: -25vh;
  margin-left: -25vw;
  padding: 2vw;
  border: 1px solid black;
  background: white;
  visibility: hidden;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 260px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}
.profile-card:hover {
  transform: translateY(-3px);
}

.profile-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #eee;
  margin-bottom: 12px;
}

.profile-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
}

.profile-details h2,
.profile-details .subtitle,
.profile-details .profile-link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtitle {
  font-size: 16px;
  color: #666;
  margin: 4px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-link {
  font-weight: bold;
  color: #0073b1;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-link:hover {
  color: #005580;
}

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

/* === YouTube Video Grid Styles (updated to match profile-grid & card feel) === */
.page-title {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 2rem;
  color: #333;
}

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

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff; /* match profile-card */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.video-container:hover {
  transform: translateY(-3px);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.group-toggle {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.toggle-btn {
    background-color: black;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.toggle-btn.active,
.toggle-btn:hover {
    background-color: gold;
    color: black;
    border-color: gold;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0; /* Remove padding for mobile view */
  }

  .nav-branding {
    font-size: 1.7rem;
    margin: 5px; /* Remove default margin */
  }

  .hamburger {
    display: block;
    margin: 5px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -1000; /* Adjust left to 0 for mobile view */
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: black;
    width: 100vw; /* Set width to 100vw for full width */
    text-align: center;
    transition: 0.3s;
    margin: 0; /* Remove margin for mobile view */
    padding: 20px; /* Add padding for better spacing */
    box-sizing: border-box; /* Include padding in total width */
    z-index: 100;
    margin: 0; /* Remove margin for mobile view */
    padding: 20px; /* Add padding for better spacing */
    box-sizing: border-box; /* Include padding in total width */
  }

  .nav-item {
    margin: 16px 0;
  }

  .nav-menu.active {
    left: 0;
  }
}

@media(max-width: 768px){
div.container {
  flex-direction: column; 
  width: 100%; 
  padding-top: 0.875vw;
  padding-bottom: 0.875vw;
}
div.target {
  width: 96vw; 
  height: 96vw; 
  margin-bottom: 3px;
  line-height: 100vw;
}
div.target img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}
div.content {
  top: 27vh; 
  width: 80vw; 
  left: 35vw;
  font-size: small;
}

div.champion{
  flex-direction: column;
  display: flex;
}

.champion img {
  width: 90vw;
  max-width: 100%;
  height: auto;
}
}

@media (min-aspect-ratio:5/4) and (max-aspect-ratio:7/4) {
  div.box img {object-fit: cover;}
}

@media (max-aspect-ratio:3/4) {
  .home {flex-direction: column; justify-content: normal;}
}

@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 20px;
  }

  .profile-image img {
    width: 100px;
    height: 100px;
  }
}

