@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;700&family=Plus+Jakarta+Sans:wght@400;600&family=Oswald:wght@200..700&family=Pirata+One&display=swap');



body {
    text-align: center;
    background-image: url('../imagenes/fondo.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #0e0e0e;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}


header#inicio-section {
    padding-top: 80px;
}

h2 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 45px;
    text-align: center;
    padding: 20px 20px 5px 20px;
    color: #080808;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.desc-seccion {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 0 15%;
}

section[id],
.CONTENIDO[id],
header[id] {
    scroll-margin-top: 100px;
}


.navbar {
    padding: 10px 0;
    background-color: transparent !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: transform 0.4s ease-in-out, background-color 0.3s ease;
}

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}


.navbar-toggler {
    background-color: white !important;
    border: 2px solid #6687ff !important;
    padding: 8px;
}

.navbar-toggler-icon {
    width: 30px;
    height: 30px;
}

a.navbar-brand img {
    max-height: 40px;
    width: auto;
}

a.nav-link {
    font-family: 'Jost', sans-serif;
    padding: 8px 15px !important;
    color: #0f0f0f !important;
    font-weight: 600;
    position: relative;
    transition: 0.3s;
}

a.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0;
    height: 2px;
    background-color: #6687ff;
    transition: 0.3s ease;
}

a.nav-link:hover::before,
a.nav-link.active::before {
    width: 80%;
}


main {
    padding: 10px 0;
}

.container {
    display: flex;
    margin: 20px auto;
    padding: 20px;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.imagen {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    object-fit: cover;
}

.texto p {
    text-align: justify;
    line-height: 1.6;
}


.carousel-products .carousel-item img,
.carousel-services .carousel-item img {
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}


.social-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px;
    background-color: transparent;
    border-radius: 15px;
    max-width: 800px;
    margin: 20px auto;
}

.social-box img {
    width: 80px;
    transition: 0.3s;
}

.social-box img:hover {
    transform: scale(1.1);
}


/*LOCALIZACION*/

.localizacion {
    color: black;
}

.localizacion h2,
.localizacion p {
    color: black;
    padding: 0 20%;
}

.localizacion iframe {
    border: none;
    width: 100%;
    height: 400px;
}

.footer {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px 0;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
}

.footer-info {
    color: #aed6f1;
    text-align: right;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .desc-seccion {
        padding: 0 5%;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-info {
        text-align: center;
    }
}


@media (max-width: 600px) {
    header#inicio-section {
        padding-top: 60px;
    }

    h2 {
        font-size: 28px;
    }


    .carousel-products .carousel-item img,
    .carousel-services .carousel-item img {
        height: auto;
        aspect-ratio: 1/1;
    }

    .social-container {
        gap: 10px;
    }

    .social-box img {
        width: 60px;
    }

    .navbar-brand img {
        max-height: 30px;
    }
}