/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* Navegación */
.manantialtv-nav {
    background-color: #1a2b5f;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-link {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.home-link:hover {
    color: #4CAF50;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-ministerio {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.logo-tv {
    color: #4CAF50;
    font-weight: 800;
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 300;
    margin-top: 2px;
    opacity: 0.9;
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #4CAF50;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

.nav-link.external {
    background-color: #4CAF50;
    padding: 8px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link.external:hover {
    background-color: #3d8b40;
    color: white;
}

/* Botón menú hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sección Hero */
.hero-section {
    height: 70vh;
    background: linear-gradient(rgba(26, 43, 95, 0.85), rgba(26, 43, 95, 0.9)), url('../imagenes/hero-bg.jpg') no-repeat center center/cover;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-button:hover {
    background-color: #3d8b40;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.manantialtv-footer {
    background-color: #1a2b5f;
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #4CAF50;
    font-weight: 600;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo p {
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.5;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: #4CAF50;
    margin-top: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: #4CAF50;
    transform: translateY(-3px);
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.dev-credit {
    margin-top: 10px;
}

.dev-credit a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

/* Responsividad */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #1a2b5f;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 0;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        height: 60vh;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .hero-section {
        height: 50vh;
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}