/* Bootstrap overrides and custom styles */
:root {
  --primary-red: #dc3545;
  --dark-black: #000000;
  --pure-white: #ffffff;
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.navbar {
  background-color: #000000 !important;
  border-bottom: 3px solid #dc3545;
}

.bg-primary-red {
  background-color: #dc3545;
}

.navbar-brand {
  color: #dc3545 !important;
  font-weight: bold;
  font-size: 1.5rem;
  display: flex;
  align-items: flex-end;

  position: relative;
}

.navbar-brand:hover {
  color: #ffffff !important;
}

/* Logo that extends into main content */
.navbar-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
 
  position: relative;
  z-index: 10;
}

.nav-link {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #dc3545 !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #000000;
  font-weight: 600;
}

.btn-primary {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-primary:hover {
  background-color: #000000;
  border-color: #000000;
  color: #dc3545;
}

a {
  color: #dc3545;
  text-decoration: none;
}

a:hover {
  color: #000000;
  text-decoration: underline;
}

.card {
  border-top: 3px solid #dc3545;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.footer {
  background-color: #000000;
  color: #ffffff;
  border-top: 3px solid #dc3545;
  padding: 1rem 0;
}

.footer a {
  color: #dc3545;
}

.footer a:hover {
  color: #ffffff;
}

.footer H5 {
    color: #dc3545;
}

.meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

/* Flyer image container */
.flyer-container {
  margin: 2rem 0;
}

.flyer-image {
  max-width: 700px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive sizing for smaller screens */
@media (max-width: 768px) {
  .flyer-image {
    margin: 1rem auto;
  }
}

/* Athletes Page Styles */
.athletes-grid {
  margin-top: 2rem;
}

.athlete-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem;
}

.athlete-card:hover {
  transform: translateY(-8px);
}

.athlete-image-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #dc3545;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
  transition: box-shadow 0.3s ease;
  padding: 5px;
  box-sizing: border-box;
}

.athlete-card:hover .athlete-image-wrapper {
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.athlete-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}

.athlete-name {
  font-weight: 600;
  color: #000000;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.athlete-title {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .athlete-image-wrapper {
    width: 125px;
    height: 125px;
  }

  .athlete-name {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .athlete-image-wrapper {
    width: 100px;
    height: 100px;
  }

  .athlete-name {
    font-size: 0.95rem;
  }
}

.nav-right-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.nav-social-group {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.nav-social-group .nav-link {
  padding: 0.25rem 0.5rem !important;
  font-size: 1.2rem;
  color: #ffffff !important;
}

.nav-social-group .nav-link:hover {
  color: #dc3545 !important;
}

/* Donation button styled as a tab */
.btn-donation {
  background-color: #dc3545;
  border: none;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 600;
  margin-bottom: -30px;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-donation:hover {
  background-color: #000000;
  color: #dc3545;
  transform: translateY(0px);
  box-shadow: 0 -6px 12px rgba(220, 53, 69, 0.3);
}

.btn-donation:focus {
  box-shadow: none;
  outline: none;
}

@media (max-width: 576px) {
 .navbar-logo {
    height: 60px;
  }
  .btn-donation {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    margin-bottom: -10px;
    
  }
}