/* Waktu Layanan Page Styles */

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 50px;
}

.header-section h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.header-section .subtitle {
    font-size: 16px;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Service Cards Grid */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Individual Service Card */
.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Card Header with Colors */
.card-header {
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.card-header.green {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.card-header.green::before {
    background: #1e8449;
}

.card-header.blue {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.card-header.blue::before {
    background: #1a5276;
}

.card-header.red {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

.card-header.red::before {
    background: #922b21;
}

.card-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* Card Body */
.card-body {
    padding: 35px 25px;
}

/* Time Items */
.time-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.time-item:last-child {
    margin-bottom: 0;
}

.time-item i {
    font-size: 24px;
    color: #34495e;
    width: 30px;
    text-align: center;
}

.time-item.break i {
    color: #95a5a6;
}

.time-item .time-label {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.time-item.break .time-label {
    color: #7f8c8d;
    font-weight: 400;
}

/* Closed Status */
.card-body.closed {
    text-align: center;
    padding: 35px 25px;
    /* Same as regular card-body */
}

.closed-status .closed-text {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0;
    margin-top: -25px;
    /* Negative margin to move up higher */
}

.closed-status .closed-note {
    font-size: 14px;
    color: #7f8c8d;
    margin: 10px 0 0 0;
    /* Only top margin */
}

/* Info Section */
.info-section {
    margin-top: 60px;
}

.info-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.info-card .info-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-card .info-icon i {
    font-size: 36px;
    color: #fff;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-card .info-number {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin: 15px 0;
}

.info-card .info-label {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-section h1 {
        font-size: 28px;
    }

    .header-section .subtitle {
        font-size: 14px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .card-header h2 {
        font-size: 20px;
    }

    .time-item .time-label {
        font-size: 14px;
    }

    .closed-status .closed-text {
        font-size: 36px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .info-card .info-number {
        font-size: 40px;
    }
}