body {
  padding-top: 150px; /* Default for large screens */
  font-family: "Roboto Flex", sans-serif;
}

@media (max-width: 575.98px) {
  body {
    padding-top: 100px !important; /* Smaller gap for mobile */
  }
}

html {
  scroll-padding-top: 140px; 
  scroll-behavior: smooth;
}


/* nav  */
.navbar-brand, .showcaseTitle, .offcanvas-title {
    font-family: "Lilita One", sans-serif;
}

.navbar-toggler {
  background-color: #dc3545; 
  border: none;
  z-index: 1050;
}

.navbar {
  z-index: 1045;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 575.98px) {
  .navbar-brand {
    display: none;
  }
}

.dropdown-menu .dropdown-item:hover {
  background-color: #bb2d3b;
  color: #fff;
}

.offcanvas-body {
  max-height: 100vh;
  overflow-y: auto;
}

.collapse {
  z-index: 1050;
  position: relative;
}

.offcanvas .dropdown-menu {
  z-index: 1080;  
}

/*headings */

.titles {
    font-family: "Lilita One", sans-serif;
    font-size: 48px;
    color: red;
}

  .teamSubHeaders , .subHeaders {
    font-family: "Lilita One", sans-serif;
    font-size: 24px;
    text-align: center;
    color: red;
  }

/*index*/

.mobile-text {
  display: none;
}

@media (max-width: 575.98px) {
  .full-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }
}

.carousel-item img {
  max-height: 600px;
  object-fit: cover;
}

@media (max-width: 575.98px) {
  .aboutUsParagraph {
    text-align: left !important;
  }
}

/* visiting us*/

.section-heading {
  font-family: "Lilita One", sans-serif;
  font-size: 36px;
  color: red;
  padding-bottom: 0.5rem;
  text-align:center
}


@media (min-width: 768px) {
  .responsive-paragraph {
    font-size: 1.1rem;
  }
}

@media (min-width: 992px) {
  .responsive-paragraph {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  iframe {
    height: 200px !important;
  }
}
/* team search */

.glow-highlight {
  box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.6);
  border: 2px solid rgba(255, 0, 0, 0.8);
  transition: box-shadow 0.5s ease, border 0.5s ease;
}

.fade-out {
  animation: fadeGlow 2s forwards;
}

@keyframes fadeGlow {
  0% { box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.6); border-color: rgba(255, 0, 0, 0.8); }
  100% { box-shadow: none; border-color: transparent; }
}

/* cards */

.card-title {
    font-family: "Lilita One", sans-serif;
    font-size: 24px;
    text-align: center;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.3);
  color: rgb(0, 0, 0); /* Optional: darker red for text contrast */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

  .fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }

  .card-img-top {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

.badge {
  font-size: 0.9rem;
  padding: 0.4em 0.6em;
}

@media (max-width: 576px) {
  .badge {
    font-size: 0.75rem;
    padding: 0.3em 0.5em;
    top: 5px;
    right: 5px;
  }
}

@media (max-width: 768px) {
  .spond img {
    width: 100% !important;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* managers page */

.bg-danger.text-white:hover {
  background-color: #c82333; /* Darker red */
  border-color: #fff;
}

.btn-danger:hover {
  background-color: #c82333;
  box-shadow: 0 0 10px rgba(200, 35, 51, 0.5);
}

/* registrations page */

.sticky-logo {
  position: sticky;
  top: 120px; /* Adjust to match your navbar height */
  z-index: 2;
}

/* footer */

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #000000;
  color: white;
  padding: 1rem;
}

.footer-logo-img {
  max-width: 300px;
  height: auto;
  filter: brightness(95%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
  filter: brightness(105%);
}  

/* news page */

/* Page-scoped headings */
.news-title {
  font-family: "Lilita One", sans-serif;
  font-size: 48px;
  color: red;
}

.news-summary {
  font-family: "Roboto Flex", sans-serif;
}

/* Card titles */
.news-card-title {
  font-family: "Lilita One", sans-serif;
  font-size: 24px;
}

/* Thumbnail hover scale ONLY on the image, not the whole card */
.news-card .card-img-top {
  transition: transform 0.3s ease;
}
.news-card:hover .card-img-top {
  transform: scale(1.03);
}

/* Card-body and badge styling */
.news-img {
  max-height: 200px;
  object-fit: contain;
}

.news-badge {
  font-size: 0.9rem;
  padding: 0.4em 0.6em;
}

/* Fade-in animation for cards */
.news-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Pin the close button on top of the modal image */
.modal-body {
  position: relative;  /* establishes containing block for absolute children */
}

.modal-body .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 999;        /* sits above the image */
  background-color: #fff;
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Prevent ANY hover effect on the modal’s full-size image */
.modal-body img:hover {
  transform: none !important;
}

@media (max-width: 576px) {
  .modal-body img {
    max-height: 80vh;
    object-fit: contain;
  }
}

.info-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#open_preferences_center {
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  color: #d71920; /* Club red */
  text-decoration: underline;
}
