﻿/* Home Page Styles */

/* Section Subtitles */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -2rem;
    margin-bottom: 2rem;
}

/* Single Mass Schedule Card */
.mass-schedule-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    max-width: 700px; /* Reduced from 900px */
    margin: 0 auto;
}
.schedule-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem;
    text-align: center;
}

.header-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.schedule-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Table-based schedule */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

    .schedule-table tbody tr {
        border-bottom: 1px solid #e9ecef;
        transition: background-color 0.3s ease;
    }

        .schedule-table tbody tr:hover {
            background: #f8f9fa;
        }

        .schedule-table tbody tr:last-child {
            border-bottom: none;
        }

        .schedule-table tbody tr.today-row {
            background: linear-gradient(to right, #fff3cd, #ffffff);
            border-left: 6px solid var(--secondary-color);
        }

    .schedule-table td {
        padding: 1.5rem 2rem;
        vertical-align: top;
    }

.day-cell {
    width: 35%; /* Set proportional width */
}

.time-cell {
    width: 65%; /* Set proportional width */
}

.today-indicator {
    background: var(--secondary-color);
    color: var(--accent-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    width: fit-content;
    animation: pulse 2s ease-in-out infinite;
    margin-bottom: 0.25rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.day-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.day-date {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.2;
}

.time-cell {
    width: auto;
}

.mass-time-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mass-time-entry {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .mass-time-entry.multiple {
        padding: 0.75rem;
        background: #f8f9fa;
        border-radius: 8px;
    }

.mass-time-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.mass-note-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.4;
}

.schedule-footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--secondary-color);
}

.footer-item {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}

    .footer-item strong {
        color: var(--primary-color);
    }

.schedule-alerts {
    background: #fff8f0;
    padding: 1.5rem 2rem;
    border-top: 1px solid #ffd699;
}

.alert-item {
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    font-size: 0.95rem;
}

    .alert-item.cancelled {
        background: #f8d7da;
        color: #721c24;
        border-left: 4px solid #dc3545;
    }

    .alert-item.time-change {
        background: #fff3cd;
        color: #856404;
        border-left: 4px solid #ffc107;
    }

/* Prayer Section */
.prayer-section {
    margin: 4rem 0;
}

.prayer-card {
    background: linear-gradient(to bottom right, #fff8f0, #ffffff);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 6px solid var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

    .prayer-card h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-size: 1.5rem;
        text-align: center;
    }

.malayalam-text {
    font-size: 1.15rem;
    line-height: 2;
    text-align: center;
    color: var(--text-dark);
    font-family: 'Noto Sans Malayalam', sans-serif;
}

.english-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: var(--text-dark);
}

/* Spiritual Message Section */
.spiritual-message {
    margin: 4rem 0;
}

.message-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.message-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

    .message-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

.message-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.message-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.malayalam-quote {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0.5rem 0;
    font-family: 'Noto Sans Malayalam', sans-serif;
}

.english-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    margin: 0.75rem 0;
    line-height: 1.6;
}

.quote-ref {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Blessing Section */
.blessing-section {
    margin: 4rem 0 2rem;
}

.blessing-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

    .blessing-card h2 {
        color: var(--secondary-color);
        margin-bottom: 2rem;
        font-size: 2rem;
    }

.blessing-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    opacity: 0.95;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .schedule-header {
        padding: 1.5rem;
    }

    .header-icon {
        font-size: 2.5rem;
    }

    .schedule-header h3 {
        font-size: 1.5rem;
    }

    .schedule-table td {
        padding: 1.25rem 1rem;
    }

    .day-cell {
        width: 120px;
    }

    .today-indicator {
        font-size: 0.65rem;
    }

    .day-name {
        font-size: 1.1rem;
    }

    .day-date {
        font-size: 0.85rem;
    }

    .mass-time-text {
        font-size: 1.1rem;
    }

    .mass-note-text {
        font-size: 0.85rem;
    }

    .schedule-footer {
        padding: 1.25rem 1rem;
    }

    .footer-item {
        font-size: 0.9rem;
    }

    .schedule-alerts {
        padding: 1.25rem 1rem;
    }

    .prayer-card {
        padding: 2rem 1.5rem;
    }

    .malayalam-text, .english-text {
        font-size: 1rem;
    }

    .message-grid {
        grid-template-columns: 1fr;
    }

    .blessing-card {
        padding: 2rem 1.5rem;
    }

    .blessing-text {
        font-size: 1rem;
    }
}
.church-location {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.95em;
    opacity: 0.9;
}
@media (max-width: 480px) {
    .day-cell {
        width: 100px;
    }

    .day-name {
        font-size: 1rem;
    }

    .mass-time-text {
        font-size: 1rem;
    }

    .mass-note-text {
        font-size: 0.8rem;
    }
}
/* Registration Banner */
.registration-banner {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(212, 175, 55, 0.15));
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    border-left: 2px solid var(--secondary-color);
    border-right: 2px solid var(--secondary-color);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.banner-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.banner-text p {
    color: var(--text-dark);
    margin: 0;
    font-size: 1rem;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-text h3 {
        font-size: 1.2rem;
    }

    .banner-text p {
        font-size: 0.9rem;
    }
}
/* Blessing Section */
.blessing-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.blessing-card {
    text-align: center;
}
/* Mass Location Styling */
.mass-location-text {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    font-weight: 500;
}
/* Rich Text Content Styling for Announcements */
.announcement-content {
    line-height: 1.6;
    color: #333;
}

    .announcement-content p {
        margin-bottom: 1rem;
    }

    .announcement-content ul,
    .announcement-content ol {
        margin: 1rem 0;
        padding-left: 2rem;
    }

    .announcement-content li {
        margin-bottom: 0.5rem;
    }

    .announcement-content strong {
        font-weight: 600;
        color: var(--primary-color);
    }

    .announcement-content em {
        font-style: italic;
    }

    .announcement-content a {
        color: var(--primary-color);
        text-decoration: underline;
    }

        .announcement-content a:hover {
            color: var(--secondary-color);
        }

    .announcement-content h1,
    .announcement-content h2,
    .announcement-content h3 {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
    }