/* ==============================
   Maklumat Pelayanan Section Styles
   ============================== */

#maklumat-sec {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#maklumat-sec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg/pattern_overlay.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

#maklumat-sec .container {
    position: relative;
    z-index: 2;
}

/* Header Styles */
.maklumat-header {
    margin-bottom: 2rem;
    text-align: center;
}

.maklumat-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.maklumat-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Left Side - Service Photos */
.maklumat-left-side {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.service-photos-grid {
    margin-bottom: 2rem;
}

.service-photo-main {
    margin-bottom: 1.5rem;
}

.photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.photo-container:hover {
    transform: translateY(-5px);
}

.photo-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-container:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-container:hover .photo-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Secondary Photos */
.service-photos-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-3px);
}

.photo-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

/* Right Side - IKM Visual */
.maklumat-right-side {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.ikm-visual-container {
    margin-bottom: 2rem;
}

.ikm-chart-photo {
    margin-bottom: 1.5rem;
}

.chart-photo-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.chart-photo-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.chart-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.score-badge {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.score-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

/* Data Card */
.data-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #007bff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    background: #007bff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #6c757d;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.survey-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.survey-meta span {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.survey-meta i {
    color: #007bff;
}

/* Performance Breakdown */
.performance-breakdown h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.breakdown-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #007bff;
    transition: transform 0.3s ease;
}

.breakdown-card:hover {
    transform: translateY(-2px);
}

.breakdown-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
}

.breakdown-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.3rem;
}

/* Info Sections */
.improvement-info,
.target-info {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-left: 4px solid #2196f3;
}

.target-info {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-left-color: #9c27b0;
}

.info-icon {
    background: #2196f3;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.target-info .info-icon {
    background: #9c27b0;
}

.info-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .maklumat-left-side,
    .maklumat-right-side {
        margin-bottom: 2rem;
    }
    
    .breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .maklumat-title {
        font-size: 1.5rem;
    }
    
    .service-photos-secondary {
        grid-template-columns: 1fr;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .survey-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .improvement-info,
    .target-info {
        flex-direction: column;
        text-align: center;
    }
    
    .photo-container img {
        height: 200px;
    }
    
    .chart-photo-container img {
        height: 150px;
    }
}

@media (max-width: 575.98px) {
    .maklumat-left-side,
    .maklumat-right-side {
        padding: 1rem;
    }
    
    .data-card {
        flex-direction: column;
        text-align: center;
    }
    
    .score-badge {
        padding: 0.6rem 0.8rem;
    }
    
    .score-value {
        font-size: 1.2rem;
    }
}