/* Estilos específicos para la página de Tronos */

/* Banner */
.hermandad-banner {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
}

.hermandad-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 40%;
}

.white-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 120px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    z-index: 1;
}

.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 760px;
    padding: 10px 20px;
}

.text-container h1 {
    color: #0F4C81;
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Contenedor principal */
main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Contenido de la página de Tronos */
.tronos-content {
    padding: 30px 20px;
    background-color: #ffffff;
    font-family: 'Georgia', serif;
    color: #222;
    width: 100%;
}

.tronos-content h2 {
    font-size: 2rem;
    color: #0F4C81;
    margin-bottom: 20px;
    border-left: 6px solid #D4AF37;
    padding-left: 12px;
    font-weight: 300;
}

.tronos-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Estilos para la sección de tronos */
.tronos-hermandad {
    padding: 30px 20px;
    background-color: #ffffff;
    font-family: 'Georgia', serif;
    color: #222;
}

/* Contenedor amplio para el contenido */
.contenido-amplio {
    max-width: 1600px;
    margin: 0 auto;
}

/* Flex para alinear imagen y texto */
.trono-container {
    display: flex;
    gap: 60px;
    margin: 0 auto 50px;
    flex-wrap: wrap;
}

/* Imagen */
.trono-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trono-imagen img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Texto */
.trono-texto {
    flex: 1;
    min-width: 300px;
}

.trono-texto h2 {
    font-size: 2rem;
    color: #0F4C81;
    margin-bottom: 20px;
    border-left: 6px solid #D4AF37;
    padding-left: 12px;
}

.trono-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.trono-texto strong {
    color: #0F4C81;
    font-weight: bold;
}

.trono-texto em {
    color: #0F4C81;
    font-style: italic;
}

.trono-texto a {
    color: #0F4C81;
    font-weight: bold;
    text-decoration: none;
}

.trono-texto a:hover {
    text-decoration: underline;
}

/* Imagen grande */
.imagen-grande {
    width: 100%;
    margin: 40px 0;
}

.imagen-grande img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Separador entre secciones */
.separador {
    height: 1px;
    background: linear-gradient(to right, transparent, #D4AF37, transparent);
    margin: 60px 0;
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .hermandad-banner {
        height: 300px;
    }
    .white-box, .text-container {
        width: 90% !important;
        max-width: 600px;
    }
    .white-box {
        height: 100px !important;
    }
    .text-container {
        width: calc(90% - 40px) !important;
    }
    .hermandad-banner h1 {
        font-size: 2.8rem !important;
    }
    
    .trono-container {
        flex-direction: column;
        text-align: center;
    }

    .trono-texto h2 {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .trono-texto {
        text-align: left;
    }

    .trono-imagen img {
        max-width: 80%;
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
    
    .tronos-content {
        padding: 40px 15px;
    }
    
    .tronos-content h2 {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .white-box {
        height: 150px !important;
    }
    .text-container {
        width: calc(90% - 30px) !important;
        padding: 5px 15px !important;
    }
    .hermandad-banner h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }
    
    main {
        padding: 0.5rem;
    }
    
    .tronos-content {
        padding: 30px 10px;
    }
    
    .tronos-content h2 {
        font-size: 1.5rem;
    }
}
