/* assets/css/styles.css - FULL VERSION */

:root {
    --bg-body: #121212;       /* Hitam Pekat */
    --bg-card: #1e1e1e;       /* Abu Gelap */
    --bg-input: #252525;
    --text-main: #e0e0e0;     /* Putih Tulang */
    --text-muted: #a0a0a0;    /* Abu-abu teks */
    --brand-pink: #ff009d;    /* Aksen Pink */
    --brand-blue: #00b0ff;    /* Aksen Biru */
    --border: #333;
    --nav-height: 90px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth; /* Smooth Scroll global */
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: var(--nav-height); /* Ruang untuk navbar fixed */
}

h1, h2, h3, h4, h5 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    margin-top: 0;
    color: #fff;
}

a { text-decoration: none; color: var(--brand-blue); transition: 0.3s; }
a:hover { color: var(--brand-pink); }

ul, ol { padding-left: 1.5rem; }

/* --- UTILITY & COMPONENTS --- */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--brand-pink) 0%, #d50080 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 50px; /* Pill shape */
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 157, 0.4);
    color: #fff;
}

/* --- HEADER & NAV --- */
.site-header {
    background-color: rgba(18, 18, 18, 0.95); /* Agak transparan */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.site-header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.brand-logo {
    height: 65px; 
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
}
.brand-logo:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.site-nav { 
    display: flex; 
    gap: 2.5rem; 
    align-items: center; 
}

.site-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Navigasi Aktif (Menyala) */
.site-nav a.active-link {
    color: var(--brand-pink) !important;
    text-shadow: 0 0 10px rgba(255, 0, 157, 0.6);
}
.site-nav a.active-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-pink);
    box-shadow: 0 0 5px var(--brand-pink);
    border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
    background: radial-gradient(circle at 80% 20%, rgba(0, 176, 255, 0.1) 0%, transparent 50%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 450px;
}
.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--brand-blue);
    border: 2px solid var(--border);
}

/* --- SECTIONS (Services, Pricing, Gallery) --- */
section { padding: 5rem 0; }
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--brand-blue);
}

/* Kartu Layanan & Harga */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    /* Transisi Halus */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-pink);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.card h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.card p { color: var(--text-muted); font-size: 0.95rem; }
.price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-pink) !important;
    margin-top: 1rem;
    display: block;
}

/* Gallery Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.grid img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
    border: 1px solid var(--border);
}
.grid img:hover { transform: scale(1.03); border-color: var(--brand-blue); }

/* --- CONTACT / ORDER FORM --- */
.contact {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    padding-bottom: 2rem;
}
#orderForm {
    max-width: 700px;
    margin: 0 auto;
    background: #181818;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}
#orderForm label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}
#orderForm input, #orderForm select, #orderForm textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}
#orderForm input:focus, #orderForm select:focus, #orderForm textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
}
.contact-info {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border);
}

/* --- FOOTER --- */
.site-footer {
    background-color: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: #888;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-logo { height: 40px; margin-bottom: 1rem; filter: grayscale(100%); opacity: 0.7; }
.footer-col h4 { color: #fff; margin-bottom: 1.5rem; }
.footer-col a { color: #888; display: block; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--brand-blue); }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 2rem; }

/* --- ANIMASI KEYFRAMES --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}
.hero-image {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Scroll Reveal Class */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }

/* ========================================================
   RESPONSIVE / MOBILE MENU (BAGIAN INI YANG DIPERBAIKI)
======================================================== */

@media (max-width: 768px) {
    
    /* Layout Mobile */
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }

    /* 1. Tombol Hamburger (Default di Desktop: none) */
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: #fff;
        cursor: pointer;
        z-index: 1001; /* Pastikan di atas menu overlay */
        position: relative;
    }

    /* 2. Menu Navigasi Mobile (Default: Sembunyi) */
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;    /* Sembunyi di kanan luar layar */
        width: 70%;      /* Lebar 70% dari layar */
        height: 100vh;   /* Tinggi full */
        background-color: #000;
        flex-direction: column; /* Menu ke bawah */
        padding: 80px 20px 20px;
        transition: right 0.4s ease-in-out; /* Animasi geser */
        display: flex;   /* Override default display */
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    /* 3. Class 'nav-open' dari Javascript (Main.js) */
    .site-nav.nav-open {
        right: 0; /* Geser masuk ke layar */
    }

    /* Style Link di Menu Mobile */
    .site-nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #222;
        font-size: 1.1rem;
        width: 100%;
        text-align: left;
    }
    
    /* Kunci Scroll saat Menu Terbuka */
    body.nav-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    /* Sembunyikan Tombol Hamburger di Desktop */
    .nav-toggle { display: none; }
}