/* =========================================
   CUSTOM FONT - ADMINLTE 4
   ========================================= */

:root {
    --home-primary: #1abc9c;
    --home-primary-hover: #149c82;
    --home-accent: #f59e0b;
    --home-text-main: #ffffff;
    --home-text-muted: rgba(255, 255, 255, 0.85);
    --home-overlay-dark: rgba(0, 0, 0, 0.65);
    --home-overlay-soft: rgba(0, 0, 0, 0.45);
    --home-card-bg: rgba(255, 255, 255, 0.9);
    --home-card-text: #2c3e50;
    --bs-font-sans-serif:
        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

/* Heading */
h1,
h2,
h3,
h4,
h5,
h6,
.app-content-header h3,
.card-title,
.modal-title {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 600;
}

/* Sidebar & Navbar */
.main-sidebar,
.nav-sidebar,
.navbar {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 500;
}

/* Dashboard numbers */
.info-box-number,
.fs-5,
.fw-bold {
    font-variant-numeric: tabular-nums;
}
/* Container pembungkus video agar responsif */
.note-video-clip {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; /* Menjaga proporsi video standar */
}

/* Memastikan video di halaman publik (setelah disave) juga responsif */
iframe[src*="youtube.com"],
iframe[src*="youtu.be"] {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 4px 6px;
    cursor: text;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__placeholder {
    color: #6c757d;
    font-size: 14px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #0d6efd;
    border: none;
    color: #ffffff;

    border-radius: 0.25rem;
    padding: 4px 10px 4px 30px;
    margin: 4px 4px 0 0;

    font-size: 14px;
    position: relative;
    line-height: 1.4;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);

    color: #ffffff;
    font-weight: bold;
    font-size: 14px;

    cursor: pointer;
    padding-right: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover {
    color: #ffc107;
}

.select2-container--default
    .select2-selection--multiple
    .select2-search--inline
    .select2-search__field {
    margin-top: 6px;
    font-size: 14px;
    padding: 0 4px;
}

.select2-container--default .select2-results__option {
    font-size: 14px;
    padding: 8px 12px;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #0d6efd;
    color: #ffffff;
}

.select2-container--default .select2-results__option--selected {
    background-color: #e9ecef;
    color: #212529;
}

.select2-container--default
    .select2-selection--multiple.select2-selection--disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}
body {
    overflow-x: hidden;
}

/* =========================
   HOME SECTION
========================= */
/* ---------- MAIN WRAPPER ---------- */
.home {
    position: relative;
    min-height: 100vh;
    padding: 120px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ---------- BACKGROUND IMAGE ---------- */
.home .home-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.home .home-background .home-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.home .home-background .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        var(--home-overlay-dark) 0%,
        var(--home-overlay-soft) 100%
    );
}

/* ---------- CONTENT ---------- */
.home .home-content {
    position: relative;
    z-index: 1;
}

/* ---------- TEXT AREA ---------- */
.home .home-text {
    color: var(--home-text-main);
}

.home .home-text .tagline {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffff00;
    /* color: var(--home-text-main); */
    margin-bottom: 18px;

    border-left: 3px solid var(--home-primary);
    padding-left: 12px;
}

.home .home-text .home-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 22px;
    color: var(--home-text-main);
}

@media (max-width: 768px) {
    .home .home-text .home-title {
        font-size: 2.4rem;
    }
}

.home .home-text .home-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--home-text-muted);
    max-width: 600px;
    margin-bottom: 36px;
}

@media (max-width: 768px) {
    .home .home-text .home-description {
        font-size: 16px;
    }
}

/* ---------- ACTION BUTTONS ---------- */
.home .home-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 576px) {
    .home .home-actions {
        flex-direction: column;
        gap: 14px;
    }
}

.home .home-actions .btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    min-width: 160px;
    transition: all 0.3s ease;
}

/* Primary Button */
.home .home-actions .btn-primary {
    background-color: var(--home-primary);
    border: none;
    color: #ffffff;
}

.home .home-actions .btn-primary:hover {
    background-color: var(--home-primary-hover);
    transform: translateY(-2px);
}

/* Outline Button */
.home .home-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.home .home-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ---------- SOCIAL ICONS (RESPONSIVE) ---------- */
.home .home-features {
    display: flex;
    flex-wrap: wrap; /* penting agar tidak overflow */
    gap: 20px;
}

.home .home-features a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

.home .home-features i {
    font-size: 20px;
    color: #ffffff;
}

/* Hover tetap halus */
.home .home-features a:hover {
    background: var(--home-primary);
    transform: translateY(-3px);
}

/* ---------- MOBILE OPTIMIZATION ---------- */
@media (max-width: 576px) {
    .home .home-features {
        justify-content: center;
    }

    .home .home-features a {
        width: 38px;
        height: 38px;
    }

    .home .home-features i {
        font-size: 18px;
    }
}

/* ---------- BOOKING CARD (GLASS STYLE) ---------- */
.home .booking-card {
    background: rgba(255, 255, 255, 0.15); /* transparan seperti social icon */
    color: #ffffff;
    padding: 36px;
    border-radius: 18px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

@media (max-width: 992px) {
    .home .booking-card {
        margin-top: 50px;
        padding: 30px;
    }
}

/* Text */
.home .booking-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.home .booking-card h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

/* List */
.home .booking-card ul {
    padding-left: 18px;
}

.home .booking-card ul li {
    font-size: 14px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- BOOKING CARD SUMMERNOTE CONTENT ---------- */
.home .booking-card h6 {
  margin-top: 20px;
}

.home .booking-card ul {
  margin-top: 10px;
}

.home .booking-card p:last-child {
  margin-bottom: 0;
}


@keyframes home-bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ================================
   Event Ticker Container
================================ */
.event-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    min-height: clamp(56px, 8vh, 80px); /* tinggi responsif */
    padding: 0 1rem;

    display: flex;
    align-items: center;

    overflow: hidden;
    background: var(--primary-color);
    backdrop-filter: blur(6px);
    z-index: 5;
}

/* ================================
   Track (viewport ticker)
================================ */
.ticker-track {
    width: 100%;
    overflow: hidden;
}

/* ================================
   Running Content
================================ */
.ticker-inner {
    display: inline-flex;
    align-items: center;
    gap: 3rem;

    white-space: nowrap;
    will-change: transform;

    animation: ticker-scroll 50s linear infinite;
}

/* Pause on hover */
.event-ticker:hover .ticker-inner {
    animation-play-state: paused;
}

/* ================================
   Item
================================ */
.ticker-item {
    color: #ffffff;
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ticker-item:hover {
    opacity: 0.8;
    text-decoration: underline;
}
/* Separator antar judul */
.ticker-item:not(:last-child)::after {
    content: "|";
    margin-left: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* ================================
   Gradient Fade (kiri & kanan)
================================ */
.event-ticker::before,
.event-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 6;
    pointer-events: none;
}

.event-ticker::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65), transparent);
}

.event-ticker::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.65), transparent);
}

/* ================================
   Reduced Motion Support
================================ */
@media (prefers-reduced-motion: reduce) {
    .ticker-inner {
        animation: none;
        justify-content: center;
    }
}

/* ================================
   Mobile Adjustment
================================ */
@media (max-width: 576px) {
    .event-ticker {
        min-height: 56px;
        padding: 0 0.75rem;
    }

    .ticker-inner {
        gap: 2rem;
    }
}

/* Animation */
@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 992px) {
    .ticker-item {
        font-size: 0.9rem;
    }

    .ticker-inner {
        gap: 2rem;
        animation-duration: 40s;
    }
}

@media (max-width: 576px) {
    .event-ticker {
        padding: 10px 0;
    }

    .ticker-item {
        font-size: 0.85rem;
    }

    .ticker-inner {
        gap: 1.5rem;
        animation-duration: 40s;
    }
}

