/* TUNJUNG BALI TOUR - OFFICIAL STYLESHEET
   Sincronized with Emerald Green Logo
*/

/* =========================================
   1. VARIABEL & DASAR
   ========================================= */
:root {
    --primary-color: #00442c; /* Hijau Tua Logo */
    --accent-color: #006442;  /* Hijau Emerald Logo */
    --accent-hover: #00331a;
    --whatsapp-color: #25d366;
    --bg-light: #f4f9f7;     /* Background hijau sangat muda */
    --text-dark: #1a1a1a;
    --text-gray: #555;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --white: #ffffff;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Open Sans', sans-serif; 
    color: var(--text-dark); 
    line-height: 1.8; 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    background-color: var(--white);
}

/* =========================================
   2. HEADER & NAVIGASI
   ========================================= */
header {
    position: fixed;
    width: 100%; height: 90px;
    padding: 0 8%;
    display: flex; align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header.header-scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto;
}

.brand { display: flex; align-items: center; text-decoration: none; gap: 12px; }
#main-logo { height: 55px; width: auto; object-fit: contain; }
.brand-name { 
    font-family: 'Montserrat'; 
    font-weight: 700; 
    color: var(--primary-color); 
    letter-spacing: 2px; 
    font-size: 1.1rem; 
}

.nav-list { display: flex; list-style: none; align-items: center; }
.nav-list li { margin-left: 30px; }
.nav-list li a { 
    color: var(--text-dark); 
    text-decoration: none; 
    font-size: 0.85rem; 
    font-weight: 700; 
    letter-spacing: 1px; 
    transition: 0.3s;
}
.nav-list li a:hover { color: var(--accent-color); }

.lang-switcher { color: #ccc; font-size: 0.8rem; font-weight: 700; }
.lang-switcher a { text-decoration: none; color: var(--text-gray); transition: 0.3s; padding: 0 5px; }
.lang-switcher a.active-lang { color: var(--accent-color); border-bottom: 2px solid var(--accent-color); }

#mobile-menu {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
    padding: 8px 15px;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 0.7rem;
    cursor: pointer;
    border-radius: 4px;
}

/* =========================================
   3. HERO & FEATURES
   ========================================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), 
                url('asset/background.jpeg'); 
    background-size: cover; 
    background-position: center;
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    color: var(--white); 
    padding: 0 20px;
}

.hero-content { max-width: 900px; }
.hero h1 { font-family: 'Montserrat'; font-size: 3.5rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; }
.hero-p-main { font-size: 1.2rem; font-weight: 400; margin-bottom: 10px; }
.hero-p-sub { font-size: 1rem; font-weight: 300; opacity: 0.9; margin-bottom: 40px; line-height: 1.6; }

.btn { 
    padding: 18px 45px; 
    background: var(--accent-color); 
    color: var(--white); 
    border: none; 
    text-decoration: none; 
    font-weight: 700; 
    letter-spacing: 2px; 
    transition: var(--transition);
    border-radius: 5px;
    display: inline-block;
}
.btn:hover { 
    background: var(--accent-hover); 
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 100, 66, 0.3);
}

.container { padding: 80px 8%; text-align: center; max-width: 1300px; margin: 0 auto; }

.section-title { 
    font-family: 'Montserrat'; font-size: 2.2rem; letter-spacing: 4px; 
    margin-bottom: 15px; text-transform: uppercase; color: var(--primary-color);
}
.section-title::after { 
    content: ''; 
    display: block; 
    width: 60px; 
    height: 3px; 
    background: var(--accent-color); 
    margin: 15px auto 45px; /* Kita tambah margin bawah jadi 25px */
}
.section-subtitle { color: var(--text-gray); margin-bottom: 50px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: -120px; }
.feature-item { 
    background: var(--white); padding: 45px 25px; border-radius: 15px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}
.feature-item:hover { border-bottom: 4px solid var(--accent-color); transform: translateY(-5px); }
.feature-item .icon { font-size: 2.8rem; margin-bottom: 20px; }
.feature-item h3 { font-family: 'Montserrat'; margin-bottom: 10px; font-size: 1.1rem; color: var(--primary-color); }

/* =========================================
   4. DESTINATIONS
   ========================================= */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; padding: 20px 0;
}

.dest-card { position: relative; height: 380px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.dest-card:hover img { transform: scale(1.1); }

.dest-tag { position: absolute; top: 15px; left: 15px; padding: 6px 15px; border-radius: 20px; font-size: 0.65rem; font-weight: 700; z-index: 2; text-transform: uppercase; letter-spacing: 1px; }
.tag-green { background: var(--accent-color); color: var(--white); }
.tag-orange { background: #f39c12; color: var(--white); }

.dest-name { 
    position: absolute; bottom: 0; width: 100%; padding: 40px 20px 20px; 
    background: linear-gradient(transparent, rgba(0, 43, 28, 0.9)); 
    color: var(--white); font-weight: 700; text-align: left; font-family: 'Montserrat';
}

.ferry-info { margin-top: 60px; text-align: center; background: var(--bg-light); padding: 40px; border-radius: 20px; }
.ferry-note { margin-bottom: 25px; font-weight: 600; color: var(--text-dark); }
.booking-links { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.partner-link { 
    padding: 12px 25px; background: var(--white); color: var(--primary-color); 
    text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee;
}
.partner-link:hover { border-color: var(--accent-color); color: var(--accent-color); transform: translateY(-2px); }

/* =========================================
   5. SERVICES & PORTFOLIO
   ========================================= */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    margin-top: 30px;
}

.service-card { 
    padding: 50px 40px; 
    background: var(--white); 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    text-align: center;
    cursor: pointer;
}

.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

.service-card h3 { 
    color: var(--accent-color); 
    margin-bottom: 20px; 
    font-family: 'Montserrat'; 
    letter-spacing: 1px; 
}

/* Reveal Harga & Tombol */
.service-price {
    margin-top: 15px;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
}

.service-card:hover .service-price {
    opacity: 1;
    transform: translateY(0);
}

.btn-small {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-small:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.portfolio-bg { background: var(--bg-light); border-radius: 50px 50px 0 0; }
.portfolio-grid, .highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.portfolio-item { height: 350px; border-radius: 15px; overflow: hidden; background: #ddd; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.portfolio-item:hover img { transform: scale(1.05); }

.service-hint {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 40px; /* Memberi ruang sebelum grid box */
    display: block;
    font-style: italic;
    opacity: 0.8;
}

/* =========================================
   6. BOOKING FORM
   ========================================= */
.book-p-text { margin-bottom: 40px; color: var(--text-gray); }
.booking-container { 
    max-width: 800px; margin: auto; background: var(--white); padding: 50px; 
    border-radius: 25px; box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border-top: 5px solid var(--accent-color);
}
.booking-form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* 2 Kolom menyamping di Laptop */
    gap: 20px; 
}

@media (max-width: 768px) {
    .booking-form-grid { 
        grid-template-columns: 1fr; /* Jadi 1 kolom saja di HP */
    }
}
.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { font-weight: 700; font-size: 0.8rem; color: var(--text-gray); display: block; margin-bottom: 10px; letter-spacing: 1px; }
.form-group input, .form-group select { 
    width: 100%; padding: 15px; border: 1px solid #e0e0e0; border-radius: 10px; 
    font-family: inherit; transition: 0.3s; background: #fafafa;
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent-color); outline: none; background: var(--white); }

.btn-book { 
    width: 100%; padding: 20px; background: var(--primary-color); color: var(--white); 
    border: 1px solid var(--accent-color); font-weight: 700; letter-spacing: 3px; 
    text-transform: uppercase; cursor: pointer; border-radius: 10px; transition: 0.3s; margin-top: 10px;
}
.btn-book:hover { background: var(--accent-color); box-shadow: 0 10px 20px rgba(0, 100, 66, 0.3); }

/* =========================================
   7. ANIMASI, WA FLOAT & FOOTER
   ========================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.wa-float { 
    position: fixed; bottom: 30px; right: 30px; background: var(--whatsapp-color); color: var(--white); 
    border-radius: 50px; padding: 15px 30px; display: flex; align-items: center; gap: 12px; 
    text-decoration: none; font-weight: 700; z-index: 999; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); 
    transition: 0.3s; 
}
.wa-float:hover { transform: scale(1.05) translateY(-5px); }

footer {
    padding: 60px 20px 30px;
    background: #002b1c; /* Hijau sangat tua */
    color: var(--white);
    text-align: center;
    border-top: 5px solid var(--accent-color);
}

.footer-social {
    margin: 20px 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
}

.footer-social a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-social img {
 /* Membuat logo IG jadi putih agar clean di footer gelap */
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.75rem;
    color: #888;
}
footer h3 { color: var(--white); font-family: 'Montserrat'; letter-spacing: 4px; margin-bottom: 20px; }


/* =========================================
   8. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    header { padding: 0 5%; height: 70px; }
    #mobile-menu { display: block; }
    
    .nav-list {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 80%;
        background: var(--white); flex-direction: column; justify-content: center;
        transition: 0.5s cubic-bezier(0.77,0,0.175,1); box-shadow: -15px 0 35px rgba(0,0,0,0.1);
    }
    .nav-list.active { right: 0; }
    .nav-list li { margin: 15px 0; }
    .nav-list li a { font-size: 1.1rem; }
    
    .hero h1 { font-size: 2.5rem; }
    .features-grid { margin-top: -50px; }
    .booking-container { padding: 30px 20px; }
    .booking-form-grid { grid-template-columns: 1fr; gap: 0; }
    .section-title { font-size: 1.8rem; }
    
    .services-grid { 
        grid-template-columns: 1fr; 
    }
}

