/*------------------------------------------------------------------
[Hoja de Estilos Principal]

Proyecto:   Página de Cursos de Pintura de Renso Castañeda
Versión:    2.5
Autor:      (Joel / joel.josue@gmail.com)

[Tabla de Contenidos]

1. Estilos Globales
2. Encabezado y Navegación
3. Botones Sociales
4. Botón Back to Top
5. Secciones Específicas
-------------------------------------------------------------------*/

/* 1. Estilos Globales */
html, body {
    overflow-x: hidden;
}

body {
    background-color: #98c7c9;
    color: #1b1b1b;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px; 
    line-height: 1.6;
    position: relative;
}

main.container {
    margin-top: 60px;
    max-width: 1200px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

hr {
    border-top: 1px solid #ddd;
}

/* 2. Encabezado y Navegación */
.custom-header .main-navbar {
    background-color: #387D80;
    padding-top: 0;
    padding-bottom: 0;
}

.custom-header .navbar-brand {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffffff;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.main-navbar .nav-link {
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1.5rem 1.2rem;
    transition: background-color 0.3s ease;
}

.main-navbar .nav-item {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-nav .nav-item:last-child {
    border-right: none;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    background-color: #4a9d9f;
}

@media (max-width: 991.98px) {
    .main-navbar .nav-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .main-navbar .nav-item:last-child {
        border-bottom: none;
    }
    .main-navbar .nav-link {
        padding: 0.8rem 1rem;
    }
    main.container {
        margin-top: 70px; 
    }
}

/* 3. Botones Sociales */
.social-links {
    border-bottom: 1px solid #eee;
}

/* 4. Botón Back to Top */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    opacity: 0;
    visibility: hidden;
    z-index: 1055;
    background-color: #387D80;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, background-color 0.3s;
}

.back-to-top:hover {
    background-color: #4a9d9f;
    color: white;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}


/* 5. Secciones Específicas */
section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

#ebook .ratio {
    max-width: 480px;
    margin: auto;
}

#clases-zoom .border {
    background-color: #f8f9fa;
}

#clases-zoom ul {
    text-align: left;
    list-style-position: inside;
}

#cursos-online a:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

#youtube .btn-danger {
    font-weight: bold;
    padding: 10px 25px;
    font-size: 1.1rem;
}

#filosofia article {
    text-align: justify;
}

#filosofia .blockquote {
    font-style: italic;
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    margin-left: 1rem;
}

footer {
    border-top: 1px solid #ddd;
}