/* ===========================
   MODERN LANDING PAGE STYLES
   =========================== */

/* Root Variables */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --dark-color: #1e293b;
    --light-bg: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --card-hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    background: var(--gray-50);
    color: var(--dark-color);
    line-height: 1.6;
}

/* Enhanced Navbar */
.navbar {
    background: white !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.navbar:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Social Media Icons */
.sosmed li {
    transition: var(--transition);
}

.sosmed li:hover {
    transform: translateY(-5px);
}

.sosmed a {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: white;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sosmed a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.sosmed a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.sosmed a:hover::before {
    left: 100%;
}

.sosmed a i {
    color: var(--dark-color) !important;
    font-size: 1.1rem;
    transition: var(--transition);
}

.sosmed a:hover i {
    color: white !important;
}

/* Hero Section */
.hero {
    background: url("/asset/joglo-krebet.jpg") no-repeat center center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        var(--dark-color) 50%,
        var(--light-bg) 80%
    );
    opacity: 0.4;
}

.hero .konten {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease;
}

.hero h3 {
    font-size: 1.5rem;
    color: #fbbf24;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s ease;
}

/* Booking Button */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: white;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Calendar Section */
.pemesanan {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

/* .pemesanan:hover {
    box-shadow: var(--card-hover-shadow);
}

.pemesanan h2 {
    background: white;
    color: var(--dark-color);
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    box-shadow: var(--card-shadow);
} */

/* FullCalendar Customization */
/* .fc {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.fc-header-toolbar {
    background: white;
    padding: 15px;
    margin-bottom: 0 !important;
    border-bottom: 2px solid var(--gray-200);
}

.fc-toolbar-title {
    color: var(--dark-color) !important;
    font-weight: 700;
}

.fc-button {
    background: white !important;
    border: 1px solid var(--gray-200) !important;
    color: var(--dark-color) !important;
    border-radius: 8px !important;
    transition: var(--transition);
}

.fc-button:hover {
    background: var(--gray-100) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.fc-button-active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.fc-day-today {
    background: rgba(59, 130, 246, 0.08) !important;
}

.fc-event {
    border-radius: 8px;
    border: none !important;
    padding: 4px 8px;
    transition: var(--transition);
}

.fc-event:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
} */

/* Modal Enhancements */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    background: white;
    color: var(--dark-color);
    border: none;
    border-bottom: 2px solid var(--gray-200);
    padding: 20px 30px;
}

.modal-title {
    font-weight: 700;
    color: var(--dark-color);
}

.modal-body {
    padding: 30px;
}

/* Progress Bar */
#progress {
    margin-bottom: 30px;
}

#progress .col {
    cursor: pointer;
    transition: var(--transition);
}

#progress .col:hover {
    transform: translateY(-5px);
}

.progresBar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.box-active {
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.box-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

#progress p {
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

/* Form Styling */
.form-control,
.form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

/* Package Cards */
.form-check {
    width: 100%;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.3rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.col-lg-3.col.border {
    border-radius: 15px !important;
    transition: var(--transition);
    cursor: pointer;
    background: white;
    border: 2px solid #e5e7eb !important;
}

.col-lg-3.col.border:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color) !important;
}

.card-header {
    background: var(--gray-100);
    color: var(--dark-color) !important;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-warning {
    background: var(--accent-color);
    border: none;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: #6b7280;
    border: none;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: white;
    color: var(--dark-color);
    border-top: 2px solid var(--gray-200);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.02);
}

footer p {
    opacity: 0.8;
}

.navbar-default {
    background-color: #2f4050;
    border-color: #2f4050;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Styling */
.step {
    animation: fadeInUp 0.5s ease;
}

/* Table Enhancements */
.table-bordered {
    border-radius: 10px;
    overflow: hidden;
}

.table-bordered th {
    background: #f1f5f9;
    font-weight: 600;
    color: var(--dark-color);
}

.table-bordered td {
    padding: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h3 {
        font-size: 1.1rem;
    }

    #progress .col {
        margin-bottom: 10px;
    }

    #progress p {
        font-size: 0.75rem;
    }

    .pemesanan {
        padding: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.step {
    display: none; /* semua disembunyiin dulu */
}
.step.active {
    display: block; /* cuma step aktif yg tampil */
}

/* ============================
   FULLCALENDAR FIX & OPTIMIZE
   ============================ */

/* Wrapper kalender */
#calendar {
    width: 100% !important;
    min-height: 600px; /* bebas naik-turun sesuai isi */
}

/* Hilangkan scroll vertikal bawaan yang bikin jelek */
.fc-scroller {
    overflow-y: hidden !important;
}

/* Biar FC tinggi otomatis */
.fc {
    height: auto !important;
}

/* Rapihin title biar nggak terlalu besar / tumpah */
.fc-toolbar-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
}

/* Biar kotak hari tinggi ideal */
.fc-daygrid-day-frame {
    min-height: 80px !important;
}

/* Biru highlight hari ini */
.fc-day-today {
    background: rgba(59, 130, 246, 0.08) !important;
}

/* Mobile adjust */
@media (max-width: 768px) {
    .fc-toolbar-title {
        font-size: 1.1rem !important;
    }

    .fc-button {
        padding: 3px 8px !important;
        font-size: 0.75rem !important;
    }

    .fc-col-header-cell,
    .fc-daygrid-day {
        min-width: 35px;
    }
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 48px;
    /* color: #1e293b; */
    margin-bottom: 10px;
}

.hero h3 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    /* color: #475569; */
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero h3 {
        font-size: 16px;
    }
}
