/* =====================================================
   LAYAR KATEKESE KATOLIK
   File: assets/css/pages.css
   Fungsi: Styling untuk halaman statis (tentang, kontak, doa, kalender)
   ===================================================== */

/* ============================================
   1. PAGE CONTAINER
   ============================================ */
.page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page-section {
    margin-bottom: 3rem;
}

.page-section:last-child {
    margin-bottom: 0;
}

.section-title-page {
    font-family: var(--font-primary);
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.section-title-page::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--secondary);
}

.section-title-page i {
    color: var(--secondary);
}

/* ============================================
   2. CONTENT CARD (pengganti admin-card)
   ============================================ */
.content-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.content-card-header {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.content-card-header h3 {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.content-card-header h3 i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.content-card-header .badge-small {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    font-style: italic;
}

.content-card-body {
    padding: 1.5rem;
}

/* Card dengan border kiri warna */
.content-card-accent {
    border-left: 5px solid var(--primary);
}

.content-card-accent.gold {
    border-left-color: var(--secondary);
}

.content-card-accent.red {
    border-left-color: #C41E3A;
}

.content-card-accent.green {
    border-left-color: #2E7D32;
}

.content-card-accent.purple {
    border-left-color: #6A1B9A;
}

/* ============================================
   3. HERO SECTION HALAMAN
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-hero-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: white;
    margin: 0 0 1rem;
    letter-spacing: 2px;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-style: italic;
    font-family: var(--font-primary);
}

/* ============================================
   4. FORM STYLING (pengganti form-control-admin)
   ============================================ */
.form-control-page {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
    font-family: inherit;
}

.form-control-page:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-control-page::placeholder {
    color: #adb5bd;
}

textarea.form-control-page {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-label-page {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label-page i {
    color: var(--primary);
}

.form-group-page {
    margin-bottom: 1.25rem;
}

/* ============================================
   5. BUTTON STYLING
   ============================================ */
.btn-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-page-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-page-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
    color: white;
}

.btn-page-secondary {
    background: var(--secondary);
    color: var(--text-dark);
}

.btn-page-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    color: var(--text-dark);
}

.btn-page-outline {
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-page-outline:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   6. INFO BOX
   ============================================ */
.info-box-page {
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-box-page i {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box-page.info {
    background: #e7f3ff;
    border-left: 4px solid #0066cc;
    color: #004085;
}

.info-box-page.info i { color: #0066cc; }

.info-box-page.success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.info-box-page.success i { color: #28a745; }

.info-box-page.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.info-box-page.warning i { color: #ffc107; }

/* ============================================
   7. KONTAK INFO ITEM
   ============================================ */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-cream);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
}

.contact-info-icon.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.contact-info-icon.gold {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--text-dark);
}

.contact-info-content strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-info-content p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.9rem;
}

/* ============================================
   8. DOA CARD
   ============================================ */
.doa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.doa-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.doa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.doa-card-header {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.doa-card-header::before {
    content: '✝';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.08);
    transform: rotate(15deg);
}

.doa-card-header h3 {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.doa-card-header h3 i {
    color: var(--secondary);
}

.doa-card-header .doa-latin {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary-light);
    font-style: italic;
    margin-top: 4px;
    font-weight: normal;
    position: relative;
}

.doa-card-body {
    padding: 1.5rem;
}

.doa-card-body p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    font-family: var(--font-primary);
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--secondary);
}

/* ============================================
   9. VISI MISI SECTION
   ============================================ */
.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.visi-misi-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.visi-misi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.visi-misi-card.misi {
    border-top-color: var(--secondary);
}

.visi-misi-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
}

.visi-misi-card.misi .visi-misi-icon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.visi-misi-card h3 {
    font-family: var(--font-primary);
    color: var(--primary);
    margin: 0 0 1rem;
    font-size: 1.3rem;
}

.visi-misi-card.misi h3 {
    color: var(--secondary-dark);
}

.visi-misi-card p {
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

.visi-misi-card ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-body);
    line-height: 1.8;
}

.visi-misi-card ul li {
    margin-bottom: 0.5rem;
}

.visi-misi-card ul li::marker {
    color: var(--secondary);
    font-weight: bold;
}

/* ============================================
   10. QUOTE BOX
   ============================================ */
.quote-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-box i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: inline-block;
}

.quote-box p {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.quote-box cite {
    color: var(--secondary-light);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    position: relative;
}

/* ============================================
   11. FEATURE LIST
   ============================================ */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: var(--bg-cream);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ============================================
   12. ABOUT SECTION (Tentang Kami)
   ============================================ */
.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.about-intro strong {
    color: var(--primary);
}

.about-intro em {
    color: var(--secondary-dark);
    font-weight: 600;
}

.about-tagline {
    background: var(--bg-cream);
    border-left: 4px solid var(--secondary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    font-style: italic;
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* ============================================
   13. RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .visi-misi-grid {
        grid-template-columns: 1fr;
    }
    
    .doa-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 3.5rem 0 3rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .page-hero-icon {
        font-size: 2.5rem;
    }
    
    .page-container {
        padding: 2rem 1rem;
    }
    
    .section-title-page {
        font-size: 1.4rem;
    }
    
    .content-card-body {
        padding: 1.2rem;
    }
    
    .quote-box {
        padding: 2rem 1.5rem;
    }
    
    .quote-box p {
        font-size: 1.1rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .visi-misi-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .content-card-header {
        padding: 1rem;
    }
    
    .content-card-header h3 {
        font-size: 1rem;
    }
    
    .contact-info-item {
        padding: 0.8rem;
        gap: 10px;
    }
    
    .contact-info-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}