:root {
    --primary-yellow: #FFD200;
    --primary-red: #E42313;
    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-highlight-red {
    color: var(--primary-red);
}

.text-yellow {
    color: var(--primary-yellow);
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-red {
    background-color: var(--primary-red);
    color: white;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for navbar */
    overflow: hidden;
    /* background-color: #FFD200; Removed yellow fallback */
    background-color: #1a1a1a;
    /* Dark fallback */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Dark Overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: brightness(0.9); Removed, let overlay do the work */
}

.hero-content {
    max-width: 600px;
    color: white;
    /* Add a slight background or shadow to make text readable on image */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    /* Ensure text is white */
}

/* Highlight "Adventure" in Hero */
.hero-title .text-highlight-red {
    color: var(--primary-red);
    text-shadow: 2px 2px 0px #fff;
    /* White outline for contrast */
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Section General */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--primary-yellow);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 1.3rem;
}

.service-card p {
    font-size: 0.9rem;
    flex-grow: 1;
}

/* Gallery */
.gallery {
    padding-top: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Make some items span differently for "Instagram" vibe */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

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

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-pin {
    position: absolute;
    color: var(--primary-red);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.map-pin:hover {
    transform: scale(1.2);
}

.pin-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
    bottom: 110%;
}

/* Simulated Pin Positions */
.pin-1 {
    top: 30%;
    left: 50%;
}

/* Merapi */
.pin-2 {
    top: 70%;
    left: 70%;
}

/* Gunung Kidul */
.pin-3 {
    top: 80%;
    left: 40%;
}

/* Parangtritis */
.pin-4 {
    top: 40%;
    left: 20%;
}

/* Borobudur */

/* Advantages */
.advantages {
    background-color: var(--bg-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.advantage-item i {
    font-size: 2rem;
    flex-shrink: 0;
}

.advantage-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.advantage-item p {
    font-size: 0.9rem;
    color: #666;
}

/* CTA */
.cta {
    background-color: var(--primary-yellow);
    padding: 100px 0;
    color: var(--text-dark);
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 40px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    font-size: 1.5rem;
    color: white;
    opacity: 0.7;
}

.social-links a:hover {
    opacity: 1;
    color: var(--primary-yellow);
}

.center-btn-container {
    text-align: center;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .map-container {
        height: 300px;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card .stars {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
    flex-grow: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-user span {
    font-size: 0.8rem;
    color: #888;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounceIn 1s;
}

.floating-wa-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20BD5A;
}

.floating-wa-btn i {
    font-size: 1.5rem;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .floating-wa-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .floating-wa-btn span {
        display: none;
        /* Hide text on mobile to save space, show icon only? Or keep it? Let's keep it for improved CTR */
        display: block;
    }
}