:root {
    --primary-color: #00d4ff; /* Neon Cyan */
    --secondary-color: #0b0c15; /* Dark Background */
    --card-bg: #161b2e; /* Card Background */
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --accent-hover: #00a2c7;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Mencegah scroll horizontal pada mobile */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- NAVIGATION BAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--nav-height);
    background-color: rgba(11, 12, 21, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    backdrop-filter: blur(10px);
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px; /* Sesuaikan tinggi agar muat di navbar 80px */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-book-nav {
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-book-nav:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-color);
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh; /* Full screen height minus navbar roughly */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('../Images/hero.webp') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.hero-features i { color: var(--primary-color); }

.btn-main {
    background-color: var(--primary-color);
    color: #000;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}

/* --- SECTIONS GENERAL --- */
.section { padding: 5rem 5%; }
.dark-bg { background-color: #0f121e; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- PACKAGES (GRID) --- */
.package-container {
    display: grid;
    /* Responsive Grid: Otomatis mengisi kolom minimal 300px */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2.5rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-10px); border-color: var(--primary-color); }

.popular { border-color: var(--primary-color); box-shadow: 0 0 15px rgba(0,212,255,0.1); }
.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.package-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.package-card .desc { color: var(--text-muted); min-height: 45px; margin-bottom: 1.5rem; font-size: 0.9rem;}

.features { flex-grow: 1; margin-bottom: 2rem; }
.features li { margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative; color: #ddd; }
.features li::before { content: '✓'; color: var(--primary-color); position: absolute; left: 0; font-weight: bold; }

.btn-card {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: bold;
}
.btn-card:hover { background: var(--primary-color); color: #000; }

/* --- FACILITIES (GRID) --- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.facility-item {
    background: rgba(255,255,255,0.03);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}
.facility-item:hover { background: rgba(255,255,255,0.06); }
.facility-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.facility-item h4 { font-size: 1.25rem; margin-bottom: 1rem; }
.facility-item p { font-size: 0.9rem; color: var(--text-muted); }

/* --- MEMBERSHIP --- */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default 2 kolom */
    gap: 2rem;
}

.member-card {
    background: linear-gradient(145deg, #161b2e, #0e111a);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
}

.member-card h4 { color: var(--primary-color); margin-bottom: 1rem; letter-spacing: 1px; }

/* --- BOOKING FORM PAGE --- */
.booking-section {
    min-height: calc(100vh - var(--nav-height) - 300px); /* Adjust height */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 5%;
}

.booking-container {
    width: 100%;
    max-width: 600px;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #0b0c15;
    color: white;
    font-size: 1rem;
}
.form-group input:focus { outline: none; border-color: var(--primary-color); }

.radio-group { display: flex; gap: 1rem; }
.radio-box { flex: 1; position: relative; }
.radio-box input { position: absolute; opacity: 0; width: 0; }
.radio-box span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    background: #0b0c15;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.radio-box input:checked ~ span { background: var(--primary-color); color: #000; font-weight: bold; border-color: var(--primary-color); }

.btn-block { width: 100%; }

/* --- FOOTER --- */
.footer {
    background-color: #05060a;
    padding: 4rem 5% 2rem;
    border-top: 1px solid #222;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 { color: var(--primary-color); margin-bottom: 1.5rem; }
.footer-section p, .footer-section tr { color: #bbb; line-height: 1.8; }
.footer-section td { padding-bottom: 5px; padding-right: 10px; }

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.85rem;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE LOGIC)
   ========================================= */

/* Tablet & Laptop Kecil (Max 1024px) */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .hero-features { gap: 1rem; }
    .membership-grid { gap: 1.5rem; }
    .section { padding: 4rem 4%; }
}

/* Tablet Portrait & Mobile Besar (Max 768px) */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--nav-height);
        height: calc(100vh - var(--nav-height));
        width: 70%;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
        border-left: 1px solid #333;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-links.active { right: 0; }
    .nav-links li { margin: 1.5rem 0; }
    
    /* Hero Adjustments */
    .hero { height: auto; padding: 6rem 1rem 4rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    /* Grids menjadi 1 kolom pada mobile */
    .membership-grid { grid-template-columns: 1fr; }
    .footer-container { gap: 2rem; }
    
    /* Booking Form */
    .booking-container { padding: 2rem; }
}

/* Mobile Kecil (Max 480px) */
@media (max-width: 480px) {
    .navbar { padding: 0 1rem; }
    .logo a { font-size: 1.2rem; }
    
    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    
    .radio-group { flex-direction: column; } /* Radio button jadi vertikal */
    
    .package-container { grid-template-columns: 1fr; } /* Card tumpuk ke bawah */
    
    .footer-section table { font-size: 0.9rem; }
}