@charset "UTF-8";

/* ===== NAVBAR STYLES ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--black);
  font-weight: var(--font-weight-700);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding-left: 2rem !important;
  height: 100% !important;
}

.nav .nav-brand .nav-button {
  display: none;
}

.nav .nav-items {
  display: none;
}

.nav .nav-brand .nav-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav .nav-items .nav-item .nav-link:hover,
.nav .nav-items .nav-item .nav-link:focus {
  color: var(--white);
  background: rgba(var(--rgb-primary), 0.5);
}

.nav .nav-items .nav-item .nav-link.active {
  color: var(--white);
  background: var(--primary);
}

@media (max-width: 715px) {
  .nav .nav-brand .nav-button {
    display: inline;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
    padding: 1.25rem !important;
  }

  .nav .nav-button:hover,
  .nav .nav-button:focus {
    transform: scale(1.05);
    color: var(--white);
    background-color: var(--black);
    cursor: pointer;
  }

  .nav .nav-items {
    background: rgba(var(--rgb-primary), 0.5);
  }

  .nav .nav-items .nav-item .nav-link {
    padding: 1rem 0 1rem 4rem !important;
    color: var(--black);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--black);
    height: 100% !important;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
  }
}

@media (min-width: 715px) {
  .nav .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    margin: 0 auto;
    padding: 0 2rem;
    transition: all 0.3s ease;
  }

  .nav.nav-shrink .nav-container {
    backdrop-filter: blur(10px);
    height: 50px;
  }

  .nav .nav-brand:hover {
    transform: scale(1.05);
  }

  .nav .nav-items {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding-right: 2rem !important;
    height: 100% !important;
  }

  .nav .nav-items .nav-item {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    height: 100% !important;
  }

  .nav .nav-items .nav-item .nav-link {
    text-decoration: none;
    color: var(--black);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    height: 100% !important;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
  }
}

/* ===== HEADER ===== */
.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(6rem + 74px);
  padding-bottom: 6rem;
}

.header-corner-image {
  position: absolute;
  top: 80%;
  right: 40px;
  width: 10%;
  height: 10%;
  object-fit: cover;
}

.header-container {
  width: 100%;
}

.header-heading {
  font-size: 2.75rem;
  line-height: 2.75rem;
}

.header-subheading {
  font-size: 1.25rem;
}

@media (min-width: 992px) {
  .header {
    padding-top: calc(6rem + 104px);
    padding-bottom: 6rem;
  }

  .header-heading {
    font-size: 4rem;
    line-height: 3.5rem;
  }
}

/* ===== SECTION ===== */
.section {
  padding: 6rem 0 !important;
}

.section-heading {
  font-size: 2.25rem;
  line-height: 2rem;
}

.section-subheading {
  font-size: calc(1.375rem + 1.5vw);
  font-weight: 300;
  line-height: 1.2;
}

.section-text {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem !important;
}

@media (min-width: 1200px) {
  .section-subheading {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .section-heading {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}

/* ===== DIVIDER ===== */
.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.25rem 0 1.5rem;
  width: 100%;
}

.divider .divider-line {
  width: 100%;
  max-width: 7rem;
  height: 0.25rem;
  background-color: var(--secondary);
  border-radius: 1rem;
  border-color: var(--secondary);
}

.divider .divider-line:first-child {
  margin-right: 1rem;
}

.divider .divider-line:last-child {
  margin-left: 1rem;
}

.divider .divider-icon {
  color: var(--black);
  font-size: 2rem;
}

.divider.divider-light .divider-line {
  background-color: var(--gray-400);
}

.divider.divider-light .divider-icon {
  color: var(--gray-400);
}

/* ===== FOOTER ===== */
.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--secondary);
  color: var(--white);
}

.copyright {
  background-color: #1a252f;
}

/* ===== PARALLAX ===== */
.parallax {
  position: relative;
  height: 110vh !important;
  overflow: hidden;
}

.parallax video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: -1;
}

/* ===== REGLAS ===== */
.reglas .regla .titulo {
  font-weight: bolder;
  font-size: 1.5rem;
}

.reglas .regla .descripcion {
  opacity: 0.6;
}

/* ===== OFFCANVAS ===== */
.offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: 33vw;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem;
}

@media (max-width: 715px) {
  .offcanvas {
    width: 80vw;
  }
}

.offcanvas.active {
  right: 0;
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}

.offcanvas-header .btn-close {
  padding: calc(var(--bs-offcanvas-padding-y) * 0.5) calc(var(--bs-offcanvas-padding-x) * 0.5);
  margin-top: calc(-0.5 * var(--bs-offcanvas-padding-y));
  margin-right: calc(-0.5 * var(--bs-offcanvas-padding-x));
  margin-bottom: calc(-0.5 * var(--bs-offcanvas-padding-y));
}

.offcanvas-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.offcanvas-body {
  flex-grow: 1;
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
  overflow-y: auto;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  display: none;
  top: 5%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  margin: auto;
  background-color: var(--white);
  z-index: 9999;
  transition: all 0.3s ease;
  overflow-y: auto;
}

.modal.active {
  display: block;
}

/* ===== MOTION ===== */

@media (prefers-reduced-motion: reduce) {
  .modal,
  .offcanvas,
  .btn {
    transition: none;
  }
}