/* ═══════════════════════════════════════════════════════
   RESET & BASE + GLOBAL FONTS
   ═══════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: #2d2d2d;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.section-padding {
    padding: 80px 0;
}

/* ═══════════════════════════════════════════════════════
   LIGHTBOX (dipakai di welcome & facility-detail)
   ═══════════════════════════════════════════════════════ */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox-modal.open .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ccc;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.guest-navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid #1a5c1a;
    box-sizing: border-box;
    max-width: 100vw;
}

.guest-navbar .navbar-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    height: 80px;
    box-sizing: border-box;
}

.guest-navbar .mobile-logo-wrapper {
    display: none;
}

.guest-navbar .navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    flex-shrink: 0;
}

.guest-navbar .navbar-logo .brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #1a3c1a;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.guest-navbar .navbar-logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.guest-navbar .navbar-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.guest-navbar .desktop-logo {
    position: relative;
    width: 140px;
    height: 80px;
    display: flex;
    justify-content: center;
}

.guest-navbar .desktop-logo .navbar-logo-wrapper {
    position: absolute;
    top: -5px;
    width: 120px;
    height: 120px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.guest-navbar .desktop-logo .navbar-logo-wrapper a {
    padding: 0;
    margin: 0;
    border-radius: 0%;
}

.guest-navbar .desktop-logo .navbar-logo-wrapper a::after {
    display: none;
}

.guest-navbar .desktop-logo .navbar-logo-wrapper a:hover {
    background-color: transparent;
}

.guest-navbar .desktop-logo .navbar-logo img {
    height: 110px;
    border-radius: 100%;
    width: auto;
    object-fit: contain;
}

.guest-navbar .navbar-links li a {
    text-decoration: none;
    color: #1a3c1a;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.guest-navbar .navbar-links li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #1a5c1a;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.guest-navbar .navbar-links li a:hover {
    color: #1a5c1a;
    background-color: rgba(26, 92, 26, 0.06);
}

.guest-navbar .navbar-links li a:hover::after {
    width: 60%;
}

.guest-navbar .navbar-links li a.active {
    color: #1a5c1a;
    font-weight: 700;
}

.guest-navbar .navbar-links li a.active::after {
    width: 60%;
}

/* Hamburger Button */
.guest-navbar .navbar-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1100;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.guest-navbar .navbar-hamburger:hover {
    background-color: rgba(26, 92, 26, 0.08);
}

.guest-navbar .navbar-hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #1a3c1a;
    border-radius: 2px;
    transition: all 0.35s ease;
    margin: 3px 0;
}

.guest-navbar .navbar-hamburger.is-active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.guest-navbar .navbar-hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.guest-navbar .navbar-hamburger.is-active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Overlay */
.guest-navbar .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1049;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guest-navbar .mobile-overlay.show {
    opacity: 1;
}

/* Spacer for fixed navbar */
.navbar-spacer {
    height: 80px;
}

/* Responsive Navbar */
@media (max-width: 992px) {
    .guest-navbar .navbar-container {
        justify-content: space-between;
    }

    .guest-navbar .mobile-logo-wrapper {
        display: block;
    }

    .guest-navbar .mobile-logo-wrapper .navbar-logo img {
        height: 48px;
        width: auto;
        display: block;
        border-radius: 50%;
    }

    .guest-navbar .mobile-logo-wrapper .navbar-logo .brand-name {
        display: block;
        font-size: 16px;
        font-weight: 700;
        color: #1a3c1a;
    }

    .guest-navbar .desktop-logo {
        display: none;
    }

    .guest-navbar .navbar-hamburger {
        display: flex;
    }

    .guest-navbar .navbar-links {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        background-color: #ffffff;
        padding: 100px 30px 30px;
        gap: 4px;
        z-index: 1050;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        align-items: stretch;
    }

    .guest-navbar .navbar-links.is-open {
        right: 0;
    }

    .guest-navbar .navbar-links li a {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 8px;
        display: block;
    }

    .guest-navbar .navbar-links li a::after {
        display: none;
    }

    .guest-navbar .navbar-links li a:hover {
        background-color: rgba(26, 92, 26, 0.08);
    }

    .guest-navbar .mobile-overlay {
        display: block;
        pointer-events: none;
    }

    .guest-navbar .mobile-overlay.show {
        pointer-events: auto;
    }
}

@media (max-width: 480px) {
    .guest-navbar .navbar-container {
        padding: 0 14px;
        height: 66px;
    }

    .guest-navbar .mobile-logo-wrapper .navbar-logo img {
        height: 42px;
    }

    .guest-navbar .mobile-logo-wrapper .navbar-logo .brand-name {
        font-size: 15px;
    }

    .navbar-spacer {
        height: 66px;
    }
}

/* Dropdown Menu */
.dropdown-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    max-width: 220px;
    width: max-content;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1100;
    display: block;
}

.dropdown-item.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    text-transform: capitalize !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    color: #333 !important;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: #1a5c1a !important;
    width: 100%;
}

.chevron-icon {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.dropdown-item.is-open .chevron-icon {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f9f9f9;
        padding-left: 0;
    }

    .dropdown-item.is-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 40px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   FAQ WIDGET (global, ada di semua halaman via layout)
   ═══════════════════════════════════════════════════════ */
.faq-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

.faq-widget-btn {
    width: 60px;
    height: 60px;
    background: #1a5c1a;
    color: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-widget-btn:hover {
    transform: scale(1.1);
    background: #144a14;
}

.faq-widget-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 450px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

.faq-widget-box.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.faq-header {
    background: #1a5c1a;
    color: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.faq-header button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.faq-header button:hover {
    color: #fff;
}

.faq-body {
    padding: 16px;
    overflow-y: auto;
    flex-grow: 1;
    background: #fdfdfd;
}

.faq-body::-webkit-scrollbar {
    width: 6px;
}

.faq-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.faq-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item-btn {
    background: #fff;
    border: 1px solid #eee;
    padding: 14px 16px;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.faq-item-btn:hover {
    background: #f4f4f4;
    transform: translateX(3px);
    border-color: #ddd;
    color: #1a5c1a;
}

.faq-item-btn span {
    font-weight: 500;
    margin-right: 10px;
}

.faq-item-btn i {
    color: #999;
}

.faq-detail {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-back-btn {
    background: none;
    border: none;
    color: #1a5c1a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 20px;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.2s;
}

.faq-back-btn:hover {
    gap: 10px;
    text-decoration: underline;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #1a3c1a;
    font-family: var(--font-heading);
    margin-bottom: 12px;
    line-height: 1.4;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.faq-answer {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.faq-answer li {
    margin-bottom: 5px;
}