/* ============================================
   END OF YEAR REPORT - STYLESHEET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a472a;
    --secondary-color: #d4af37;
    --accent-color: #2d5a3d;
    --light-bg: #f5f5f5;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #ffffff;
}

.report-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.report-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #ffffff;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.report-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: drift 20s linear infinite;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.header-content {
    position: relative;
    z-index: 1;
}

.ministry-name {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.report-title {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.report-date {
    font-size: 1.3em;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
}

/* ============================================
   MAIN CONTENT STYLES
   ============================================ */

.report-content {
    padding: 40px;
}

.section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #ffffff;
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.section-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.section-header h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.section-body {
    font-size: 1.05em;
    line-height: 1.9;
    color: var(--text-color);
}

.section-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.section-body p:last-child {
    margin-bottom: 0;
}

/* ============================================
   INTRODUCTION SECTION
   ============================================ */

.introduction-section {
    background: linear-gradient(135deg, rgba(26, 71, 42, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 5px solid var(--primary-color);
}

.intro-text {
    font-size: 1.15em;
    font-style: italic;
    color: var(--primary-color);
    line-height: 2;
    font-weight: 500;
}

/* ============================================
   IMAGE GALLERY STYLES
   ============================================ */

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background-color: var(--light-bg);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ============================================
   APPRECIATION SECTION
   ============================================ */

.appreciation-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 71, 42, 0.05) 100%);
}

/* ============================================
   GOALS SECTION
   ============================================ */

.goals-section {
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.goals-intro {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.goals-list {
    margin-left: 30px;
    margin-top: 15px;
}

.goals-list li {
    margin-bottom: 12px;
    padding-left: 10px;
    line-height: 1.8;
    color: var(--text-color);
}

.goals-list li::marker {
    color: var(--secondary-color);
    font-weight: 700;
}

/* ============================================
   CONCLUSION SECTION
   ============================================ */

.conclusion-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #ffffff;
    border-left: 5px solid var(--secondary-color);
}

.conclusion-section .section-header {
    border-bottom: 2px solid var(--secondary-color);
}

.conclusion-section .section-header h3 {
    color: var(--secondary-color);
}

.conclusion-section .section-body p {
    color: #ffffff;
    text-align: justify;
}

.blessing {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 25px;
    color: var(--secondary-color);
}

/* ============================================
   SIGNATURE SECTION
   ============================================ */

.signature-section {
    text-align: center;
    padding: 40px 30px;
    border-left: none;
    background-color: var(--light-bg);
    box-shadow: none;
}

.signature-content {
    padding: 30px;
}

.signature-name {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.signature-title {
    font-size: 1.1em;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.report-footer {
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
    padding: 25px;
    font-size: 0.95em;
    border-top: 3px solid var(--secondary-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .report-header {
        padding: 40px 20px;
    }

    .ministry-name {
        font-size: 1.6em;
    }

    .report-title {
        font-size: 2em;
    }

    .report-date {
        font-size: 1.1em;
    }

    .report-content {
        padding: 20px;
    }

    .section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .section-header h3 {
        font-size: 1.5em;
    }

    .section-body {
        font-size: 1em;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .goals-list {
        margin-left: 20px;
    }

    .goals-list li {
        font-size: 0.95em;
        margin-bottom: 10px;
    }

    .signature-content {
        padding: 20px;
    }

    .signature-name {
        font-size: 1.1em;
    }

    .signature-title {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .report-header {
        padding: 30px 15px;
    }

    .ministry-name {
        font-size: 1.3em;
    }

    .report-title {
        font-size: 1.5em;
    }

    .report-date {
        font-size: 0.95em;
    }

    .report-content {
        padding: 15px;
    }

    .section {
        padding: 15px;
        margin-bottom: 20px;
        border-left: 3px solid var(--secondary-color);
    }

    .section-header h3 {
        font-size: 1.3em;
    }

    .section-body {
        font-size: 0.95em;
        line-height: 1.7;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .intro-text {
        font-size: 1em;
    }

    .goals-intro {
        font-size: 1em;
    }

    .goals-list {
        margin-left: 15px;
    }

    .goals-list li {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .report-footer {
        font-size: 0.85em;
        padding: 15px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        background-color: white;
    }

    .report-container {
        max-width: 100%;
        box-shadow: none;
    }

    .section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }

    .report-header {
        page-break-after: avoid;
    }

    .image-gallery {
        page-break-inside: avoid;
    }

    .report-footer {
        margin-top: 40px;
    }
}

/* ============================================
   ANIMATION & TRANSITIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-20 {
    padding-top: 20px;
}

.pb-20 {
    padding-bottom: 20px;
}
