﻿body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fff;
    color: #1d1d1f;
}

.card img {
    object-fit: cover;
    height: 200px;
}

.card h6 {
    font-size: 1rem;
    margin-top: 10px;
}

.navbar-nav .nav-link {
    font-weight: 500;
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width .3s;
}

nav a:hover::after {
    width: 100%;
}


  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

nav a {
    color: #27AE8A !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #1e8f6f !important; /* un tono más oscuro para hover */
    text-decoration: underline;
}


.glass-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.75); /* antes 0.75 */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1rem;
    transition: background-color 0.3s ease;
    transition: top 0.3s ease-in-out;
}

    .glass-navbar a {
        text-decoration: none;
        color: #000;
        font-weight: 500;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

        .glass-navbar a:hover {
            color: #007bff;
        }

    /* Cambio cuando se hace scroll */
    .glass-navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }



.hero {
    background: url('assets/hero.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

    .hero h1 {
        font-size: 60px;
        font-weight: 700;
    }

.section {
    padding: 60px 20px;
}

    .section h2 {
        font-weight: 700;
        margin-bottom: 20px;
        color: #27AE8A; /* verde claro */
    }

.partner img, .project img, .coverage img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

footer {
    background: #f5f5f7;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: #6e6e73;
}



.marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 140px;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    align-items: center;
    gap: 50px;
}

    .marquee-content img {
        height: 100px;
        width: auto;
        object-fit: contain;
    }

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}


.hero-banner {
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* efecto parallax */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}


.hero-text {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    color: white;
    max-width: 90%;
}

    .hero-text h1, .hero-text p {
        animation: fadeUp 1.2s ease-out both;
    }

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    font-size: 18px;
    padding: 10px 16px;
    border-radius: 30px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    text-decoration: none;
}

    .whatsapp-float:hover {
        transform: scale(1.05);
    }


.testimonio-logo {
    max-width: 60px;
    max-height: 60px;
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
}


.logo-resalte {
    height: 70px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

    .logo-resalte:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255,255,255,0.5));
    }

.backdrop-blur {
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparente */
    backdrop-filter: blur(8px); /* efecto vidrio */
    -webkit-backdrop-filter: blur(8px);
}

.navbar-brand:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.animated-logo {
    animation: fadeRotate 1.5s ease-out;
    transform-origin: center;
}

@keyframes fadeRotate {
    0% {
        opacity: 0;
        transform: rotate(-15deg) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}


.marca-de-agua {
    position: fixed;
    bottom: 40px;
    left: 40px;
    opacity: 0.075;
    z-index: 0;
    pointer-events: none;
}

    .marca-de-agua img {
        height: 250px;
    }


body {
    opacity: 0;
    animation: fadeInBody 1.2s ease-out forwards;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.preloader-logo {
    height: 300px;
    animation: rotateFade 2s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes rotateFade {
    0% {
        transform: rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg);
        opacity: 0.8;
    }
}


#proyectos .carousel-inner img {
    object-fit: contain;
    height: 600px;
}

#proyectos .carousel-inner {
    height: 600px;
    background-color: #f9f9f9;
}

#proyectos .carousel-control-prev-icon,
#proyectos .carousel-control-next-icon {
    background-size: 90% 90%;
    filter: invert(1);
}

#proyectos .carousel-control-prev,
#proyectos .carousel-control-next {
    width: 30%;
}