/*  CSS  */
:root {
    --primary-color: #1d1e1f; 
    --secondary-color: #d9e0e6; 
    --light-blue: #e0f2f7; 
    --dark-text: #212529; 
    --michroma-font: 'Michroma', sans-serif;
    --body-font: sans-serif; 

/* body */
.body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-text);
    margin: 0;
    padding-top: 80px; /* Ajusta esto según la altura de tu navbar fija */
    background-color: #92b5d8; 
}

/* pages */
.page-inicio {

/* Encabezados */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--michroma-font);
    color: var(--dark-text);
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}
}

/* Navegación (Navbar) */
.navbar {
    background-color: #343a40 !important; 
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); 
}

.navbar-brand img {
    border-radius: 50%; /*  logo circular */
    object-fit: cover;
}

.navbar-nav .nav-link {
    color: rgba(176, 198, 231, 0.75); /* enlaces */
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff; /*  enlaces activos */
}

/* Sección de video hero */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* video cubrecontenedor */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Oscurece  */
    z-index: 1; /* overlay sbbre  video */
}

.video-title {
    font-family: var(--michroma-font);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2; /* texto  sobre el overlay */
}

.video-subtitle {
    z-index: 2; /* texto  sobre el overlay */
}


/* MAIN content */
#main {
    padding-top: 80px; /* Espaciado superior contenido principal */
    padding-bottom: 50px; /* Espaciado inferior contenido principal */
}

/* Footer */
footer {
    background-color: var(--light-blue); /* Color de fondo para el footer */
    color: var(--dark-text);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-mapa iframe {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-redes img {
    transition: transform 0.3s ease-in-out;
}

.footer-redes img:hover {
    transform: scale(1.1); /* Efecto de escala al pasar el mouse */
}

.quick-links a {
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark-text);
    transition: color 0.3s ease-in-out;
}

.quick-links a:hover {
    color: var(--primary-color);
}

footer p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
}

/* responsive*/
@media (max-width: 768px) {
    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .video-title {
        font-size: 1.5rem;
    }

    .video-subtitle {
        font-size: 0.9rem;
    }

    .footer-redes {
        margin-top: 20px;
    }
}

/* Estilos para las páginas internas (somos, proyectos, realidad, comunidad) */

.page-content {
    padding: 40px 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.page-content p {
    margin-bottom: 1em;
}

iframe[src*="google.com/maps"] {
    width: 100%;
    height: 300px; /* Altura por defecto  */
}

        /* page.realidad */
        .reality-section {
            background-color: #f8f9fa;
            padding: 3rem 0;
        }
        
        .reality-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .reality-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .reality-img {
            height: 300px;
            object-fit: cover;
        }
        
        .reality-quote {
            font-style: italic;
            border-left: 4px solid #007bff;
            padding-left: 1rem;
            margin: 1.5rem 0;
        }
        /* Page proyectos  */
        .project-highlight {
            background-color: #f8f9fa;
            padding: 3rem 0;
        }
        
        .project-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .project-img {
            height: 250px;
            object-fit: cover;
        }
        /* Pages Comunidad */
        .community-section {
            background-color: #f8f9fa;
            padding: 3rem 0;
        }
        
        .community-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 1.5rem;
        }
        
        .community-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .community-img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 50%;
            margin: 0 auto 1rem;
        }
        
        .join-btn {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            transition: all 0.3s ease;
        }
        
        .join-btn:hover {
            background-color: #0056b3;
            transform: scale(1.05);
        }}