/* Parks Section Specific Styles */

.parks-section {
  padding: 0;
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.parks-container {
  display: flex;
  height: 600px;
  width: 90%;
  padding: 50px 0;
  position: relative;
  margin: 0 auto;
}

/* Red Diagonal Background - Left Side */
.parks-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6%;
  width: 70%;
  height: 100%;
  background: var(--primary-red);
  clip-path: polygon(0% 0%, 115% 0%, 70% 0%, 0% 100%);
  z-index: 1;
}
/* Left Side - Images */
.parks-images-side {
  flex: 0 0 60%;
  display: flex;
  position: relative;
  z-index: 2;
}

/* Player Image (Female soccer player) */
.player-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.player-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Park Images Column */
.park-images-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.park-images-column img {
  margin: 10px 0;
}

.park-image-container {
  max-width: 20vw;
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer; /* Add cursor pointer to indicate interactivity */
}

.park-image-container.top {
  border-bottom: 2px solid white;
}

.park-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease; /* Smooth transition for image zoom */
}

/* Park overlay styles */
.park-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(25, 17, 72, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.park-name {
  color: var(--white);
  font-size: var(--font-size-xl);
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hover effects */
.park-image-container:hover .park-overlay {
  opacity: 1;
}

.park-image-container:hover .park-image {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .park-name {
    font-size: var(--font-size-lg);
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .park-name {
    font-size: var(--font-size-base);
  }
}

/* Right Side - Content */
.parks-content-side {
  flex: 1;
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  padding: var(--spacing-xl);
  z-index: 2;
}

/* Remove the red-diagonal-bg class since we're using ::before pseudo-element */
.red-diagonal-bg {
  display: none;
}

/* Content */
.parks-content {
  position: relative;
  z-index: 2;
  max-width: 60vw;
  margin-left: auto;
  padding-left: var(--spacing-lg);
}

.parks-content .section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.parks-info {
  margin-bottom: var(--spacing-lg);
}

.parks-description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.parks-locations {
  margin-bottom: var(--spacing-lg);
}

.location {
  margin-bottom: var(--spacing-md);
}

.location-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.location-description {
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-light);
}

/* Button Styles */
.parks-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  min-width: 140px;
}

.btn-poway {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-poway:hover {
  background-color: #1a3f87;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-santee {
  background-color: var(--primary-red);
  color: var(--white);
}

.btn-santee:hover {
  background-color: #c21649;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
  .parks-container::before {
    display: none;
  }

  .parks-container {
    flex-direction: column;
    height: auto;
  }

  .parks-images-side {
    flex: none;
    height: 300px;
  }

  .parks-content-side {
    flex: none;
    padding: var(--spacing-lg);
  }

  .parks-content {
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
  }

  .parks-content .section-title {
    font-size: var(--font-size-3xl);
  }

  .parks-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .parks-images-side {
    height: 250px;
  }

  .park-images-column {
    flex-direction: row;
  }

  .parks-content .section-title {
    font-size: var(--font-size-2xl);
  }
}

/* Get in the Game Section */
.news-events-section {
  background: var(--primary-blue);
  padding: var(--spacing-3xl) 0;
  color: var(--white);
}

.news-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.news-header .section-title {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-4xl);
  font-weight: 700;
}

.news-description {
  font-size: var(--font-size-lg);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
}
.news-card {
  max-height: 300px;
}
/* News Grid - 2x2 Layout */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  width: 100%;
  max-width: none;
  margin: 0;
}

/* News Cards */
.news-card {
  background: var(--white);
  border-radius: inherit;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  color: var(--text-dark);
  height: 400px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Member Card - Red background with sports icons */
.news-card.member-card {
  background-image: url(image/custom/featured-card.jpg);
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Other Cards - Image layout with overlay */
.news-card:not(.member-card) {
  background: transparent;
}

.news-card:not(.member-card) .news-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 0;
}

.news-card:hover .news-img {
  transform: scale(1.05);
}

/* News Content - Overlay positioning */
.news-content {
  padding: 0;
  display: flex;
  flex-direction: row;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  color: var(--white);
  justify-content: flex-end;
  min-height: 50%;
}

.news-card.member-card .news-content {
  position: relative;
  flex: 1;
  padding: 0;
  background: none;
  color: var(--white);
}

.news-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
}

.news-card.member-card .news-title {
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.news-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.news-excerpt {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.news-card.member-card .news-excerpt {
  color: rgba(255, 255, 255, 0.9);
}

.news-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.news-card.member-card .news-link {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.news-link:hover {
  background: #c21547;
  transform: scale(1.1);
}

.news-card.member-card .news-link:hover {
  background: rgba(255, 255, 255, 0.3);
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .news-card {
    height: auto;
    min-height: 300px;
  }

  .news-header .section-title {
    font-size: var(--font-size-3xl);
  }
}

/* Free Agent Signups Section */
.free-agent-section {
  background: var(--white);
  padding: var(--spacing-4xl) 0;
  position: relative;
}

/* Add red slanted background shape to the right side */
.free-agent-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--primary-red);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 120% 100%);
  z-index: 1;
}

.free-agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
  position: relative;
  z-index: 2;
}

.free-agent-content {
  padding-right: var(--spacing-xl);
}

.free-agent-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-xl);
  color: var(--text-dark);
}

.free-agent-description {
  font-size: var(--font-size-base);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.free-agent-cta {
  background: var(--primary-red);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: var(--spacing-2xl);
  transition: background 0.3s ease;
}

.free-agent-cta:hover {
  background: #c21547;
}

.sports-categories {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.sports-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.sport-category {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.sport-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
  letter-spacing: 0.5px;
}

.sport-description {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.sport-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-align: center;
  transition: all 0.3s ease;
  align-self: flex-start;
  color: var(--white);
  background: var(--primary-blue);
  border: none;
}

.sport-btn:hover {
  background: var(--primary-red);
  color: var(--white);
}

/* Right Image Section */
.free-agent-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 600px;
  overflow: hidden;
}

.agent-img {
  width: 90%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.image-accent {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: var(--primary-red);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%);
  z-index: 2;
}

.image-overlay-text {
  position: absolute;
  bottom: var(--spacing-xl);
  left: var(--spacing-xl);
  right: var(--spacing-xl);
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: var(--spacing-md);
  border-radius: 4px;
  font-size: var(--font-size-sm);
  text-align: center;
  z-index: 3;
  backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .free-agent-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .sports-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .free-agent-content {
    padding-right: 0;
  }

  .image-container {
    height: 400px;
  }

  .image-accent {
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
  }
}

/* Footer Styles */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: var(--spacing-4xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
  align-items: start;
}

/* Footer Brand with Baseball Decorations */
.footer-brand {
  display: flex;
  flex-direction: column;
  position: relative;
}

.footer-logo {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

.footer-logo-img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-badge {
  position: absolute;
  top: -8px;
  right: -15px;
  background: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
  border: 3px solid var(--white);
}

.footer-decoration {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.decoration-icon {
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.15);
}

.baseball-seams {
  width: 50px;
  height: 50px;
}

/* Footer Columns */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: color 0.3s ease;
  line-height: 1.5;
}

.footer-link:hover {
  color: var(--white);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.contact-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-base);
  margin: 0;
  line-height: 1.4;
}

.contact-item strong {
  color: var(--white);
  font-weight: 600;
}

.contact-email {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Social Media */
.social-media {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-red);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--spacing-lg);
}

.legal-link {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-2xl);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }

  .social-media {
    justify-content: center;
  }

  .footer-decoration {
    justify-content: center;
  }
}

.hero-text {
  background-image: url(image/border-hero.png);
  background-size: cover;
  padding: 40px 0;
  background-position: left;
  background-repeat: no-repeat;
  padding-left: 40px;
}

.center-content {
  margin: 0 auto;
}

/* Park News & Events Section */
.park-news-events-section {
  background: var(--primary-blue);
  padding: var(--spacing-4xl) 0;
  color: var(--white);
}

.news-events-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.park-news-events-section .section-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.park-news-events-section .section-description {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.news-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
}

.news-event-card {
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--white);
  margin: 15px 5px 30px 5px;
}

.news-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.featured-card {
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-event-card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  width: 48px;
  height: 48px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 3;
}

.featured-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: var(--spacing-2xl);
  z-index: 2;
}

.card-content {
  padding: var(--spacing-lg);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--spacing-sm);
  line-height: 1.3;
}

.card-description {
  font-size: var(--font-size-base);
  color: var(--white);
  line-height: 1.5;
  margin: 0;
}

/* Remove the background for app-card since we're using overlay */
.app-card .card-content {
  background: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
  .news-events-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .park-news-events-section .section-title {
    font-size: var(--font-size-3xl);
  }

  .card-image {
    height: 180px;
  }

  .card-content {
    padding: var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  .park-news-events-section {
    padding: var(--spacing-3xl) 0;
  }

  .card-image {
    height: 160px;
  }

  .card-title {
    font-size: var(--font-size-lg);
  }
}

/* Remove underlines from card links */
.news-event-card a {
  text-decoration: none;
}

.news-event-card a:hover .card-title {
  text-decoration: none;
}

.news-event-card a:hover {
  text-decoration: none;
}
