/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfc;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f4f6f9;
}

.bg-dark {
    background-color: #1a1e29;
}

.text-light {
    color: #f4f6f9;
}

/* Hero / Encabezado */
.hero {
    background: linear-gradient(rgba(10, 15, 30, 0.8), rgba(26, 30, 41, 0.9)), url('https://images.unsplash.com/photo-1506318137071-a8e063b4bec0?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

/* Sección Sobre el Proyecto */
#sobre-proyecto h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
}

#sobre-proyecto p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

/* Tabla de Datos */
.table-responsive {
    overflow-x: auto;
    margin-top: 30px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.data-table th, .data-table td {
    padding: 15px 20px;
    text-align: left;
}

.data-table th {
    background-color: #2c3e50;
    color: white;
    font-weight: 500;
}

.data-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.data-table tr:hover {
    background-color: #f1f3f5;
}

/* Contenedor de Mapa */
.map-container {
    margin-top: 30px;
    width: 100%;
    height: 450px;
    background-color: #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    border: 2px dashed #bbb;
    background-color: #eaeaea;
}

/* Grid de Actividades */
.grid-actividades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #242b3d;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: transform 0.3s;
    color: #e4e7ec;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: #007bff;
}

/* Footer */
footer {
    background-color: #11141d;
    color: #777;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Mobile Bottom Nav (Hidden by default) */
.mobile-bottom-nav {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .data-table th, .data-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* Espacio para que el contenido no quede oculto detrás del menú */
    body {
        padding-bottom: 70px; 
    }

    /* Estilos del menú estilo app (Glassmorphism) */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: rgba(26, 30, 41, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #8892b0;
        text-decoration: none;
        font-size: 0.75rem;
        flex: 1;
        transition: color 0.3s;
    }

    .mobile-bottom-nav .nav-item:hover,
    .mobile-bottom-nav .nav-item:active {
        color: #007bff;
    }
    
    .mobile-bottom-nav .nav-item .material-symbols-outlined {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }
}