@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette - Naraya Tour */
    --primary: #6B3C92;
    --primary-dark: #512b70;
    --secondary: #8b5cf6;
    --background: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--background);
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

header,
header * {
    font-family: 'Montserrat', sans-serif !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navbar / Header (Global) --- */
header {
    width: 100%;
    height: 112px;
    margin: 0;
    padding: 34px 159px 33px 161px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

header.scrolled,
body:not(.page-home):not(.page-about) header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    height: 90px;
    padding-left: 161px;
    padding-right: 159px;
}

header.scrolled .nav-links a,
body:not(.page-home):not(.page-about) header .nav-links a {
    color: var(--text-main);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: var(--white);
    /* Default putih saat di atas */
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition);
}

/* Warna ikon hamburger berubah gelap saat header di-scroll atau pada halaman paket-tour */
header.scrolled .nav-toggle,
body:not(.page-home):not(.page-about) header .nav-toggle {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 60px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    color: var(--white);
    text-transform: capitalize;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary) !important;
}


/* --- Base Footer Styles --- */
.footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-about p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* --- Branded Footer --- */
.branded-footer {
    background: #5e3a8c;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid-nav {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-company {
    flex: 1.5;
}

.footer-col-nav {
    flex: 1;
    text-align: center;
}

.footer-col-social {
    flex: 1.2;
    text-align: right;
}

.footer-col-company h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.company-info .address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-item i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-links-vert {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-vert a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links-vert a:hover {
    color: #fff;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-icons-group {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.social-circle {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: var(--transition);
}

.social-circle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}


/* --- Global Responsive --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    header,
    header.scrolled,
    body:not(.page-home) header {
        padding: 0 40px;
        height: 90px;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    .nav-links {
        /* Menggunakan animasi halus, BUKAN display: none */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.85); /* Gelap transparan */
        display: flex;
        flex-direction: column;
        align-items: stretch; /* MEMAKSA agar anak-anak menu terbentang full width, bukan seukuran teks! */
        padding: 20px 0 30px; /* Padding kiri-kanan dihapus agar a tag mentok tepi */
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(12px); /* Efek bingkai kaca / Glassmorphism */
        -webkit-backdrop-filter: blur(12px);
        gap: 5px;
        /* Jarak antar menu */
        text-align: center;
        z-index: 9999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);

        /* Set up untuk animasi slide & fade */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-15px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Saat menu diklik dan class active ditambahkan */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.85) !important;
        /* Teks putih agar terbaca jelas di background gelap transparan */
        font-weight: 500;
        font-size: 16px;
        width: 100%;
        display: block;
        padding: 12px 30px; /* Padding dipindahkan kesini agar area klik full lebar */
        border-radius: 0; /* Menghilangkan radius supaya background hover lurus sampai mentok pinggir layaknya menu profesional */
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        /* Efek putih transparan halus (Glassmorphism highlight) */
        color: #fff !important;
    }
}

@media (max-width: 768px) {

    header,
    header.scrolled,
    body:not(.page-home):not(.page-about) header {
        padding: 0 30px;
        height: 80px;
    }

    .footer-grid-nav {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-col-social {
        text-align: center;
    }

    .social-icons-group,
    .contact-item {
        justify-content: center;
    }

    .footer-bar {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    header,
    header.scrolled,
    body:not(.page-home):not(.page-about) header {
        padding: 0 20px;
        height: 70px;
    }

    .nav-toggle {
        font-size: 28px;
    }
}

/* --- Global FAQ Section --- */
.faq-section {
    background-color: #F3F4F5;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    justify-content: center;
}

.faq-container {
    width: 100%;
    max-width: 1440px;
    padding-left: 160px;
    padding-right: 160px;
    display: flex;
    flex-direction: column;
}

.faq-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 40px;
    text-align: left;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
}

.faq-icon {
    min-width: 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
    margin-left: 20px;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner p {
    padding: 0 24px 24px 24px;
    margin: 0;
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-icon {
    background-color: #16A34A;
    color: #fff;
}

@media (max-width: 1024px) {
    .faq-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .faq-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .faq-question {
        font-size: 15px;
        padding: 20px;
    }

    .faq-answer-inner p {
        padding: 0 20px 20px 20px;
        font-size: 13px;
    }
}