* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: white;
    --bg-alt: #F8F9FA;
    --headline: black;
    --subheadline: #555555;
    --accent: #74CC00;
    --cta-bg: #DFFF00;
    --border-color: rgba(0, 0, 0, 0.12);;
    --bottom: #252525;
    --icon-invert: 0%;
}

.dark-mode {
    --bg: #121212;
    --bg-alt: #0A0A0A;
    --headline: white;
    --subheadline: #B0B0B0;
    --border-color: rgba(255, 255, 255, 0.1);
    --bottom: #dfdfdf;
    --icon-invert: 100%;
}

html{
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg);
}

body, nav, footer, .theme-btn, .img-tag {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

h1 {
    color: var(--headline);
}

h1 span {
    color: var(--accent)
}

.logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--headline);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5vw;
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-alt);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-left: auto;
    margin-right: 2.5rem;
    z-index: 3;
}

.nav-links a {
    color: var(--subheadline);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--headline);
}

.theme-btn img {
    width: 20px;
    height: 20px;
    filter: invert(var(--icon-invert)); 
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-right img {
    
    width: 20px;
    height: 20px;
    filter: invert(var(--icon-invert));
    transition: filter 0.4s ease;
}

.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--headline);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.hamburger-btn:hover {
    color: var(--accent);
}

.header {
    width: 100%;
    max-height: 340px;
    overflow: hidden;
    position: relative;
}

.header-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.35) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5vw;
    gap: 0.75rem;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 5vw 5rem;
    gap: 3.5rem;
}     

.split {
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.left p {
    color: var(--subheadline);
}

.right {
    flex: 1;
    position: relative;
}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── HERO BUTTONS WRAPPER ── */
.hero-buttons {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-top: 1rem;
}

/* ── SECONDARY BUTTON ── */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--headline);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    min-width: 220px;
    border-radius: 100px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
    border-color: var(--headline);
    color: var(--headline);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background-color: var(--cta-bg);
    color: #000;
    font-size: 1rem;
    font-weight: 800;
    padding: 1rem 2.5rem;
    min-width: 220px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(116, 204, 0, 0.4); 
    filter: brightness(1.05);
}

.cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(116, 204, 0, 0.2);
}

footer {
    background-color: var(--bg-alt);
    padding: 5rem 5vw 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 4;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand p {
    line-height: 1.6;
    font-size: 0.9rem;
    max-width: 320px;
    color: var(--subheadline)
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--headline);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--subheadline);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-column p {
    color: var(--subheadline);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-info {
    font-weight: 600;
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--headline);
    font-size: 0.75rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--subheadline);
    text-decoration: none;
    font-size: 0.75rem;
}

.footer-bottom-links a:hover {
    color: var(--bottom);
}

.theme-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--headline);
    padding: 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    position: relative;
    overflow: hidden;
}

.theme-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.theme-btn .icon-moon { display: none; }
.theme-btn .icon-sun { display: block; }

.dark-mode .theme-btn .icon-sun { display: none; }
.dark-mode .theme-btn .icon-moon { display: block; }

#backToTop {
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--accent);
    color: var(--bg);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);            
}

#backToTop:hover {
    transform: scale(1.1);
    background-color: var(--cta-bg);
}

/* ── FLATPICKR CUSTOM THEME ── */
.flatpickr-calendar {
    background: var(--bg-alt) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 16px !important;
    padding: 5px !important;
}

.flatpickr-current-month input.cur-year {
    color: var(--subheadline) !important;
    font-weight: 800 !important;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
    border-bottom-color: var(--border-color) !important;
}

.flatpickr-months .flatpickr-month,
.flatpickr-months .flatpickr-prev-month, 
.flatpickr-months .flatpickr-next-month {
    color: var(--headline) !important;
    fill: var(--headline) !important;
}

span.flatpickr-weekday {
    color: var(--subheadline) !important;
    font-weight: 700 !important;
}

.flatpickr-day {
    color: var(--headline) !important;
    border-radius: 8px !important;
    font-weight: 500;
}

.flatpickr-day:hover, 
.flatpickr-day:focus {
    background: var(--bg) !important;
    border-color: var(--border-color) !important;
}

.flatpickr-day.selected, 
.flatpickr-day.selected:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #000 !important;
    font-weight: 800;
}

.flatpickr-day.today {
    border-color: var(--accent) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: var(--subheadline) !important;
    opacity: 0.3;
}

/* =========================================
   FEATURES SECTION
   ========================================= */

.features-section {
    padding: 5rem 5vw;
    background-color: var(--bg-alt); 
    border-top: 1px solid var(--border-color);
}

.features-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.features-badge {
    display: inline-block;
    background-color: rgba(116, 204, 0, 0.15);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.features-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--headline);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.features-header h2 span {
    color: var(--accent);
}

.features-header p {
    color: var(--subheadline);
    font-size: 1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.dark-mode .feature-card:hover {
    box-shadow: 0 15px 30px rgba(116, 204, 0, 0.05);
}

.icon-wrapper {
    width: 52px;
    height: 52px;
    background-color: rgba(116, 204, 0, 0.15);
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
}

.feature-card h3 {
    color: var(--headline);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--subheadline);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================
   BOOKING STEPS SECTION (ALUR 3 LANGKAH)
   ========================================= */
.steps-section {
    padding: 5rem 5vw;
    background-color: var(--bg);
    border-top: 1px solid var(--border-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.dark-mode .step-card:hover {
    box-shadow: 0 15px 30px rgba(116, 204, 0, 0.04);
}

.step-number {
    width: 64px;
    height: 64px;
    background-color: var(--accent);
    color: #000;
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(116, 204, 0, 0.25); /* Glow hijau lembut */
}

.step-card h3 {
    color: var(--headline);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.step-card p {
    color: var(--subheadline);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .split {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .split {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center; 
    }
    
    .left { order: 1; align-items: center; }
    .right { order: 2; width: 100%; }
    .hero-buttons { justify-content: center; }
    
    .features-section, .steps-section {
        padding: 4rem 5vw;
    }

    .hamburger-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-alt);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
        gap: 0.85rem;
    }
    
    .btn-secondary, .cta-btn {
        width: 100%;
        min-width: unset;
        text-align: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer-links-group {
        grid-template-columns: 1fr; 
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }
}