/* D.Ed. Kaij Page Styles */

.kaij-main {
    padding: 40px 20px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    min-height: calc(100vh - 300px);
}

.kaij-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header h1 {
    font-size: 36px;
    color: #5a4a4a;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.page-header p {
    font-size: 16px;
    color: #777;
}

/* Grid Layout */
.kaij-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.kaij-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Images Section */
.images-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    animation: slideUp 0.5s ease-out;
    border-top: 4px solid #d4a574;
    transition: all 0.3s ease;
}

.images-section:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}

/* Image Slider */
.image-slider {
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f7f5 0%, #f2f1f0 100%);
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slider-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.slider-item:hover img {
    transform: scale(1.03);
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(90, 74, 74, 0.8) 0%, rgba(90, 74, 74, 0.6) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 24px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    font-weight: bold;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #5a4a4a 0%, #3d3633 100%);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Slider Dots/Indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(250,248,245,1) 100%);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.dot:hover {
    background: #bbb;
    border-color: #d4a574;
    transform: scale(1.2);
}

.dot.active {
    background: #d4a574;
    width: 30px;
    border-radius: 6px;
    border-color: #5a4a4a;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.4);
}

.dot.active {
    background: #d4a574;
    width: 32px;
    border-radius: 6px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick Links Section */
.quick-links-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    animation: slideUp 0.5s ease-out 0.1s both;
}

.quick-links-section h3 {
    font-size: 20px;
    color: #5a4a4a;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 3px solid #d4a574;
    padding-bottom: 12px;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.link-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f9f7f3;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.link-item:hover {
    background: #f2f0eb;
    border-left-color: #d4a574;
    transform: translateX(5px);
}

.link-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.link-item p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.link-item p strong {
    color: #5a4a4a;
    display: block;
    margin-bottom: 5px;
}

.link-item a {
    color: #d4a574;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    word-break: break-all;
}

.link-item a:hover {
    color: #5a4a4a;
}

/* Right Sidebar */
.kaij-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Download Reports Section */
.download-reports-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-top: 4px solid #d4a574;
    animation: slideUp 0.5s ease-out 0.2s both;
}

.download-reports-section h3 {
    font-size: 18px;
    color: #5a4a4a;
    margin-bottom: 18px;
    font-weight: 600;
    border-bottom: 2px solid #e0dcd9;
    padding-bottom: 10px;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.reports-list::-webkit-scrollbar {
    width: 6px;
}

.reports-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.reports-list::-webkit-scrollbar-thumb {
    background: #d4a574;
    border-radius: 10px;
}

.reports-list::-webkit-scrollbar-thumb:hover {
    background: #5a4a4a;
}

.report-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.report-item:hover {
    background: #f9f7f3;
    transform: translateX(5px);
}

.report-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.report-item a {
    color: #d4a574;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    flex: 1;
}

.report-item a:hover {
    color: #5a4a4a;
    text-decoration: underline;
}

.report-divider {
    height: 1px;
    background: #e0dcd9;
    margin: 8px 0;
}

/* Contact Section */
.contact-section-kaij {
    background: linear-gradient(135deg, #f9f7f3 0%, #f5f1eb 100%);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-top: 4px solid #d4a574;
    animation: slideUp 0.5s ease-out 0.3s both;
}

.contact-section-kaij h3 {
    font-size: 18px;
    color: #5a4a4a;
    margin-bottom: 18px;
    font-weight: 600;
    border-bottom: 2px solid #e0dcd9;
    padding-bottom: 10px;
}

.contact-card-kaij {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.contact-card-kaij p {
    margin: 8px 0;
}

.contact-card-kaij strong {
    color: #5a4a4a;
}

.contact-card-kaij hr {
    border: none;
    border-top: 1px solid #e0dcd9;
    margin: 12px 0;
}

.contact-card-kaij a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-kaij a:hover {
    color: #5a4a4a;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .kaij-grid {
        grid-template-columns: 1fr;
    }
    
    .kaij-left {
        order: 1;
    }
    
    .kaij-right {
        order: 2;
    }
}

@media (max-width: 768px) {
    .kaij-main {
        padding: 25px 15px;
    }
    
    .kaij-container {
        max-width: 100%;
    }
    
    .page-header h1 {
        font-size: 26px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .images-section {
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }
    
    .slider-container {
        height: 320px;
    }
    
    .slider-btn {
        padding: 11px 14px;
        font-size: 20px;
        left: 12px;
    }
    
    .slider-btn.next {
        right: 12px;
    }
    
    .slider-dots {
        gap: 8px;
        padding: 16px 0;
    }
    
    .dot {
        width: 9px;
        height: 9px;
    }
    
    .dot.active {
        width: 24px;
    }
    
    .quick-links-section,
    .download-reports-section,
    .contact-section-kaij {
        padding: 20px;
    }
    
    .link-item {
        padding: 12px;
    }
    
    .reports-list {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 20px;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .slider-btn {
        padding: 9px 11px;
        font-size: 18px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 20px;
    }
    
    .quick-links-section h3,
    .download-reports-section h3,
    .contact-section-kaij h3 {
        font-size: 16px;
    }
    
    .link-item p,
    .report-item a,
    .contact-card-kaij {
        font-size: 12px;
    }
}
