/* --- Base Styles & Variables --- */
:root {
    --primary-blue: #0056b3;
    --secondary-blue: #007bff;
    --light-blue: #eaf2fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1.2rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn-nav {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
}

.btn-nav:hover {
    background-color: var(--secondary-blue);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 180px 5% 100px;
    background: url('../asset/hero.jpg') center / cover no-repeat;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero h1 span {
    color: var(--secondary-blue);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-outline {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* --- Load Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.navbar {
    animation: fadeDown 0.7s ease both;
}

.hero-content h1 {
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.15s;
}

.hero-content p {
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.35s;
}

.hero-content .hero-btns {
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.55s;
}

.whatsapp-float {
    animation: fadeIn 0.8s ease 0.8s both;
}

/* --- Section Global --- */
section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-gray);
}

/* --- Services --- */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- Destinations --- */
.destinations {
    background-color: var(--bg-light);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dest-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.dest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.dest-img {
    height: 200px;
    overflow: hidden;
}

.dest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dest-card:hover .dest-img img {
    transform: scale(1.05);
}

.dest-info {
    padding: 1.5rem;
}

.dest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dest-header span {
    color: #ffc107; /* Warna Bintang */
    font-weight: 600;
}

.dest-info p {
    color: var(--secondary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-text {
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--secondary-blue);
}

/* --- Footer --- */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand .logo span {
    color: var(--secondary-blue);
}

.footer-brand p {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #aaaaaa;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-blue);
}

.footer-contact p {
    color: #aaaaaa;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* --- Floating WhatsApp CTA --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* --- Reduced Motion (Aksesibilitas) --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Responsive Design (Mobile Friendly) --- */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--white);
        padding: 90px 2rem 2rem;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.9rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--light-blue);
    }

    .nav-links a:hover {
        color: var(--primary-blue);
    }

    .nav-links .btn-nav {
        background: none;
        color: var(--primary-blue) !important;
        padding: 0.9rem 0;
        border-radius: 0;
        font-size: 1.1rem;
    }

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

    .nav-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

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

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 150px 5% 80px;
        min-height: 70vh;
    }

    .hero-btns {
        flex-direction: column;
    }
}