﻿/* VARIABLES DE COLOR - BOOTSTRAP PERSONALIZADO */
:root {
  /* Colores principales */
  --color-primary: #095e3e;
  --color-secondary: #e5e5e5;
  --color-accent: #22973f;
  --color-success: #30b752;
  --color-gray: #595959;
  
  /* Gradientes */
  --gradient-green: linear-gradient(to right bottom, #57d176, #49ba65, #3ba354, #2d8d44, #1e7734);
  
  /* Espaciado */
  --spacing-sm: 0.625rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Transiciones */
  --transition-fast: 250ms;
  --transition-medium: 600ms;
  --transition-slow: 1.5s;
  
  /* Sombras */
  --shadow-sm: 2px 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: -1px 0px 6px 2px rgba(128, 128, 128, 0.2);
  --shadow-lg: 3px 5px 5px rgba(3, 32, 51, 0.8);
}

/* PERSONALIZACIÃ“N DE BOOTSTRAP */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  padding-top: 60px; /* Espacio para navbar fixed */
}

/* NAV Y HEADER */
.navbar {
  background-color: var(--color-primary) !important;
  border-bottom: 1px solid #fff;
  padding: 0.5rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white !important;
  font-weight: bold;
  font-size: 1.5rem;
  font-family: 'Bodoni Moda', serif;
}

.navbar-brand img {
  max-width: 50px;
  height: auto;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 10px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--color-secondary) !important;
}

.navbar-toggler {
  border: none !important;
  background-color: rgba(255,255,255,0.1) !important;
  box-shadow: none !important;
  width: 48px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background-color 0.25s ease;
}

.navbar-toggler:hover {
  background-color: rgba(255,255,255,0.2) !important;
}

.navbar-toggler-icon {
  width: 24px;
  height: 2px;
  position: relative;
  background-color: white;
  border-radius: 1px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  top: 6px;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
  background-color: white;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
  top: -6px;
  transform: none;
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
  top: 6px;
  transform: none;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}


@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 0.5rem;
  }

  .navbar .container-fluid {
    justify-content: space-between;
  }

  .navbar-left .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: 240px;
    background-color: var(--color-primary);
    border: 1px solid #fff;
    z-index: 1100;
  }

  .navbar-right .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 240px;
    background-color: var(--color-primary);
    border: 1px solid #fff;
    z-index: 1100;
  }

  .navbar-left .navbar-collapse .navbar-nav,
  .navbar-right .navbar-collapse .navbar-nav {
    flex-direction: column;
    margin: 0;
    padding: 0.5rem;
  }

  .navbar-left .navbar-collapse .nav-link,
  .navbar-right .navbar-collapse .nav-link {
    margin: 0.25rem 0;
  }
  .navbar-brand .brand-text {
    display: none;
  }}

/* DROPDOWN MENUS */
.dropdown-menu {
  background-color: var(--color-primary) !important;
  border: 1px solid white !important;
}

.dropdown-item {
  color: white !important;
}

.dropdown-item:hover {
  background-color: var(--color-secondary) !important;
  color: black !important;
}

/* BOTONES DEL NAVBAR */
.navbar .btn-light {
  width: 50px;
  height: 50px;
  border-left: 1px solid #fff;
  color: white !important;
  background-color: transparent !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .btn-light:hover i {
  color: var(--color-success);
}

/* CONTACTO FLOTANTE */
#circle-container {
  position: fixed;
  top: 70%;
  right: 1.5%;
  transform: translateY(-50%);
  z-index: 999;
  cursor: pointer;
  background-color: white;
  color: var(--color-primary);
  border-radius: 50%;
  padding: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#social-icons {
  display: none;
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  list-style: none;
  padding: 0;
  margin: 0;
}

#social-icons li {
  margin-bottom: 10px;
}

#circle-container:hover #social-icons {
  display: block;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.social-icon:hover {
  transform: scale(1.1);
}

.contact {
  font-size: 24px;
  color: var(--color-primary);
}

/* IMAGEN CON OVERLAY */
#image-overlay {
  position: relative;
  width: 100%;
  height: 390px;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

#image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  -webkit-filter: brightness(0.5);
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 1;
  transition: opacity var(--transition-fast);
}

@media (min-width: 769px) {
  #overlay {
    opacity: 0;
  }

  #image-overlay:hover #overlay {
    opacity: 1;
  }
}

#image-overlay p {
  font-size: 55px;
  font-family: "Covered By Your Grace", sans-serif;
  letter-spacing: 1rem;
  line-height: 3.5rem;
  text-align: center;
  margin: 0 1rem;
}

@media (max-width: 991.98px) {
  #image-overlay p {
    font-size: 34px;
    letter-spacing: 0.45rem;
    line-height: 2.6rem;
  }
}

@media (max-width: 576px) {
  #image-overlay p {
    font-size: 28px;
    letter-spacing: 0.25rem;
    line-height: 2.2rem;
  }
}

/* TARJETAS Y COMPONENTES */
.card {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

/* BOTONES */
.btn-primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.btn-primary:hover {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
}

.btn-success {
  background-color: var(--color-success) !important;
  border-color: var(--color-success) !important;
}

.btn-success:hover {
  background-color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
}

/* ACCORDION */
.accordion-button {
  background-color: transparent;
  color: var(--color-primary);
  font-weight: 600;
  padding: 1.5rem 1.5rem;
  border: none;
  border-bottom: 1px solid #ddd;
}

.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: var(--color-secondary);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(29, 94, 46, 0.25);
}

/* FOOTER */
.footer {
  background-color: var(--color-secondary);
  color: #fff;
  padding: 3rem 0;
}

.footer-col h4 {
  color: var(--color-success);
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-success);
}


/* ESTILOS ADICIONALES - COMPLEMENTO A VARIABLES.CSS */

/* RESETS Y BASE */
a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* ======================== DISCIPLINAS ======================== */
#disciplines {
  padding: 3em;
  background-color: #fff;
  margin-top: 0;
}

.disciplines-title {
  display: flex;
  justify-content: center;
  margin: 25px auto;
  font-size: 40px;
  font-weight: 600;
  color: black;
  letter-spacing: 0.25em;
}

#disciplines p,
#disciplines ul,
#disciplines li {
  margin-bottom: 15px;
  padding: 0;
}

#disciplines li img {
  width: 200px;
  height: 200px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: 0.5s;
}

#disciplines li img:hover {
  opacity: 0.8;
  background-image: linear-gradient(to right top,
      #1d5e2e,
      #397e49,
      #559f67,
      #72c285,
      #8fe6a5);
}

/* ACORDEÓN BOOTSTRAP */
.accordion,
.accordion p,
.accordion-content {
  list-style: none;
  font-size: 20px;
  color: black;
}

.accordion-item {
  border: none;
}

.accordion-header {
  position: relative;
  padding-left: 2rem;
  background-color: #fff;
  cursor: pointer;
  letter-spacing: 0.15em;
  border: none;
  border-bottom: 1px solid #ddd;
}

.accordion-content {
  display: none;
  border: none;
}

.accordion-header.active+.accordion-content {
  display: block;
}

.accordion-content-item {
  position: relative;
}

.accordion-content-item i {
  color: var(--color-success);
  font-size: 30px;
}

.accordion-header {
  position: relative;
  padding-right: 30px;
}

.accordion-header:hover {
  cursor: pointer;
}

.accordion-header::after {
  content: "🠖";
  font-size: 30px;
  position: absolute;
  right: 0;
  left: 290px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease-in-out;
  opacity: 0;
}

.accordion-header:hover::after {
  opacity: 1;
}

/* ======================== SLIDER TIENDA ======================== */
.slider {
  height: 100vh;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  overflow: hidden;
}

.slider-newseasonTitle {
  display: flex;
  justify-content: center;
  margin: 25px auto;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.navBottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.menuItem {
  margin-right: 50px;
  cursor: pointer;
  color: black;
  font-size: 24px;
  font-weight: 400;
}

.sliderWrapper {
  display: flex;
  width: 500vw;
  transition: all 1.5s ease-in-out;
}

.sliderItem {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sliderBg {
  top: -70px;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  position: absolute;
  background-image: var(--gradient-green);
}

.sliderImg {
  margin-top: 70px;
  margin-right: 120px;
  border-radius: 50%;
  z-index: 1;
  height: 400px;
  width: 400px;
}

.sliderTitle {
  position: absolute;
  top: 40%;
  right: 17%;
  font-size: 60px;
  font-weight: 900;
  text-align: center;
  color: BLACK;
  z-index: 1;
}

/* BOTÓN SLIDER */
.button-57 {
  position: relative;
  top: 240px;
  right: 170px;
  width: 140px;
  overflow: hidden;
  border: 1px solid #18181a;
  color: #18181a;
  display: inline-block;
  font-size: 22px;
  line-height: 15px;
  padding: 18px 18px 17px;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-57 span:first-child {
  position: relative;
  transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 10;
}

.button-57 span:last-child {
  color: white;
  display: block;
  position: absolute;
  bottom: 0;
  transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 100;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translateY(225%) translateX(-50%);
  height: 14px;
  line-height: 13px;
}

.button-57:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  transform-origin: bottom center;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
  z-index: 50;
}

.button-57:hover:after {
  transform-origin: bottom center;
  transform: skewY(9.3deg) scaleY(2);
}

.button-57:hover span:last-child {
  transform: translateX(-50%) translateY(-100%);
  opacity: 1;
  transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
}

/* ======================== SPONSORS ======================== */
#sponsors-section {
  padding: 2em;
  text-align: center;
  background-image: linear-gradient(to right bottom,
      #e1e9e4,
      #d7deda,
      #cdd3cf,
      #c3c9c5,
      #b9bebb);
}

#sponsors-section h1 {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  margin: 25px auto;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.sponsors-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.sponsor-image {
  max-width: 150px;
  margin: 1rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.sponsor-image:hover {
  opacity: 1;
}

/* ======================== FOOTER ======================== */
.footer {
  background-color: var(--color-secondary);
  color: #fff;
  padding: 3rem 0;
  margin-top: 1rem;
}

.footer-col h4 {
  color: var(--color-success);
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-success);
}

/* ======================== RESPONSIVE ======================== */
@media only screen and (max-width: 480px) and (min-width: 321px) {
  body {
    padding-top: 50px;
  }

  .disciplines-title {
    margin-top: 5px;
    font-size: 35px;
  }

  .accordion-header p {
    font-size: 12px;
  }

  .slider-newseasonTitle {
    text-align: center;
    font-size: 35px;
  }

  .slider {
    margin-bottom: 20px;
    background-color: #060707;
  }

  .sliderImg {
    margin-top: -10px;
    left: 40px;
    max-height: 190px;
    max-width: 190px;
  }

  .button-57 {
    position: absolute;
    top: 200px;
    left: 220px;
  }

  #sponsors-section h1 {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .navBottom {
    flex-wrap: wrap;
  }

  .slider-newseasonTitle {
    margin-left: 8px;
  }

  .menuItem {
    margin: 5px 15px 10px 10px;
    font-weight: 700;
    font-size: 20px;
  }

  .slider {
    height: 50vh;
    margin-bottom: 20px;
    background-color: #060707;
    background-image: var(--gradient-green);
    clip-path: polygon(50% 0%, 100% 0, 100% 96%, 0 86%, 0 0);
  }

  .sliderImg {
    width: 280px;
    position: absolute;
    right: 105px;
    top: 55px;
    border-radius: 100%;
    height: 270px;
  }

  .sliderBg {
    display: none;
  }

  .sliderTitle {
    display: none;
  }

  .sponsors-list {
    flex-direction: column;
  }
}

@media screen and (min-width: 769px) {
  body {
    padding-top: 70px;
  }

  .navbar {
    padding: 1rem;
  }
}

