@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #e8eaf6 0%, #f3e5f5 50%, #fce4ec 100%);
    min-height: 100vh;
    padding: 20px 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 100vh;
}

.top1 {
    font-family: "Public Sans", sans-serif;
    font-weight: 600;
}

/* ========== TRANSICIONES ========== */
.content {
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.content.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.content.fade-in {
    animation: fadeSlideIn 0.5s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== HEADER (MÁS OSCURO) ========== */
.header {
    background: linear-gradient(135deg, #673ab7 0%, #7e57c2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.header h1 {
    font-size: 36px;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
    letter-spacing: 1px;
}

.header p {
    font-size: 17px;
    opacity: 0.95;
    font-style: italic;
}

/* ========== CONTENIDO (MAX 1000PX) ========== */
.main-content {
    display: block;
    background: white;
}

.content {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ========== NAVEGACIÓN ========== */
.navigation {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    border-radius: 15px;
    border: 0px solid #e0e0e0;
}

.day-info {
    text-align: center;
    font-size: 18px;
    color: #5e35b1;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-buttons-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* BOTONES CON GRADIENTE Y BORDE IZQUIERDO */
.nav-button {
    background: linear-gradient(135deg, #5e35b1 0%, #673ab7 100%);
    color: white;
    border: none;
    border-left: 5px solid #9575cd;
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(94, 53, 177, 0.3);
    flex: 1;
    text-align: center;
}

.nav-button:hover {
    background: linear-gradient(135deg, #512da8 0%, #5e35b1 100%);
    border-left-color: #7e57c2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 45, 168, 0.4);
}

.nav-button.disabled {
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    border-left-color: #9e9e9e;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
    box-shadow: none;
}

.today-badge {
    background: linear-gradient(135deg, #ff7043 0%, #ff5722 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

/* BOTÓN VER CALENDARIO */
.calendar-button {
    background: linear-gradient(135deg, #5e35b1 0%, #673ab7 100%);
    color: white;
    border: none;
    border-left: 5px solid #9575cd;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(94, 53, 177, 0.25);
}

.calendar-button:hover {
    background: linear-gradient(135deg, #512da8 0%, #5e35b1 100%);
    border-left-color: #7e57c2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 45, 168, 0.35);
}

/* ========== TÍTULO DEL DÍA ========== */
.day-title {
	font-family: "Public Sans", sans-serif;
    color: #4e0a68;
    font-size: 42px;
    margin-bottom: 30px;
    text-align: center;
    padding: 25px;
	font-weight: 600;
    /* background: linear-gradient(135deg, #f3e5f5 0%, #fce4ec 100%);
    border-radius: 15px;
    border-left: 5px solid #9575cd;
    box-shadow: 0 3px 12px rgba(94, 53, 177, 0.1); */
}

/* ========== IMAGEN (SIN HOVER, ANCHO COMPLETO) ========== */
.devotional-image {
    width: 100%;
    height: 400px;
    margin: 30px auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* ========== VERSÍCULO BÍBLICO ========== */
.bible-verse {
    background: linear-gradient(135deg, #e8eaf6 0%, #f3e5f5 100%);
    padding: 35px;
    border-left: 5px solid #7e57c2;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.1);
    position: relative;
}

.bible-verse::before {
    content: '"';
    font-size: 80px;
    color: #d1c4e9;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.verse-content {
    font-style: italic;
    line-height: 1.5;
    font-size: 18px;
    color: #424242;
    position: relative;
    z-index: 1;
}

.bible-reference {
    text-align: right;
    font-weight: 600;
    color: #5e35b1;
    margin-top: 18px;
    font-size: 16px;
}

/* ========== REFLEXIÓN ========== */
.reflection {
    margin: 35px 0;
    padding: 30px;
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.section-title {
    color: #5e35b1;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e1bee7;
}

.reflection p {
    font-family: "Public Sans", sans-serif;
    line-height: 1.9;
    color: #424242;
    text-align: justify;
    font-size: 18px;
}

/* ========== ORACIÓN DEL DÍA ========== */
.prayer-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 35px;
    border-radius: 12px;
    margin: 35px 0;
    border-left: 5px solid #ff7043;
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.15);
}

.prayer-title {
    color: #d84315;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.prayer-text {
    font-style: italic;
    line-height: 2;
    color: #5d4037;
    font-size: 17px;
}

/* ========== ORACIONES TRADICIONALES (SIN HOVER) ========== */
.traditional-prayers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.prayer-card {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(149, 117, 205, 0.15);
    border-left: 4px solid #9575cd;
}

.traditional-prayer-title {
    color: #5e35b1;
    font-size: 20px;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #b39ddb;
    padding-bottom: 12px;
}

.traditional-prayer-text {
    line-height: 1.8;
    color: #424242;
    font-size: 16px;
    text-align: center;
    font-style: italic;
}

.traditional-prayer-text strong {
    color: #5e35b1;
    font-style: normal;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #673ab7 0%, #7e57c2 100%);
    padding: 25px;
    text-align: center;
    color: white;
    font-size: 14px;
}

.footer p {
    opacity: 0.95;
}

/* ========================================= */
/* RESPONSIVE - MOBILE */
/* ========================================= */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
    }

    .container {
        margin: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
    }

    .header {
        padding: 25px 20px;
        border-radius: 0;
    }

    .header h1 {
        font-size: 26px;
    }

    .header p {
        font-size: 15px;
    }

    .navigation {
        padding: 20px 15px;
        margin: 0;
        border-radius: 0;
    }

    .nav-buttons-row {
        flex-direction: row;
        gap: 12px;
    }

    .nav-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .calendar-button {
        width: 100%;
        text-align: center;
        padding: 10px 18px;
    }

    .day-title {
        font-size: 30px;
        padding: 20px 15px;
        margin: 0 0 25px 0;
        border-radius: 0;
    }

    .content {
        padding: 25px 18px;
    }

    .devotional-image {
        height: 280px;
        margin: 20px 0;
        border-radius: 12px;
    }

    .bible-verse {
        padding: 25px 18px;
        margin: 25px 0;
        border-radius: 10px;
    }

    .bible-verse::before {
        font-size: 60px;
        left: 10px;
    }

    .verse-content {
        font-size: 17px;
    }

    .reflection {
        padding: 25px 18px;
        margin: 25px 0;
        border-radius: 0;
    }

    .section-title {
        font-size: 22px;
    }

    .reflection p {
        font-size: 16px;
        line-height: 1.5;
    }

    .prayer-section {
        padding: 25px 18px;
        margin: 25px 0;
        border-radius: 10;
    }

    .prayer-title {
        font-size: 22px;
    }

    .prayer-text {
        font-size: 16px;
    }

    .traditional-prayers {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .prayer-card {
        padding: 25px 18px;
        border-radius: 10px;
    }

    .traditional-prayer-title {
        font-size: 18px;
    }

    .traditional-prayer-text {
        font-size: 14px;
    }

    .footer {
        padding: 20px 15px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 22px;
    }

    .header p {
        font-size: 14px;
    }

    .day-title {
        font-size: 26px;
        padding: 18px 12px;
    }

    .content {
        padding: 20px 15px;
    }

    .nav-button {
        padding: 10px 15px;
        font-size: 13px;
    }

    .calendar-button {
        padding: 9px 15px;
        font-size: 13px;
    }

    .devotional-image {
        height: 220px;
    }

    .bible-verse {
        padding: 20px 15px;
    }

    .verse-content {
        font-size: 16px;
    }

    .reflection {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .reflection p {
        font-size: 15px;
    }

    .prayer-section {
        padding: 20px 15px;
    }

    .prayer-title {
        font-size: 20px;
    }

    .prayer-text {
        font-size: 15px;
    }

    .prayer-card {
        padding: 20px 15px;
    }

    .traditional-prayer-title {
        font-size: 17px;
    }

    .traditional-prayer-text {
        font-size: 13px;
    }
}