/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
:root {
    --primary-color: #0d1e3d;     /* Biru Tua Premium */
    --secondary-color: #111111;   /* Hitam Elegan */
    --accent-color: #d4af37;      /* Emas */
    --accent-hover: #b8962e;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

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

.max-width-md {
    max-width: 800px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   LOADING ANIMATION
   ========================================================================== */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.bg-dark .section-header h2 {
    color: var(--white);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Utilities */
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--secondary-color); }
.bg-white { background-color: var(--white); }
.text-light { color: var(--white); }
.text-gold { color: var(--accent-color) !important; }

.grid-container {
    display: grid;
    gap: 30px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    padding: 25px 0;
    transition: var(--transition-smooth);
}

.navbar.sticky {
    padding: 15px 0;
    background-color: rgba(13, 30, 61, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
    font-weight: 300;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   OVERLAY MOBILE MENU
========================================== */

.nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(3px);

    opacity: 0;
    visibility: hidden;

    transition: 0.4s ease;
    z-index: 985;
}

.nav-overlay.active{
    opacity: 1;
    visibility: visible;
}


/* ==========================================
   MOBILE NAVIGATION
========================================== */

@media (max-width: 992px){

    .menu-toggle{
        display: block;
        z-index: 999;
    }

    .nav-menu{
        position: fixed;
        top: 0;
        right: -100%;

        width: 75%;
max-width: 260px;
        height: 100vh;

        background: rgba(13, 30, 61, 0.08);
        backdrop-filter: blur(15px);

        flex-direction: column;
        align-items: flex-start;

        padding: 100px 30px;
        gap: 25px;

        transition: 0.5s ease;
        z-index: 990;

        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }

    .nav-menu.active{
        right: 0;
    }

    .nav-link{
        width: 100%;
        font-size: 1rem;
    }

    .btn-nav{
        margin-top: 10px;
    }

}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background: linear-gradient(rgba(13, 30, 61, 0.85), rgba(17, 17, 17, 0.9)), url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================================================
   2. SECTION RUTE PERJALANAN
   ========================================================================== */
.rute-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 35px 25px;
    box-shadow: var(--shadow-premium);
    position: relative;
    border-top: 4px solid var(--primary-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.rute-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--accent-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.rute-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.rute-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rute-card h3 i {
    color: var(--accent-color);
}

.price {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.price span {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.rute-features {
    list-style: none;
    margin-bottom: 25px;
}

.rute-features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rute-features li i {
    color: var(--primary-color);
    width: 16px;
}

.jadwal-box {
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    margin-top: auto;
}

.jadwal-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.jadwal-tags {
    display: flex;
    gap: 8px;
}

.jadwal-tags span {
    background-color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid #e0e0e0;
}

/* ==========================================================================
   3. SECTION KEUNGGULAN
   ========================================================================== */
.feature-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.feature-box:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ==========================================================================
   4. SECTION ARMADA
   ========================================================================== */
.armada-card {
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.armada-card:hover {
    border-color: var(--accent-color);
    transform: scale(1.03);
}

.armada-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.armada-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.armada-class {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.armada-cap {
    display: inline-block;
    font-size: 0.85rem;
    background-color: var(--light-bg);
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--text-muted);
}

/* ==========================================================================
   5 & 6. CARA BOOKING & INFO BOX
   ========================================================================== */
.booking-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    position: relative;
    text-align: center;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
    z-index: 2;
    position: relative;
}

.timeline-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.timeline-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0 10px;
}

/* Info Box Elegan */
.info-box-elegant {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-left: 5px solid var(--accent-color);
    padding: 30px 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--white);
    box-shadow: var(--shadow-premium);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.info-text p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   7. FAQ SECTION
   ========================================================================== */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.faq-question h3 {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-toggle {
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.faq-answer p {
    padding: 0 30px 25px 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Active State */
.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--accent-color);
}
.faq-item.active .faq-question h3 {
    color: var(--accent-color);
}

/* ==========================================================================
   8. FOOTER SECTION
   ========================================================================== */
.footer-section {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-info h3 span {
    color: var(--accent-color);
    font-weight: 300;
}

.footer-info p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.domain-text {
    color: var(--accent-color);
    font-weight: 600;
    font-family: var(--font-heading);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.wa-footer-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.working-hours {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
    transform: scale(1.1) rotate(10deg);
}

.floating-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.whatsapp-floating:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* ==========================================================================
   SCROLL ANIMATION STATES
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-info { grid-column: span 2; }
    .booking-timeline::before { display: none; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .section-header h2 { font-size: 2rem; }
    
    /* Responsive Mobile Menu */
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 40px 24px;
        gap: 25px;
        transition: var(--transition-smooth);
        align-items: flex-start;
        z-index: 995;
    }
    
    .nav-menu.active { left: 0; }
    .nav-link { font-size: 1.1rem; width: 100%; }
    .btn-nav { width: 100%; text-align: center; margin-top: 20px; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
    .btn { width: 100%; }
    
    .info-box-elegant { flex-direction: column; text-align: center; padding: 25px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-info { grid-column: span 1; }
    
    .whatsapp-floating { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.8rem; }
}
