/* Hero Section with Gradient */
#hero.download-hero {
    height: 60vh;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    
    /* Background Image setup */
    background-image: url('img/church.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradient Overlay using a pseudo-element */
#hero.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 184, 0.8) 0%,
        rgba(0, 128, 200, 0.8) 25%,
        rgba(0, 160, 160, 0.8) 50%,
        rgba(0, 184, 142, 0.8) 75%,
        rgba(74, 201, 126, 0.8) 100%
    );
    z-index: 5;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.hero-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    color: #f39c12;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

/* Download Page */
.download-page {
    padding-top: 0;
    min-height: 100vh;
}

/* Introduction Section */
.download-intro-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.download-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.download-intro-container h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.download-intro-container > p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Info Note */
.info-note {
    background: #e3f2fd;
    border: 2px solid #0066b8;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.info-note i {
    font-size: 24px;
    color: #0066b8;
    flex-shrink: 0;
}

.info-note p {
    font-size: 15px;
    color: #2c3e50;
    margin: 0;
}

/* Messages Section */
.messages-section {
    background: white;
    padding: 80px 20px;
}

.messages-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    text-align: center;
}

/* Messages Grid */
.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Message Card */
.message-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #00a0a0;
}

/* Message Icon */
.message-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00a0a0, #00b88e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.message-icon i {
    font-size: 32px;
    color: white;
}

/* Message Content */
.message-content {
    flex: 1;
    margin-bottom: 20px;
}

.message-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

.message-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.message-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.message-format {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #00a0a0;
    font-weight: 500;
}

.message-format i {
    font-size: 16px;
}

/* Download Button */
.download-btn {
    background: linear-gradient(135deg, #00a0a0, #00b88e);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 160, 160, 0.3);
    width: 100%;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 160, 160, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn i {
    font-size: 18px;
}

/* Download Success State */
.message-card.downloading .download-btn {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    pointer-events: none;
}

.message-card.downloaded .download-btn {
    background: linear-gradient(135deg, #66bb6a, #4caf50);
}

.message-card.downloaded .download-btn i::before {
    content: '\f00c';
}

/* Verse Section */
.verse-section {
    background: linear-gradient(135deg, #0066b8, #00a0a0);
    padding: 80px 20px;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.verse-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.verse-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.quote-icon {
    font-size: 48px;
    color: white;
    opacity: 0.8;
    margin-bottom: 25px;
}

.verse-text {
    font-size: 28px;
    font-weight: 500;
    color: white;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.verse-reference {
    font-size: 20px;
    color: white;
    font-weight: 600;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #hero.download-hero {
        height: 50vh;
        margin-top: 70px;
    }

    .hero-icon {
        font-size: 40px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .download-intro-container h2,
    .section-title {
        font-size: 28px;
    }

    .download-intro-section,
    .messages-section,
    .verse-section {
        padding: 60px 20px;
    }

    .messages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .message-card {
        padding: 25px;
    }

    .message-title {
        font-size: 20px;
    }

    .message-description {
        font-size: 14px;
    }

    .verse-text {
        font-size: 20px;
    }

    .verse-reference {
        font-size: 16px;
    }

    .info-note {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .download-intro-container h2,
    .section-title {
        font-size: 24px;
    }

    .message-icon {
        width: 60px;
        height: 60px;
    }

    .message-icon i {
        font-size: 28px;
    }

    .message-title {
        font-size: 18px;
    }

    .download-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .verse-text {
        font-size: 18px;
    }
}