/*
Theme Name: Yamote Joki Custom
Author: Yamote Joki Team
Description: Tema kustom yang clean, profesional, dan dioptimasi khusus untuk SEO dan konversi layanan.
Version: 1.0
*/

/* =======================================================
   1. VARIABEL & RESET DASAR
======================================================= */
:root {
    --primary-blue: #0A84FF; /* Biru dari logo */
    --primary-purple: #BF5AF2; /* Ungu dari logo */
    --bg-dark: #0F172A; /* Background gelap elegan */
    --text-light: #F8FAFC; /* Teks agar kontras dan mudah dibaca */
    --card-bg: #1E293B; /* Background untuk kotak layanan/kartu */
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* =======================================================
   2. TATA LETAK DASAR (CONTAINER)
======================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =======================================================
   3. HEADER & NAVIGASI
======================================================= */
.site-header {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
}

.main-navigation a:hover {
    color: var(--primary-blue);
}

/* Tombol Gradient (Sesuai Logo) */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(191, 90, 242, 0.4);
    color: #ffffff;
}

/* =======================================================
   4. MENU HAMBURGER (DESKTOP HIDDEN)
======================================================= */
/* Penting: Ini memastikan tombol tidak muncul di layar laptop */
.menu-toggle {
    display: none; 
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
}

/* =======================================================
   5. HALAMAN DEPAN (HERO SECTION)
======================================================= */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, rgba(191, 90, 242, 0.15), transparent 60%);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* =======================================================
   6. LAYANAN JOKI (SERVICES GRID)
======================================================= */
.services-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.section-header p {
    color: #94A3B8;
    margin-top: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(191, 90, 242, 0.3);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-details {
    padding: 24px;
}

.service-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-excerpt {
    color: #94A3B8;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.meta-item {
    font-weight: 500;
}

.meta-item.harga {
    color: #10B981; /* Hijau */
}

.btn-detail {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-detail:hover {
    color: var(--primary-purple);
}

/* =======================================================
   7. FOOTER
======================================================= */
.site-footer {
    background-color: var(--card-bg);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--text-light);
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: #94A3B8;
    max-width: 300px;
}

.footer-nav h4 {
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #94A3B8;
}

.footer-nav a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748B;
    font-size: 14px;
}

/* =======================================================
   8. RESPONSIVITAS (MOBILE & TABLET)
======================================================= */
@media screen and (max-width: 768px) {
    
    /* Tampilkan tombol hamburger */
    .menu-toggle {
        display: block; 
    }

    /* Sembunyikan CTA di header agar lega */
    .header-cta {
        display: none; 
    }

    /* Navigasi Dropdown Mobile */
    .main-navigation {
        display: none; 
        position: absolute;
        top: 80px; 
        left: 0;
        width: 100%;
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    /* Class yang dipicu JavaScript */
    .main-navigation.tampil {
        display: block; 
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .main-navigation a {
        font-size: 18px; 
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem; 
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column; 
        gap: 15px;
    }

    .hero-actions a {
        width: 100%; 
        box-sizing: border-box;
    }

    /* Services & Footer Mobile */
    .services-grid {
        grid-template-columns: 1fr; 
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-brand p {
        margin: 0 auto; 
    }
}
