/* =========================================================
    LUXURY GLASSMORPHISM UI | IMAGE LOGO EDITION
    Optimized for: 250x80px Logo & Small Devices
========================================================= */

/* 1. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.8);
    --premium-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

body {
    background: linear-gradient(135deg, #f6f8fb, #ffffff, #eef1f7);
    color: #222;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 2. NAVBAR & LOGO IMAGE (Optimized for 250x80) */
.navbar {
    padding: 0.7rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    /* Kita kunci tingginya agar navbar tetap elegan */
    height: 50px; 
    max-width: 200px; 
    flex-shrink: 1;
    transition: 0.3s ease;
}

.logo img {
    height: 100%;
    width: auto; 
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.nav-auth { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

/* 3. HAMBURGER */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #222;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* 4. BUTTONS 3D PREMIUM */
.btn {
    padding: 0.8rem 1.6rem;
    border-radius: 32px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.btn.primary {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #111;
    border: 1px solid rgba(0,0,0,0.1);
}

.btn.secondary {
    background: transparent;
    border: 2px solid #ccc;
    color: #333;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.full { width: 100%; text-align: center; }

/* 5. HERO SECTION */
.hero {
    width: 94%;
    max-width: 1400px;
    margin: 1.5rem auto;
    position: relative;
    aspect-ratio: 16 / 9; 
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.slides, .slide { position: absolute; inset: 0; }
.slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(0.6);
}
.slide.active { opacity: 1; }

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.glass-box {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px) saturate(160%);
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    max-width: 750px;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: #111;
}

.hero-content p {
    margin-top: 15px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 6. CARD GRID - Updated to 4:5 Aspect Ratio */
.card-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 5%;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: 0.4s;
}

.card:hover { transform: translateY(-10px); }

.card-image-wrapper {
    width: 100%;
    /* Perbaikan: Ukuran 4:5 agar lebih mewah seperti poster */
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
}

.card-content { padding: 25px; text-align: center; }

.section-title {
    text-align: center;
    margin: 50px 0 10px;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
}

/* 7. AUTH PAGES */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 28px;
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--premium-shadow);
    text-align: center;
}

.auth-card input, .auth-card select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.8);
}

/* 8. FOOTER - Professional Style */
.footer-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 50px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-radius: 30px 30px 0 0;
    text-align: center;
}

.footer-social a { font-size: 22px; color: #333; margin: 0 12px; }
.footer-menu { margin: 25px 0; list-style: none; }
.footer-menu li { display: inline-block; margin: 0 15px; }
.footer-menu a { color: #444; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: 0.3s; }
.footer-menu a:hover { color: #000; }

/* 9. MEDIA QUERIES (RESPONSIVE FOCUS) */
@media (max-width: 768px) {
    .navbar { padding: 0.6rem 1.2rem; }
    
    .logo {
        height: 40px; 
        max-width: 150px;
    }

    .hamburger { display: flex; }

    .nav-auth {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 15px;
        display: none; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-auth.show { display: flex; animation: slideIn 0.3s ease; }

    @keyframes slideIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .hero { 
        width: 100%; 
        border-radius: 0; 
        margin: 0; 
        aspect-ratio: 16 / 9; 
    }
    .hero-buttons .btn { width: 100%; }

    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}

@media (max-width: 480px) {
    .logo { 
        height: 32px; 
        max-width: 120px;
    }
    .card-grid { 
        padding: 20px 5%;
        gap: 25px; 
    }
    
    .hero {
        aspect-ratio: auto;
        min-height: 350px;
    }

    /* Perbaikan Footer Mobile agar lebih compact & profesional */
    .footer-glass {
        padding: 30px 15px; /* Padding dikurangi agar tidak terlalu panjang */
        margin-top: 40px;
    }
    .footer-menu {
        margin: 15px 0;
    }
    .footer-menu li { 
        display: inline-block; /* Tetap satu baris atau membungkus rapi, bukan block memanjang */
        margin: 5px 10px; 
    }
    .footer-menu a {
        font-size: 0.85rem;
    }
}