/* Start section layanan */
.layanan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
}

.layanan-content {
    flex: 1;
}

.layanan-content h1 {
    font-size: 36px;
    font-weight: bold;
    color: #162C60;
}

.layanan-content p {
    color: #949BB8;
    font-size: 16px;
    margin: 15px 0;
    line-height: 1.6;
}

.layanan-image {
    flex: 1;
    position: relative;
}

.layanan-image img {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 50px;
    padding: 12px; /* padding dikurangi supaya gak terlalu jauh */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.layanan-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}


/* Optional background shapes */
.layanan-background-shapes {
    position: absolute;
    top: -30px;
    left: 50px;
    width: 300px;
    height: 300px;
    background: url('background-shape.png') no-repeat center;
    background-size: contain;
    z-index: -1;
}

/* Responsive layout for tablet */
@media (max-width: 1024px) {
    .layanan {
        flex-direction: row;
        gap: 20px;
        padding: 30px;
        margin: 40px 10px;
    }

    .layanan-content h1 {
        font-size: 32px;
    }

    .layanan-image img {
        padding: 0px;
    }
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
    .layanan {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }

    .layanan-background-shapes {
        top: -20px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .layanan-content h1 {
        font-size: 28px;
    }
}

/* end section layanan */


/* start menu layanan */
.layanan-kami {
    padding: 30px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.desc-layanan {
  color: #949BB8;
  font-size: 16px;
  margin: 5px 0;
  line-height: 1.6;
  width: 700px;
}

.layanan-kami h2 {
    font-size: 36px;
    color: #1A1A3C;
    font-weight: bold;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.layanan-card {
    position: relative;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    /* nice blue gradient */
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
}

.layanan-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.45);
}

.layanan-card .layanan-link {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
    text-decoration: none;
    width: 100%;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}


.layanan-card .layanan-link h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    transition: color 0.3s ease;
}

/* Hover pada teks */
.layanan-card:hover .layanan-link h3 {
    color: #e0e7ff;
    /* lighter text on hover */
}

/* subtle overlay effect on hover */
.layanan-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
    border-radius: 20px;
    z-index: 1;
}

.layanan-card:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

.layanan-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 110, 255, 0.8) 40%, rgba(0, 110, 255, 0.3) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
}


/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .layanan-grid {
        grid-template-columns: 1fr 1fr;
    }

    .layanan-card {
        height: 190px;
        padding-left: 25px;
    }

    .layanan-card .layanan-link h3 {
        font-size: 16px;
    }

    .desc-layanan {
        font-size: 16px;
        max-width: 100%;
        padding: 0 10px;
    }
}

/* Responsif untuk layar lebih kecil (handphone) */
@media (max-width: 480px) {
    .layanan-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .layanan-kami h2 {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .layanan-card {
        height: 140px;
        padding-left: 20px;
    }

    .layanan-card .layanan-link h3 {
        font-size: 14px;
    }

    .desc-layanan {
        font-size: 14px;
        padding: 0 15px;
        max-width: 100%;
    }
}


/* end menu layanan */




/* start fullcalendar */
.booking-section {
    position: relative;
    z-index: 1;
    /* Pastikan berada di atas elemen lain */
}

.calendar-card {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: auto;
}

.calendar-wrapper {
    position: relative;
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
}

.calendar-content {
    position: relative;
    z-index: 2;
    /* Agar event di FullCalendar tidak tertimpa */
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: #162C60;
    z-index: 1;
    /* Supaya tetap berada di atas konten lainnya */
}

.fc th {
    border: 1px solid #dee2e6 !important;
    /* Warna border sesuai style lainnya */
}

.fc .fc-button-primary {
    color: #006EFF !important;
    border-color: #006EFF !important;
    background-color: transparent !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    color: #fff !important;
    background-color: #006EFF !important;
}

.fc .fc-button-group>.fc-button.fc-button-active,
.fc .fc-button-group>.fc-button:active,
.fc .fc-button-group>.fc-button:focus,
.fc .fc-button-group>.fc-button:hover {
    color: #fff !important;
    background-color: #006EFF !important;
}

.fc .fc-col-header-cell-cushion {
    text-decoration: none;
    color: #1A1A3C;
}

.fc-list-day-cushion a {
    text-decoration: none;
    color: #1A1A3C;
}

.fc .fc-daygrid-day-number {
    text-decoration: none;
    color: #1A1A3C;
}

.fc .fc-button-primary:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 110, 255, 0.25) !important;
}

.callout {
    padding: 0.75rem 1.25rem;
    margin: 0;
    border: 1px solid #d6d8db;
    border-left-width: 0.25rem;
    color: #1A1A3C;

    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

.callout-primary {
    border-left-color: #006EFF;
}