/* ================= IMPORT FONTS (WAJIB ADA) ================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ================= RESET & MODERN VARIABLES ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palet Warna Profesional 2026 */
    --primary: #4F46E5;       /* Indigo Modern */
    --accent: #0EA5E9;        /* Sky Blue */
    --dark: #0F172A;          /* Slate Dark (Sangat Elegan) */
    --text: #1E293B;          /* Text Utama */
    --text-light: #64748B;    /* Text Keterangan */
    --light: #F8FAFC;         /* Abu-abu Es untuk background */
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Ukuran Modern */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    padding-top: 70px;
    overflow-x: hidden;
    line-height: 1.7; /* Line height lebih renggang agar lebih clean */
}

img {
    max-width: 100%;
    display: block;
    transition: var(--transition);
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem; /* Sedikit lebih besar */
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

/* ================= NAVBAR & NAVIGATION ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-list {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================= HERO SECTION ================= */
.hero {
    height: 100vh;
    margin-top: -75px;
    /* Efek Overlay lebih gelap & profesional */
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6)), 
                url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    max-width: 950px;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
}

.hero .highlight { 
    color: var(--secondary); 
    background: linear-gradient(to right, #60A5FA, #4F46E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 35px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* ================= BUTTONS (MODERN LOOK) ================= */
.btn-primary, .btn-secondary {
    padding: 16px 36px;
    border-radius: var(--radius-md); /* Radius kotak sedikit tumpul, bukan bulat telur */
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    transition: var(--transition);
    margin: 10px 5px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-4px);
    background: var(--dark);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}

/* ================= CARDS & SERVICES ================= */
section { padding: 120px 0; }

.card-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Services Grid */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-box {
    height: 400px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: white;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    background-color: var(--dark);
}

.service-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
}

.service-box-content { z-index: 2; position: relative; }

/* ================= PORTFOLIO (FITUR LENGKAP) ================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    background: var(--light);
}

.portfolio-item img {
    width: 100%; height: 100%; object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px 25px;
    background: linear-gradient(to top, var(--dark), transparent);
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* ================= RESPONSIVE DESIGN ================= */

@media (min-width: 1025px) {
    .services-grid-new { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
    section { padding: 90px 0; }
    .hero h1 { font-size: 3rem; }
    .card-wrapper { flex-wrap: wrap; }
    .card { flex: 1 1 45%; }
    .services-grid-new { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { padding-top: 65px; }
    section { padding: 70px 0; }
    .menu-toggle { display: flex; z-index: 1001; }

    .nav-list {
        position: fixed;
        top: 0; right: -100%;
        width: 85%; height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 35px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -15px 0 40px rgba(0,0,0,0.1);
    }

    .nav-list.active { right: 0; }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero h1 { font-size: 2.4rem; }
    .btn-primary, .btn-secondary { width: 100%; margin: 8px 0; text-align: center; }

    .card-wrapper, .services-grid-new, .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= UTILITIES ================= */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark); /* Pakai warna dark agar terlihat lebih premium */
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    z-index: 999;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-float:hover {
    transform: scale(1.05);
    background: var(--primary);
}