/* ========================================= */
/* RESET PONDASI UTAMA */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
}

/* ========================================= */
/* STYLE NAVBAR & WIKA MEGA MENU (FIX HOVER) */
/* ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
}

.logo a, .logo a:visited {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo a span, .logo a span:visited {
    color: #38bdf8 !important;
}

.logo .tagline {
    font-size: 0.68rem;
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 0.8px;
    margin-top: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    white-space: nowrap;
}

nav ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #38bdf8;
}

.btn-kontak {
    background-color: #0284c7;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap !important;
    display: inline-block;
    transition: 0.3s;
}

.btn-kontak:hover {
    background-color: #0369a1;
}

/* Standar Dropdown Biasa (Katalog Produk) */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    padding: 8px 0;
    list-style: none;
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #cbd5e1 !important;
    font-size: 0.88rem;
    white-space: nowrap;
    text-align: left;
}

.dropdown-menu li a:hover {
    background-color: #0f172a;
    color: #38bdf8 !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ========================================= */
/* WIKA STYLE MEGA MENU (LAYANAN & JASA) */
/* ========================================= */
.mega-dropdown {
    position: relative;
}

.mega-menu-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    padding: 25px;
    margin-top: 12px;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 25px;
}

/* Jembatan transparan agar kursor tidak putus hover-nya */
.mega-menu-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.mega-dropdown:hover .mega-menu-container,
.mega-menu-container:hover {
    display: grid;
}

.mega-links-col h4 {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #334155;
}

.mega-links-col .mega-item {
    display: block;
    padding: 12px 15px;
    color: #cbd5e1 !important;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    margin-bottom: 4px;
    text-align: left;
}

.mega-links-col .mega-item:hover,
.mega-links-col .mega-item.active {
    background-color: #0f172a;
    color: #38bdf8 !important;
    padding-left: 20px;
}

.mega-preview-col {
    background-color: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
}

.mega-preview-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #334155;
}

.mega-preview-info {
    padding: 20px;
}

.mega-preview-info h3 {
    font-size: 1.1rem;
    color: #38bdf8;
    margin-bottom: 10px;
}

.mega-preview-info p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ========================================= */
/* HERO SECTION & SLIDESHOW BACKGROUND */
/* ========================================= */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.88)), 
                url('HT 1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-image 1s ease-in-out;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-buttons a {
    text-decoration: none;
    display: inline-block;
}

.btn-utama, .btn-utama:visited {
    background-color: #38bdf8;
    color: #0f172a !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-utama:hover {
    background-color: #0284c7;
    color: #ffffff !important;
}

.btn-sekunder, .btn-sekunder:visited {
    border: 1px solid #38bdf8;
    color: #38bdf8 !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-sekunder:hover {
    background-color: #334155;
    border-color: #38bdf8;
}

/* ========================================= */
/* CONTAINER & SECTION UMUM */
/* ========================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background-color: #38bdf8;
    margin: 8px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: #94a3b8;
    font-size: 1rem;
}

/* ========================================= */
/* SECTION TENTANG (GAYA KORPORAT WIKA) */
/* ========================================= */
.tentang {
    padding: 80px 0;
    background-color: #1e293b;
}

.tentang-grid-wika {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    background-color: #0f172a;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #334155;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.tentang-teks h3 {
    font-size: 1.5rem;
    color: #38bdf8;
    margin-bottom: 20px;
    line-height: 1.3;
}

.tentang-teks p {
    color: #cbd5e1;
    font-size: 1.02rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.tentang-teks p:last-child {
    margin-bottom: 0;
}

.tentang-img-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #475569;
    background-color: #0f172a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.tentang-img-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tentang-img-card:hover img {
    transform: scale(1.03);
}

.img-caption {
    background-color: rgba(15, 23, 42, 0.9);
    color: #94a3b8;
    font-size: 0.82rem;
    text-align: center;
    padding: 10px;
    border-top: 1px solid #334155;
    font-weight: 500;
}

/* ========================================= */
/* SECTION LAYANAN UTAMA */
/* ========================================= */
.layanan {
    padding: 80px 0;
    background-color: #0f172a;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.layanan-card {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #334155;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.layanan-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    box-shadow: 0 12px 25px rgba(56, 189, 248, 0.15);
}

.layanan-card h3 {
    font-size: 1.3rem;
    color: #38bdf8;
    margin-bottom: 15px;
}

.layanan-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================= */
/* SECTION PRODUK & SISTEM RADIO */
/* ========================================= */
.produk-sistem {
    padding: 80px 0;
    background-color: #1e293b;
}

.sistem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.sistem-card {
    background-color: #0f172a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.sistem-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.badge {
    display: inline-block;
    background-color: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.sistem-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.sistem-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================= */
/* SECTION KATALOG PRODUK */
/* ========================================= */
.katalog-produk {
    padding: 80px 0;
    background-color: #0f172a;
}

.kategori-block {
    margin-bottom: 50px;
}

.kategori-title {
    font-size: 1.4rem;
    color: #38bdf8;
    margin-bottom: 20px;
    border-left: 4px solid #38bdf8;
    padding-left: 12px;
}

.katalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.produk-card {
    background-color: #1e293b;
    border-radius: 12px;
    border: 1px solid #334155;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.produk-card:hover {
    transform: translateY(-7px);
    border-color: #38bdf8;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
}

.produk-img {
    background-color: #0b1329;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #334155;
}

.tag-kategori {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #38bdf8;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.produk-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.produk-info h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.spesifikasi {
    color: #38bdf8;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.deskripsi-ringkas {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-detail {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-detail:hover {
    background-color: #38bdf8;
    color: #0f172a;
}

/* ========================================= */
/* WIKA-STYLE SERVICE DETAIL SHOWCASE CSS */
/* ========================================= */
.wika-detail-section {
    background-color: #0f172a;
    border-top: 2px solid #334155;
    padding-bottom: 80px;
}

.wika-detail-hero {
    padding: 80px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #334155;
    margin-bottom: 50px;
}

.wika-badge {
    display: inline-block;
    background-color: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.wika-detail-hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.wika-detail-hero p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.wika-detail-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    background-color: #1e293b;
    padding: 45px;
    border-radius: 12px;
    border: 1px solid #334155;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.wika-text-box h3 {
    font-size: 1.4rem;
    color: #38bdf8;
    margin-bottom: 15px;
}

.wika-text-box p {
    color: #cbd5e1;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.wika-features-list {
    list-style: none;
    padding: 0;
}

.wika-features-list li {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.wika-img-box {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #475569;
    background-color: #0f172a;
}

.wika-img-box img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* ========================================= */
/* SECTION PORTOFOLIO & KONTAK */
/* ========================================= */
.portofolio {
    padding: 80px 0;
    background-color: #1e293b;
}

.portofolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portofolio-card {
    background-color: #0f172a;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #334155;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.portofolio-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.portofolio-info h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.portofolio-info p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.kontak {
    padding: 80px 0;
    background-color: #0f172a;
}

.kontak-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.kontak-info {
    background-color: #1e293b;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #334155;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.kontak-info h3 {
    font-size: 1.4rem;
    color: #38bdf8;
    margin-bottom: 20px;
}

.kontak-info p {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.kontak-info p strong {
    color: #ffffff;
}

/* ========================================= */
/* FOOTER & WHATSAPP FLOAT */
/* ========================================= */
footer {
    background-color: #020617;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #1e293b;
}

footer p {
    color: #64748b;
    font-size: 0.9rem;
}

.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.12);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ========================================= */
/* RESPONSIVE LAYAR HP / TABLET */
/* ========================================= */
@media (max-width: 900px) {
    .tentang-grid-wika,
    .wika-detail-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .tentang-img-card img,
    .wika-img-box img {
        height: 240px;
    }
    
    .mega-menu-container {
        display: none !important;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-utama, .btn-sekunder {
        width: 100%;
        max-width: 250px;
    }

    .wa-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .wa-float svg {
        width: 26px;
        height: 26px;
    }
}