/* Jadwal Calendar Page Styles */
:root {
    --primary-color: #1a6b4a;
    --secondary-color: #0d4a33;
    --success-color: #25D366;
    --dark-color: #2c3e50;
    --light-gray: #f8f9fa;
    --light-color: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
}

/* Page Header Section */
.page-header {
    background: linear-gradient(135deg, #1a6b4a 0%, #123e2c 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/bg.jpeg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 20px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: white;
}

.breadcrumb-nav i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb-nav span {
    color: white;
    font-weight: 600;
}

/* Schedule Section */
.schedule-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #1a6b4a;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.back-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #1a6b4a;
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.schedule-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.schedule-header {
    background: linear-gradient(135deg, #1a6b4a 0%, #0d4a33 100%);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.package-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    backdrop-filter: blur(10px);
}

.package-info h3 {
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.package-info .duration {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.schedule-body {
    padding: 25px;
}

.info-row {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row.price-row {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    margin: 15px -25px -25px -25px;
    padding: 20px 25px;
    border-bottom: none;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item > i {
    font-size: 1.2rem;
    color: #1a6b4a;
    margin-top: 3px;
    min-width: 20px;
}

.info-item .label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 3px;
}

.info-item .value {
    display: block;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.info-item .price-value {
    color: #856404;
    font-weight: 700;
    font-size: 1.2rem;
}

.schedule-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
}

.btn-book,
.btn-detail {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-book {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-detail {
    background: white;
    color: #1a6b4a;
    border: 2px solid #1a6b4a;
}

.btn-detail:hover {
    background: #1a6b4a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 107, 74, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Calendar Container */
.calendar-container {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin: 30px 0;
}

/* FullCalendar Custom Styles */
.fc {
    font-family: "Poppins", sans-serif;
}

.fc-toolbar {
    margin-bottom: 30px !important;
}

.fc-toolbar-title {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: var(--dark-color);
}

.fc-button-primary {
    background: var(--primary-color) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.fc-button-primary:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

.fc-button-primary:disabled {
    background: #ccc !important;
    transform: none !important;
    box-shadow: none !important;
}

.fc .fc-event {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 2px 0 !important;
}

.fc .fc-event:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

.fc .fc-event-title {
    font-weight: 600 !important;
    font-size: 13px !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.fc-daygrid-day {
    min-height: 120px !important;
}

.fc-daygrid-day-number {
    font-weight: 600 !important;
    color: var(--dark-color) !important;
}

.fc-day-today {
    background: rgba(26, 107, 74, 0.1) !important;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--light-color);
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-height: 90vh;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--dark-color);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-header .package-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.modal-header .package-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.modal-header .duration {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: 40vh;
}

.modal-body .info-row {
    margin-bottom: 25px;
    padding: 0;
    border: none;
}

.modal-body .info-row:last-child {
    margin-bottom: 0;
}

.modal-body .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modal-body .info-item i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
    min-width: 20px;
}

.modal-body .info-item .label {
    display: block;
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.modal-body .info-item .value {
    display: block;
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.5;
}

.modal-body .price-row .value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-footer .btn-book,
.modal-footer .btn-detail {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-width: 140px;
    border: none;
}

.modal-footer .btn-book {
    background: var(--success-color);
    color: var(--light-color);
}

.modal-footer .btn-book:hover {
    background: #1fa851;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--light-color);
}

.modal-footer .btn-detail {
    background: var(--light-gray);
    color: var(--dark-color);
    border: 2px solid var(--primary-color) !important;
}

.modal-footer .btn-detail:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .schedule-section {
        padding: 60px 0 40px;
    }
    
    .calendar-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modal-header .package-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .modal-header .package-info h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px 20px;
        flex-direction: column;
    }
    
    .modal-footer .btn-book,
    .modal-footer .btn-detail {
        min-width: 100%;
    }
    
    .fc-toolbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .fc-toolbar-title {
        font-size: 1.4rem !important;
    }
    
    .fc-button-group {
        display: flex;
        justify-content: center;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .schedule-footer {
        flex-direction: column;
    }
    
    .btn-book,
    .btn-detail {
        width: 100%;
    }
    
    .package-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .package-info h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .schedule-section {
        padding: 40px 0;
    }
    
    .fc-daygrid-day {
        min-height: 80px !important;
    }
    
    .fc .fc-event-title {
        font-size: 11px !important;
    }
}
