/* HERO */
.carousel-item {
    max-height: 80vh;
    min-height: 80vh;
}

.hero-img {
    object-fit: cover;
}

.dark-55 {
    filter: brightness(55%);
}

/* .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: var(--secundario) !important;
    border: none !important;
    margin: 8px 5px !important;
    opacity: 100% !important;
    transition: 0.3s !important;
}

.carousel-indicators button.active {
    background-color: var(--blanco) !important;
    transform: scale(1.5) !important;
    transition: 0.3s !important;
}

.carousel-control-prev,
.carousel-control-next {
    display: none;
}

.carousel-caption {
    text-align: left;
    width: 700px;
    position: absolute;
    top: 50%;
    left: 54px;
    transform: translateY(-50%);
    color: white;
    padding-left: 20px;
    gap: 1rem;
}

.carousel-caption .hero-title {
    width: 700px;
    font-size: 48px;
    font-weight: 700;
    line-height: 62px;
    margin-bottom: 10px;
}

.carousel-caption .hero-subtitle {
    width: 700px;
    font-size: 20px;
    font-weight: 500;
} */

.hero-single {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-single .hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-caption {
  text-align: left;
  width: 700px;
  position: absolute;
  top: 50%;
  left: 54px;
  transform: translateY(-50%);
  color: white;
  padding-left: 20px;
  gap: 1rem;
}

.carousel-caption .hero-title {
  width: 700px;
  font-size: 48px;
  font-weight: 700;
  line-height: 62px;
  margin-bottom: 10px;
}

.carousel-caption .hero-subtitle {
  width: 700px;
  font-size: 20px;
  font-weight: 500;
}

/* Seccion servicios */

.contenedor-servicio{
    height: 400px;
}

.product-img {
    max-width: 320px;
    max-height: 320px;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-title {
    font-size: 1.25rem;
}

.product-img a {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.product-img img {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
}

.product-img a img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 400px;
}

.product-copy {
    position: absolute;
    display: none;
    color: var(--blanco);
    font-size: 1rem;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.9)
    );
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    margin: 0;
}

.product-copy a {
    color: var(--blanco);
}

.product-copy a:hover {
    color: var(--secundario);
}

.product-img:hover .product-copy {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s;
    justify-content: center;
    align-items: center;
}

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

/* VALORES */

.section-valores {
    position: relative;
    z-index: 1;
}

.section-valores::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/imagenes/index/valores.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(76%);
    z-index: -1;
}

.section-valores .valor {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background-color: var(--principal);
    border-radius: 50%;
    border: 4px solid var(--secundario);
    height: 120px;
    width: 120px;
}

.contenedor-valor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.contenedor-valor span {
    font-size: 1.25rem;
}

/* EXPOSICIONES */
.section-expos{
    background-color: var(--secundario-light2);
}
.expo {
    background-color: var(--secundario-light);
    border: 2px solid var(--principal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.expo-title-container {
    display: flex;
    width: 100%;
}

.expo-burriana .expo-title-container {
    justify-content: start;
}

.expo-nueva .expo-title-container {
    justify-content: end;
}

.expo-title {
    background-color: #e4d96d;
    font-size: 1.25rem;
    width: fit-content;
    padding: 0.25rem 1rem;
}

.expo-title span {
    font-weight: 500;
}

.expo-info {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    padding: 1rem 5rem;
}

.expo-subtitle {
    font-weight: 700;
}

.expo-icon {
    max-height: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.expo-icon svg {
    height: 4rem;
    fill: var(--principal);
}

.expo-location,
.expo-phone,
.expo-mail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin: 0 rem;
    width: 250px;
}

.expo-location p,
.expo-phone p,
.expo-mail p {
    margin: 0.2rem 0;
}

@media screen and (max-width: 1599.5px) {
    .carousel-item {
        max-height: 80vh !important;
        min-height: 80vh !important;
    }

    .hero-img {
        object-fit: cover;
        min-height: 80vh;
        max-height: 80vh;
    }
}

@media screen and (max-width: 1199.5px) {
    .carousel-item {
        max-height: 60vh !important;
        min-height: 60vh !important;
    }

    .hero-img {
        object-fit: cover;
        min-height: 60vh;
        max-height: 60vh;
    }
}

@media screen and (max-width: 991.5px) {
    .carousel-item {
        max-height: 60vh !important;
        min-height: 60vh !important;
    }

    .hero-img {
        object-fit: cover;
        min-height: 60vh;
        max-height: 60vh;
    }

    .carousel-caption {
        width: fit-content;
    }

    .carousel-caption .hero-title {
        width: 600px;
        font-size: 36px;
        font-weight: 700;
        line-height: 62px;
        margin-bottom: 10px;
    }

    .carousel-caption .hero-subtitle {
        width: 700px;
        font-size: 18px;
        font-weight: 500;
    }

    .expo-info {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

}

@media (max-width: 767.5px) {
    .carousel-item {
        max-height: 80vh !important;
        min-height: 80vh !important;
    }

    .hero-img {
        object-fit: cover;
        min-height: 80vh;
        max-height: 80vh;
    }

    .carousel-caption .hero-title {
        width: 450px;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 62px;
        margin-bottom: 10px;
    }

    .carousel-caption .hero-subtitle {
        width: 400px;
        font-size: 1rem;
        font-weight: 500;
    }

    .carousel-caption {
        max-width: 550px;
        width: fit-content;
    }
}

@media screen and (max-width: 575.5px) {
    .carousel-caption .hero-title {
        width: 250px;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 2rem;
        margin-bottom: 10px;
    }

    .carousel-caption .hero-subtitle {
        width: 250px;
        font-size: 1rem;
        font-weight: 500;
    }

    .carousel-caption {
        max-width: 250px;
        width: fit-content;
    }

    .expo-title {
        width: 100%;
    }
}
