﻿@charset "UTF-8";
/* styles.css */


/* Agregamos un contenedor principal para mejorar la legibilidad del contenido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.row {
    --bs-gutter-x: 0rem;
}

header {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

h1 {
    margin: 0;
}

.title {
    font-size: 3.5rem;
    font-weight: bolder;
    color: #9e0202;
    text-shadow: 1px 1px 2px rgb(120,50,50);
}

.bg-bord-dark {
    background-color: #9e0202;
}

a {
    text-decoration: none;
}

.tel {
    padding-right: 1rem;
    font-weight: bold;
}

.icon {
    width: 25px;
}

.icon-f {
    width: 40px;
}

@media (prefers-reduced-motion: reduce) {
    .icon, .icon-f {
        transition: transform 0.3s ease; /* Suaviza la transición */
    }
}

.icon:hover, .icon:focus {
    transform: scale(1.2);
}

.icon-f:hover, .icon-f:focus {
    transform: scale(1.2);
}

.i-color {
    color: #000000;
}

.ruta {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

    .ruta li {
        margin-right: 10px; /* Espacio entre los elementos */
    }

        .ruta li::after {
            content: "/";
            margin-left: 10px;
            color: #000000;
            font-size: 20px;
        }

        .ruta li:last-child::after {
            content: ""; /* Quita el separador del último elemento */
        }

.navbar1 {
    padding: 20px;
    height: 75px;
    position: sticky; /*posición fija*/
    top: 0; /*distancia superior*/
    z-index: 1; /*posiciona el elemento sobre los demás*/
}

.navbar2 {
    padding: 20px;
    height: 70px;
    position: sticky; /*posición fija*/
    top: 0; /*distancia superior*/
    z-index: 1; /*posiciona el elemento sobre los demás*/
}

.navbar3 {
    height: 70px;
    display: flex;
    justify-content: space-between; /* mejor que flex-end */
    align-items: center;
    padding-left: 20px;
    flex-wrap: wrap; /* permite que los elementos bajen de línea */
}

nav a.nav-a {
    height: 100%;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
}

.nav-text {
    color: #000000;
    font-size: 20px;
}

.open-side-button, .close-sidebar-button {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .nav-link {
        transition: none;
    }
}

.nav-link:hover, .nav-link:focus {
    border-bottom: 2px solid white;
}

@media (prefers-reduced-motion: reduce) {
    .nav-link2 {
        transition: none;
    }
}

.nav-link2:hover, .nav-link2:focus {
    color: #9e9e9e;
    border-bottom: 2px solid #9e9e9e;
}

.categ-title {
    color: #945959;
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

    .categ-title::after {
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 60%;
        height: 3px;
        border-radius: 2px;
        opacity: 0;
    }

.categ-text {
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding-left: 3px;
    padding-right: 3px;
}

.categ-link {
    color: rgb(180,80,80);
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .categ-link {
        transition: none;
    }
}

.categ-link:hover, .categ-link:focus {
    color: #997f7f;
}

.s-text {
    color: black;
    font-size: 20px;
}

.s-text1 {
    color: black;
    font-size: 15px;
}

.bd-top {
    top: 0.5rem;
    right: 0.5rem
}

.hr-black {
    color: black;
    margin-left: 50px;
    margin-right: 50px;
}

.hr-gray {
    color: #000000;
    margin-top: 15px;
}

.ubi {
    padding-left: 3rem;
}

.ubi-t1 {
    color: black;
    font-weight: bolder;
}

.card-img-top {
    width: 100%; /* Asegura que ocupe el ancho del contenedor */
    height: 200px; /* Establece una altura fija (puedes ajustar este valor según lo necesites) */
    object-fit: cover;  /*La imagen cubrirá el contenedor y se recortará si es necesario */
    /*object-fit: contain;*/ /* la imagen se ajusta sin recortarse */
    /*background-color: #f8f9fa;*/ /* fondo gris clarito para rellenar los espacios vacíos */
}

.card-pw {
    max-width: 600px;
}

.card-custom {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    overflow: hidden;
    max-width: 600px;
}

    .card-custom:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Sombra más intensa al hacer hover */
    }

.card {
    cursor: pointer; /* Hace que el cursor sea una manito cuando pasa sobre la tarjeta */
}

    .card.shadow:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
        transition: box-shadow 0.3s ease-in-out;
        transform: translateY(-3px);
    }

    /*.card.shadow {
        transition: all 0.3s ease;
    }*/


.prod-text1 {
    height: auto;
    text-align: center;
}

.prod-text2 {
    color: black;
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
}

.btn-contact {
    background-color: #9e0202;
}

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

.btn-contact:hover, .btn-contact:focus {
    background-color: #9e9e9e;
}

@media (min-width: 1200px) {
    .display-4 {
        font-size: 3.5rem;
    }
}

hr {
    margin: 0px;
}

footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    text-align: center;
    padding: 1rem;
    width: 100%;
}

.foot-col {
    padding-top: 10px;
    margin-left: 20px;
    max-width: 350px;
}

.foot-col1 {
    padding-top: 10px;
    max-width: 350px;
    text-align: center;
}

.ff-text {
    color: #f7f2f2;
}

.dropdown-item {
    color: #f7f2f2;
}

@media (prefers-reduced-motion: reduce) {
    .ff-text {
        transition: none;
    }
}

.ff-text:hover, .ff-text:focus {
    color: #9e9e9e;
}

.is-2 {
    width: 2%;
}

.is-6 {
    width: 6.5%;
}

.is-12 {
    width: 12%;
}

.ff-title {
    font-size: 20px;
    font-weight: bolder;
    padding: 4px 16px;
    margin-bottom: 0px;
}

.ff-copy {
    padding: 4px;
}

#menu-img-f {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.menu-bar {
    display: none;
    background-color: #9e0202;
}

.modal-text {
    color: black;
    font-size: 18px;
}

#sidebar-active {
    display: none;
}

#open-sidebar-button {
    display: none;
}

#menu-img-up {
    display: none;
}

@media (max-width: 1122px) {
    .foot-col {
        padding-top: 20px;
        /* max-width: 100%; */
        text-align: center;
    }

    .foot-col1 {
        padding-top: 20px;
        text-align: center;
        /* max-width: 100%; */
    }
}

@media (max-width: 1030px) {
    nav a.nav-a {
        box-sizing: border-box;
        height: 50px;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }

    .nav-link:hover, .nav-link:focus {
        background-color: #590303;
        border-bottom: none;
    }

    .open-side-button, .close-sidebar-button {
        display: block;
        padding: 10px 20px;
        height: 50px;
        margin: 0;
    }

    #menu-img-up {
        display: block;
        padding: 5px 30px;
    }

    #open-sidebar-button {
        display: block;
    }

    #sidebar-active:checked ~ .links-container {
        right: 0;
    }

    #sidebar-active:checked ~ #overlay {
        background-color: rgba(0, 0, 0, 0.5);
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
/*
    #menu-img {
        display: none;
    }*/

    .foot-col {
        padding-top: 20px;
        /* max-width: 250px;*/
        text-align: center;
    }

    .foot-col1 {
        padding-top: 20px;
        text-align: center;
        /* max-width: 250px; */
    }
}

@media only screen and (max-width: 966px) {
    .categ-text {
        color: white;
        font-size: 18px;
        font-weight: bold;
    }

    .title {
        font-size: 3rem;
        font-weight: bolder;
        color: #9e0202;
        text-shadow: 1px 1px 2px rgb(120,50,50);
    }

    .foot-col {
        padding-top: 20px;
        /* max-width: 250px; */
        text-align: center;
    }

    .foot-col1 {
        padding-top: 20px;
        text-align: center;
        /* max-width: 250px; */
    }
}

@media only screen and (max-width: 906px) {
    .categ-text {
        color: white;
        font-size: 16px;
        font-weight: bold;
    }

    .foot-col {
        padding-top: 20px;
        /* max-width: 250px; */
        text-align: center;
    }

    .foot-col1 {
        padding-top: 20px;
        text-align: center;
        /* max-width: 250px; */
    }
}

@media only screen and (max-width: 842px) {
    .categ-text {
        color: white;
        font-size: 14px;
        font-weight: bold;
    }

    .card-w {
        max-width: 440px;
        margin: auto; /* Centrando el elemento horizontalmente */
        text-align: center;
    }

    .foot-col {
        padding-top: 20px;
        /* max-width: 250px; */
        text-align: center;
    }

    .foot-col1 {
        padding-top: 20px;
        text-align: center;
        /* max-width: 250px; */
    }
}

@media only screen and (max-width: 766px) {
    .categ-text {
        color: white;
        font-size: 15px;
        font-weight: bold;
    }

    .card-w {
        max-width: 440px;
        margin: auto; /* Centrando el elemento horizontalmente */
        text-align: center;
    }

    .title {
        font-size: 2.5rem;
        font-weight: bolder;
        color: #9e0202;
        text-shadow: 1px 1px 2px rgb(120,50,50);
    }

    .card-pw {
        max-width: 600px;
        margin: auto; /* Centrando el elemento horizontalmente */
        text-align: center;
    }

    .prod-text1 {
        height: auto;
        font-size: 15px;
        text-align: center;
    }
}



/*Seccion footer*/
.footer {
    /*background: #222;*/
    /*background-color: #222;*/ /* Fondo oscuro */
    color: white; /* Color de texto blanco */
    padding: 20px 0;
    font-size: 14px; /* Tamaño de fuente ajustable */
}

.signature {
    font-size: 1rem; /* Tamaño de fuente discreto */
    color: #ccc; /* Color gris suave para que no resalte demasiado */
    font-style: italic; /* Estilo en cursiva para un toque sutil */
}

    .signature span {
        font-weight: normal;
        /*color: #ff416c;*/ /* Color suave pero elegante para las iniciales */
        opacity: 0.4;
    }

.link-color {
    color: #b0b0b0; /* Color inicial (gris) */
    text-decoration: none;
    opacity: 0.9; /* Similar al efecto "text-muted" */
}

    .link-color:hover {
        color: #555 !important;
        opacity: 1; /* Hace que el enlace vuelva a ser completamente opaco al pasar el mouse */
    }



/* Seccion Efectos en CARD*/

.neumorph {
    border-radius: 1rem;
    background: #e0e0e0;
    box-shadow: 8px 8px 16px #bebebe, -8px -8px 16px #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .neumorph:hover {
        transform: translateY(-5px);
        box-shadow: 12px 12px 24px #bebebe, -12px -12px 24px #ffffff;
    }

.glass {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-hover {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .card-hover .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 1rem;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        z-index: 2;
    }

    .card-hover:hover .overlay {
        transform: translateY(0);
    }

.carousel-inner {
    /*height: 400px;*/
    height: auto; /* que se adapte al contenido */
}

.carousel-item img {
    width: auto;
    max-height: 60vh; /* máximo 80% del alto de la ventana */
    margin: auto; /* centrado */
    object-fit: contain;
    /* height: 100%;
    object-fit: cover;*/
    /*max-height: 400px;*/ /* límite de altura */
    /*width: auto;
    margin: auto;*/ /* centrado */
    /*object-fit: contain;*/ /* la imagen completa, aunque deje espacio */
    /*background-color: #f8f9fa;*/ /* opcional */
}

.img-thumbnail {
    border: 2px solid transparent;
    transition: border 0.3s;
}

    .img-thumbnail.active-thumb {
        border: 2px solid #9e0202; /* borde rojo para la miniatura activa */
    }

.modal-content .modal-title {
    color: #000000 !important;
}

.modal-title {
    color: #000; /* Negro para visibilidad */
    font-weight: 700; /* Negrita */
    font-size: 1.75rem; /* Tamaño más grande */
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dc3545; /* Línea roja suave */
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase; /* Mayúsculas */
    letter-spacing: 0.1em; /* Espacio entre letras */
}


.img-wrapper {
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .card-hover .overlay {
        transform: translateY(0); /* Siempre visible en móviles */
        background: rgba(0, 0, 0, 0.75); /* Más oscuro para mejorar legibilidad */
    }
}

/* Efecto para el titulo*/

.about-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dc3545;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s ease forwards;
}

    .about-title::after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 60%; /* Línea más corta */
        height: 3px;
        background-color: #dc3545;
        border-radius: 2px;
        opacity: 0;
        animation: lineAppear 1s ease forwards;
        animation-delay: 0.5s;
    }

/* SOBREESCRIBIR ESTILOS CARROUSEL */
/* Flechas personalizadas modernas para carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 60px; /* ancho del área clickable */
    height: 60px; /* alto del área clickable */
    top: 50%; /* centrado vertical */
    transform: translateY(-50%);
    opacity: 0.9; /* ligeramente transparente */
    transition: all 0.3s ease;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background: none; /* eliminamos el fondo por defecto */
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

    /* Triángulo para flecha izquierda */
    .carousel-control-prev-icon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(135deg);
        border: solid #9e0202; /* rojo */
        border-width: 0 4px 4px 0;
        padding: 10px;
        display: inline-block;
    }

    /* Triángulo para flecha derecha */
    .carousel-control-next-icon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        border: solid #9e0202; /* rojo */
        border-width: 0 4px 4px 0;
        padding: 10px;
        display: inline-block;
    }

/* Fondo circular para mejor visibilidad */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.7); /* círculo blanco semitransparente */
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}




@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineAppear {
    0% {
        opacity: 0;
        width: 0;
    }

    100% {
        opacity: 1;
        width: 60%;
    }
}
/* ----------- */

/* Seccion - Nuestra ubicacion*/
/* Responsive tweaks */
@media (max-width: 767px) {
    .location-info {
        margin-bottom: 1.5rem;
    }
}

section[id] {
    scroll-margin-top: 50px; /* ajustá este valor según la altura del navbar */
}