/* ==========================================================================
   PAGES CSS (Light Mode Optimized)
   ========================================================================== */

/* ═══════════════════════════════════════════
   PAGE HERO (Parallax)
   ═══════════════════════════════════════════ */
.aesthetic-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  animation: float-shape 10s ease-in-out infinite alternate;
}

@keyframes float-shape {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, 40px) rotate(15deg); }
}

.shape-1 { width: 700px; top: -5%; right: -15%; opacity: 0.15; }
.shape-2 { width: 850px; bottom: 5%; left: -20%; animation-duration: 12s; opacity: 0.1; }
.shape-3 { width: 550px; top: 40%; right: 5%; animation-duration: 8s; opacity: 0.2; }

.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  /* Darker blue/black overlay to make text pop */
  background: linear-gradient(to bottom, rgba(0, 20, 64, 0.8), rgba(0, 32, 96, 0.6));
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #ffffff; /* Always white on dark overlay */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.page-hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE CLASSES
   ═══════════════════════════════════════════ */
.section-padding {
  padding: var(--space-3xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-grid__text .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--clr-primary);
  margin-bottom: 24px;
}

.about-grid__text .lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--clr-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-grid__text p:not(.lead-text) {
  font-size: 1.1rem;
  color: var(--clr-gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-grid__images {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  position: absolute;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  will-change: transform;
}

.about-img--1 {
  width: 60%;
  height: 70%;
  left: 0;
  top: 10%;
  z-index: 1;
}

.about-img--2 {
  width: 55%;
  height: 65%;
  right: 0;
  bottom: 5%;
  z-index: 2;
  border: 6px solid var(--clr-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  background: var(--clr-panel);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  border: 1px solid rgba(0, 32, 96, 0.05);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.feature-card__icon {
  font-size: 3.5rem;
  color: var(--clr-primary);
  margin-bottom: 24px;
}

.feature-card__title {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--clr-text);
}

.feature-card__desc {
  color: var(--clr-gray-600);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* New 6-Card Grid (About Page) */
.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card-new {
  position: relative;
  overflow: hidden;
  padding: 40px 32px;
  background: var(--clr-panel);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 32, 96, 0.05);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  z-index: 1;
}

@media (max-width: 992px) {
  .cards-grid {
    position: relative;
    padding-bottom: 40px;
  }
  .feature-card-new {
    position: sticky;
  }
  /* Stacking offsets to give that stacked feel */
  .feature-card-new:nth-child(1) { top: 100px; z-index: 10; }
  .feature-card-new:nth-child(2) { top: 120px; z-index: 11; }
  .feature-card-new:nth-child(3) { top: 140px; z-index: 12; }
  .feature-card-new:nth-child(4) { top: 160px; z-index: 13; }
  .feature-card-new:nth-child(5) { top: 180px; z-index: 14; }
  .feature-card-new:nth-child(6) { top: 200px; z-index: 15; }
}

@media (min-width: 993px) {
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .feature-card-new:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
  }
}

.feature-card-new__bg-number {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-primary);
  opacity: 0.04;
  z-index: -1;
  font-family: var(--font-heading);
  user-select: none;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
}

.feature-card-new:hover .feature-card-new__bg-number {
  opacity: 0.08;
  transform: scale(1.1) translate(-10px, 10px);
}

.feature-card-new__icon {
  font-size: 3.5rem;
  color: var(--clr-primary);
  margin-bottom: 24px;
}

.feature-card-new__title {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--clr-text);
  font-family: var(--font-heading);
}

.feature-card-new__desc {
  color: var(--clr-gray-600);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* CTA shapes */
.cta-shape-2 {
  width: 400px;
  bottom: -10%;
  left: -5%;
  opacity: 0.15;
  animation-duration: 10s;
}

.cta-shape-3 {
  width: 350px;
  top: -10%;
  right: -5%;
  opacity: 0.15;
  animation-duration: 12s;
}

/* ═══════════════════════════════════════════
   CTA BLOCK (Light Mode Premium)
   ═══════════════════════════════════════════ */
.cta-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  padding: 80px 40px;
  text-align: center;
  background: var(--clr-primary);
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}

.cta-card__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 106, 255, 0.6), rgba(0, 32, 96, 0.8));
  z-index: 2;
}

.cta-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.5;
}

.cta-card__content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
}

.cta-card__content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-card__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE CLASSES
   ═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-wrapper {
  padding: 48px;
  background: var(--clr-panel);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 32, 96, 0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--clr-text);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--clr-surface);
  border: 1px solid var(--clr-gray-200);
  color: var(--clr-text);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  background: var(--clr-white);
  box-shadow: 0 0 0 4px rgba(0, 32, 96, 0.1);
}

textarea.form-control {
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230f172a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ═══════════════════════════════════════════
   ROSTER PAGE CLASSES
   ═══════════════════════════════════════════ */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  justify-items: center;
}

/* ═══════════════════════════════════════════
   MATCHES FILTER UI
   ═══════════════════════════════════════════ */
.matches-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--clr-white);
  color: var(--clr-gray-600);
  border: 1px solid var(--clr-gray-200);
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: var(--clr-surface);
  color: var(--clr-primary);
}

.filter-btn.is-active {
  background: var(--clr-primary);
  color: #ffffff;
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}
