/* Layanan Service Wika - service-centerwika.id */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== TOP BAR ===================== */
.top-bar {
    background: #3a3a3a;
    padding: 8px 0;
    border-bottom: 1px solid #4a4a4a;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-phone,
.top-bar-email {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.top-bar-phone:hover,
.top-bar-email:hover {
    color: #ff6b35;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-sosmed-label {
    color: #aaa;
    font-size: 12px;
}

.top-bar-sosmed {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #555;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.top-bar-sosmed:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

/* ===================== NAVIGATION ===================== */
.main-nav {
    background: #2d2d2d;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-logo { display: flex; align-items: center; gap: 5px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: #ff5500;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu { display: flex; gap: 30px; }

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover { color: #ff6b35; }

.nav-contact {
    background: #ff6b35;
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-contact span { color: #fff; font-size: 12px; }

.nav-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background-image: url('hero-wika.jpg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    overflow: hidden;
    padding-bottom: 90px;
}

/* Overlay gelap dari kiri agar teks terbaca */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right,
        rgba(0,0,0,0.80) 0%,
        rgba(0,0,0,0.60) 35%,
        rgba(0,0,0,0.20) 60%,
        transparent 100%
    );
    z-index: 1;
}

/* ===== HERO ANIMATIONS ===== */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownFade2 {
    from {
        opacity: 0;
        transform: translateY(-80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroContentFade {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== HERO DIAGONAL SHAPES ===== */

/* Tidak dipakai */
.hero-diagonal-1 { display: none; }

/* Segitiga ABU-ABU GELAP layer 1 — lebih lebar */
.hero-diagonal-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: rgba(45, 45, 45, 0.85);
    clip-path: polygon(100% 0%, 0% 0%, 100% 100%);
    z-index: 3;
    animation: slideDownFade 0.9s ease-out both;
}

/* Segitiga ORANGE layer 1 — lebih lebar */
.hero-diagonal-grey {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: rgba(211, 84, 0, 0.92);
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%);
    z-index: 3;
    animation: slideDownFade 0.9s ease-out both;
}

/* Segitiga ABU-ABU layer 2 — lebih sempit, menimpa layer 1 */
.hero-diagonal-2b {
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: rgba(30, 30, 30, 0.80);
    clip-path: polygon(100% 0%, 0% 0%, 100% 100%);
    z-index: 4;
    animation: slideDownFade2 1.1s ease-out 0.15s both;
}

/* Segitiga ORANGE layer 2 — lebih sempit, menimpa layer 1 */
.hero-diagonal-grey2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: rgba(180, 60, 0, 0.95);
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%);
    z-index: 4;
    animation: slideDownFade2 1.1s ease-out 0.15s both;
}

.hero-section .container {
    position: relative;
    z-index: 5;
    width: 100%;
}

/* Layout 2 kolom: teks kiri, foto kanan */
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 70px 0 30px;
}

/* Kiri: teks */
.hero-content {
    flex: 1;
    max-width: 520px;
    color: #fff;
    animation: heroContentFade 0.9s ease-out 0.3s both;
}


.hero-badge {
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-company {
    font-size: 18px;
    font-weight: bold;
    color: #ffd580;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    letter-spacing: 0.5px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-wa {
    background: #25d366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.3s, transform 0.2s;
}

.btn-hero-wa:hover { background: #1fb855; transform: translateY(-2px); }

.btn-hero-call {
    background: #fff;
    color: #1e3a8a;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.3s, transform 0.2s;
}

.btn-hero-call:hover { background: #f0f0f0; transform: translateY(-2px); }

/* Kanan: foto dari galeri */
.hero-photo {
    flex: 0 0 400px;
    position: relative;
    z-index: 6;
}

.hero-photo-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.6),
        0 0 0 3px rgba(255, 107, 53, 0.8);
}

.hero-photo-frame img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* ===================== HERO STATS BAR ===================== */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.92);
    z-index: 7;
}

.hero-stats-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 60px;
    border-right: 1px solid rgba(255,255,255,0.2);
    flex: 1;
    max-width: 260px;
}

.hero-stat-item:last-child { border-right: none; }

.hero-stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #ff6b35;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 14px;
    color: #fff;
    text-align: center;
    font-weight: 500;
}

/* ===================== SECTION COMMON ===================== */
.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

/* ===================== SERVICES ===================== */
.section-services {
    padding: 80px 0;
    background: #f9fafb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.service-icon { font-size: 60px; margin-bottom: 20px; }

.service-card h3 { font-size: 24px; color: #1e3a8a; margin-bottom: 15px; line-height: 1.4; }

.service-card p { color: #666; line-height: 1.8; }

.service-price {
    display: inline-block;
    background: #fff3ee;
    color: #ff5500;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    margin: 15px 0 10px;
    border: 1px solid #ff5500;
}

.service-btn {
    display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    transition: background 0.3s, transform 0.2s;
}

.service-btn:hover { background: #1fb855; transform: translateY(-2px); }

/* ===================== ABOUT ===================== */
.section-about { padding: 80px 0; background: #fff; }

.about-content { max-width: 900px; margin: 0 auto; }

.about-text p { font-size: 16px; line-height: 1.8; color: #555; margin-bottom: 20px; text-align: justify; }

.contact-box {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 25px;
    margin-top: 40px;
    text-align: center;
}

.contact-label { font-size: 16px; color: #666; margin-bottom: 10px; }

.contact-phone {
    font-size: 32px;
    font-weight: bold;
    color: #1e3a8a;
    text-decoration: none;
    display: block;
}

.contact-phone:hover { color: #3b82f6; }

/* ===================== CTA ===================== */
.section-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    text-align: center;
}

.section-cta h2 { font-size: 42px; font-weight: bold; margin-bottom: 15px; }

.cta-subtitle { font-size: 24px; margin-bottom: 10px; }

.cta-desc { font-size: 18px; opacity: 0.9; margin-bottom: 35px; }

.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn-cta-wa {
    background: #25d366;
    color: #fff;
    padding: 16px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
}

.btn-cta-wa:hover { background: #1fb855; transform: translateY(-2px); }

.btn-cta-call {
    background: #fff;
    color: #1e3a8a;
    padding: 16px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
}

.btn-cta-call:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ===================== WHY ===================== */
.section-why { padding: 80px 0; background: #f9fafb; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.why-card:hover { transform: translateY(-5px); }

.why-icon { font-size: 50px; margin-bottom: 20px; }

.why-card h3 { font-size: 20px; color: #1e3a8a; margin-bottom: 15px; }

.why-card p { color: #666; line-height: 1.8; }

/* ===================== BANNER ===================== */
.section-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #cc3d00 0%, #ff5500 100%);
    color: #fff;
    text-align: center;
}

.section-banner h2 { font-size: 32px; font-weight: bold; margin-bottom: 15px; line-height: 1.4; }

.banner-subtitle { font-size: 24px; font-weight: bold; }

/* ===================== GALERI ===================== */
.section-galeri { padding: 80px 0; background: #fff; }

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 50px;
    overflow: hidden;
}

.galeri-item {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    background: #f0f0f0;
    overflow: hidden;
    /* Animasi dihandle via JavaScript */
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
    border-radius: 10px;
}

.galeri-item:hover img { transform: scale(1.05); }

/* ===================== ARTIKEL ===================== */
.section-artikel { padding: 80px 0; background: #f9fafb; }

.artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.artikel-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.artikel-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.artikel-img {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 40px;
    text-align: center;
    font-size: 60px;
}

.artikel-content { padding: 25px; }

.artikel-date { font-size: 13px; color: #ff6b35; font-weight: bold; }

.artikel-content h3 { font-size: 18px; color: #1e3a8a; margin: 10px 0 15px; line-height: 1.4; }

.artikel-content p { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 20px; }

.artikel-btn {
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
}

.artikel-btn:hover { background: #e55a25; }

/* ===================== TESTIMONI ===================== */
.section-testimonial { padding: 80px 0; background: #fff; }

.testimonial-desc { text-align: center; color: #666; margin-bottom: 50px; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background: #f0f9ff;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-stars { font-size: 18px; margin-bottom: 15px; }

.testimonial-card p { font-size: 16px; line-height: 1.8; color: #555; font-style: italic; margin-bottom: 20px; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1e3a8a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.testimonial-author strong { display: block; color: #1e3a8a; font-size: 15px; }

.testimonial-author span { font-size: 13px; color: #888; }

/* ===================== KONTAK ===================== */
.section-kontak { padding: 80px 0; background: #f9fafb; }

.kontak-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.kontak-card {
    background: #fff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.kontak-card:hover { transform: translateY(-5px); }

.kontak-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }

.kontak-card h3 { font-size: 18px; color: #1e3a8a; margin-bottom: 10px; }

.kontak-card a { color: #ff6b35; text-decoration: none; font-weight: bold; font-size: 16px; }

.kontak-card a:hover { color: #e55a25; }

.kontak-card p { color: #555; font-size: 15px; line-height: 1.6; }

/* ===================== FOOTER ===================== */
.site-footer {
    background: #1e293b;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.site-footer p { margin: 5px 0; font-size: 14px; }

.site-footer a { color: #3b82f6; text-decoration: none; }

.site-footer a:hover { color: #60a5fa; }

/* ===================== FLOATING BUTTONS ===================== */
.floating-wa,
.floating-phone {
    position: fixed;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: all 0.3s;
    overflow: hidden;
}

.floating-wa::before, .floating-wa::after,
.floating-phone::before, .floating-phone::after {
    display: none !important;
    content: none !important;
}

.floating-wa { bottom: 20px; background: #25d366; }
.floating-wa:hover { background: #1fb855; transform: scale(1.1); }

.floating-phone { bottom: 90px; background: #3b82f6; }
.floating-phone:hover { background: #2563eb; transform: scale(1.1); }

/* ===================== RESPONSIVE MOBILE ===================== */
@media (max-width: 768px) {
    .top-bar-email { display: none; }
    .top-bar-sosmed-label { display: none; }

    .nav-toggle { display: flex; }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        order: 3;
        background: #3a3a3a;
        border-radius: 5px;
        overflow: hidden;
    }

    .nav-menu.open { display: flex; }

    .nav-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid #4a4a4a;
        font-size: 15px;
    }

    .nav-menu a:last-child { border-bottom: none; }

    .nav-contact { display: none; }

    .hero-title { font-size: 28px; }

    .hero-inner {
        flex-direction: column;
        padding: 40px 0 20px;
        gap: 20px;
        min-height: auto;
    }

    .hero-content {
        flex: unset;
        max-width: 60%;
        padding-right: 0;
    }

    .hero-badge { font-size: 13px; }
    .hero-company { font-size: 15px; }
    .hero-desc { font-size: 14px; }

    .hero-photo { display: none; }
    .hero-photo-frame img { height: 220px; }

    /* Mobile: abu-abu atas kanan, orange bawah kanan — persis seperti desktop */
    .hero-diagonal-1 { display: none; }

    .hero-diagonal-2 {
        display: block;
        width: 65%;
        height: 100%;
        top: 0; right: 0;
        clip-path: polygon(100% 0%, 0% 0%, 100% 100%);
        background: rgba(45, 45, 45, 0.85);
    }

    .hero-diagonal-grey {
        display: block;
        width: 65%;
        height: 100%;
        top: 0; right: 0;
        bottom: auto;
        clip-path: polygon(0% 100%, 100% 100%, 100% 0%);
        background: rgba(211, 84, 0, 0.92);
    }

    .hero-diagonal-2b {
        display: block;
        width: 48%;
        height: 100%;
        top: 0; right: 0;
        clip-path: polygon(100% 0%, 0% 0%, 100% 100%);
        background: rgba(30, 30, 30, 0.80);
    }

    .hero-diagonal-grey2 {
        display: block;
        width: 48%;
        height: 100%;
        top: 0; right: 0;
        bottom: auto;
        clip-path: polygon(0% 100%, 100% 100%, 100% 0%);
        background: rgba(180, 60, 0, 0.95);
    }

    .hero-buttons { flex-direction: column; }

    .btn-hero-wa, .btn-hero-call { text-align: center; }

    .hero-stats-grid { flex-wrap: wrap; }

    .hero-stat-item {
        padding: 16px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        max-width: 100%;
        width: 100%;
    }

    .hero-stat-item:last-child { border-bottom: none; }

    .hero-stat-number { font-size: 28px; }

    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 16px; }

    .services-grid,
    .why-grid,
    .testimonial-grid,
    .artikel-grid,
    .kontak-grid { grid-template-columns: 1fr; }

    .contact-phone { font-size: 24px; }

    .section-cta h2 { font-size: 28px; }

    .cta-buttons { flex-direction: column; align-items: center; }

    .galeri-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .galeri-grid { grid-template-columns: 1fr; }
}
