/* IMPORT FONT BIAR SAMA */
@import url('https://fonts.cdnfonts.com/css/cocogoose-pro?styles=17441');
@import url('https://fonts.cdnfonts.com/css/gc-palioka');

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

html, body {
    background-color: #023047; /* Warna Biru Dongker Utama */
    font-family: 'Cocogoose Pro', sans-serif;
    color: #fdfaf6; /* Tulisan Putih Tulang */
    overflow-x: hidden;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.4s ease;
    background: transparent;
    font-family: 'Cocogoose Pro', sans-serif;
}

.navbar.scrolled {
    padding: 5px 10%;
    background: #023047;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.navbar-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display:  flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-navbar {
    height: 50px;
    width: auto;
    transition: height 0.4s ease;
    transform:translateX(-15px);
}

.navbar.scrolled .logo-navbar {
    height: 30px;
    transform: translateY(4px) translateX(-15px);
}

.nav-menu {
    display: flex;
    gap:  40px;
    list-style: none;
}

.nav-menu a {
    color: #fdfaf6;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.nav-menu li a {
    color: #fdfaf6;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu li a:hover {
    opacity: 0.7;
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 20px;
    }
    .nav-menu li a {
        font-size: 1rem;
    }
    .logo-navbar {
        width: auto;
        height: 40px;
        transform: translateX(-15px);
    }
    .navbar-scrolled .logo-navbar {
        height: 45px;
    }
}

nav .logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.2s;
}

nav ul li a:hover {
    opacity: 0.7;
}

.hamburger {
    position: absolute;
    display: none;
    top: 50%px;
    right: 20px;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
    margin-left: auto;
    align-items: center;
}

.hamburger .bar {
    height: 3.5px;
    width: 100%;
    background: #fdfaf6;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Animasi X kecil smooth */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.navbar-scrolled .hamburger{
    position: relative;
    top: 10px;
    transform: translateY(4px);
}

/* MOBILE DROPDOWN KECIL */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 10px; /* Dropdown dari bawah hamburger */
        right: 10px;
        width: 200px;
        background: rgba(2, 48, 71, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 12px;
        flex-direction: column;
        padding: 15px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu a {
        display: block;
        padding: 12px 25px;
        font-size: 1rem; /* Kecil seperti FAQ di contoh */
        font-weight: 500;
        color: #fdfaf6;
        text-align: left;
    }

    .nav-menu a:hover {
        background: rgba(255,255,255,0.1);
    }
}
/* DETAIL CONTENT */
.tour-detail {
    padding: 140px 10% 80px; /* Padding atas digedein biar ga ketabrak navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Kiri Gambar, Kanan Teks */
    gap: 60px;
    align-items: start;
}

/* GAMBAR */
#detail-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); /* Shadow lebih gelap */
}

/* TEKS */
.detail-text h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    color: #fdfaf6;
    line-height: 1.2;
    font-family: 'GC Palioka', sans-serif; 
}

.detail-text p {
    font-family: 'GC Palioka', sans-serif; /* Font deskripsi */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.8;
    
}

.detail-text li {
    font-family: 'GC Palioka', sans-serif;
}

/* LIST ITINERARY */
#detail-itinerary {
    list-style: none;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05); /* Kotak transparan */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#detail-itinerary li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

#detail-itinerary li::before {
    margin-right: 10px;
    color: #219EBC;
}

#detail-itinerary li:last-child { border-bottom: none; }

/* HARGA */
.detail-price {
    font-size: 2rem;
    font-weight: bold;
    color: #8ECAE6; /* Warna biru muda cerah */
    margin: 30px 0;
    display: block;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: #219EBC; /* Warna tombol sesuai tema */
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    margin-right: 15px;
}

.btn-primary:hover {
    background: #8ECAE6;
    color: #023047;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(33, 158, 188, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 36px;
    background: transparent;
    color: #fdfaf6;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: #fdfaf6;
    background: rgba(255,255,255,0.1);
}

/* RESPONSIVE MOBILE */
@media (max-width: 900px) {
    .detail-container {
        grid-template-columns: 1fr; /* Tumpuk ke bawah */
        gap: 30px;
    }
    
    .tour-detail { padding: 100px 5% 40px; }
    
    .detail-text h1 { font-size: 2rem; }
    
    .btn-primary, .btn-secondary {
        display: block;
        text-align: center;
        width: 100%;
        margin: 10px 0;
    }
}

/* FOOTER */
footer {
    padding: 30px 10%;
    background: #0d0d0d;
    color: white;
    font-size: 0.9rem;
    width: 100%;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-inner p {
    margin: 0;
    opacity: 0.7;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.5px;
}

.footer-social {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-ig,
.footer-wa {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: all 0.3s ease;
}

.footer-ig svg,
.footer-wa svg {
    transition: transform 0.3s ease;
}

.footer-ig:hover {
    color: #E1306C;
}

.footer-wa:hover {
    color: #25D366;
}

.footer-ig:hover svg,
.footer-wa:hover svg {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* FLOATING WHATSAPP BUTTON */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: transparent;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    font-family: 'Cocogoose Pro', sans-serif;
    font-weight: 600;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background-color: #128C7E;
}

.wa-text {
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.wa-icon {
    width: 35px;
    height: 35px;
}

/* Mobile: Lebih kecil & rapi */
@media (max-width: 768px) {
    .wa-float {
        bottom: 20px;
        right: -10px;
        min-width: 60px;
    }

    .wa-text {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .wa-icon {
        width: 30px;
        height: 30px;
    }

    .wa-float:hover {
        background: transparent;
        box-shadow: none;
    }
}