/*
Theme Name: Kuhle Abrasives Custom
Author: Web Development Team
Version: 1.5
Description: Tema kustom industri SEO Friendly untuk PT. Sentosa Artha Nusantara.
*/

/* =========================================
   1. VARIABEL WARNA & DASAR
   ========================================= */
:root {
    --primary-dark: #1F1F1F;
    --steel-grey: #6E6E6E;
    --industrial-orange: #F05A28;
    --warning-yellow: #FFC400;
    --concrete: #D9D9D9;
    --white: #FFFFFF;
    --navy-blue: #2F4F6F;
}

body {
    margin: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 0;
}

/* =========================================
   2. TOMBOL (BUTTONS)
   ========================================= */
.btn, .btn-detail, .btn-outline, .btn-outline-white {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box; /* Memastikan ukuran tombol presisi */
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    padding: 12px 25px; /* Standar ukuran tombol */
}

/* Tombol Utama (Oranye) */
.btn {
    background: var(--industrial-orange);
    color: var(--white);
    border: none;
}
.btn:hover { background: #d04618; color: var(--white); }

/* Tombol Transparan Garis Putih (Beranda) */
.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* Tombol Detail (Biru Navy) */
.btn-detail {
    background: var(--navy-blue);
    color: var(--white);
    width: 100%;
    font-size: 0.9rem;
    border: none;
}
.btn-detail:hover { background: var(--industrial-orange); color: var(--white); }

/* Tombol Transparan Garis Biru */
.btn-outline {
    background: transparent;
    border: 2px solid var(--navy-blue);
    color: var(--navy-blue);
}
.btn-outline:hover { background: var(--navy-blue); color: var(--white); }

/* Tombol Kontak (WhatsApp & Email) */
.btn-wa { background: #25D366; color: #fff; min-width: 250px; border: none; }
.btn-wa:hover { background: #1da851; }
.btn-email { background: var(--navy-blue); color: #fff; min-width: 250px; border: none; }
.btn-email:hover { background: #1e354a; }

/* =========================================
   3. HEADER & NAVIGASI
   ========================================= */
.site-header {
    background: var(--primary-dark);
    padding: 15px 0;
    border-bottom: 3px solid var(--industrial-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 50px; width: auto; display: block; }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
    padding: 5px;
}

.menu-toggle .bar {
    width: 25px; height: 3px; background-color: var(--white); transition: 0.3s;
}

@media (min-width: 769px) {
    .nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 30px; }
    .nav-menu a { color: var(--white); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 14px; }
    .nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--warning-yellow); }
}

/* =========================================
   4. HERO SLIDER
   ========================================= */
.hero-slider { position: relative; height: 600px; overflow: hidden; background: var(--primary-dark); }
.slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; background-size: cover; background-position: center; }
.slide.active { opacity: 1; }
.slide-overlay { background: rgba(0,0,0,0.65); height: 100%; display: flex; align-items: center; color: var(--white); }
.hero-content h1 { font-size: 3rem; margin: 10px 0; line-height: 1.2; }
.hero-content h2.slide-title { font-size: 2.8rem; color: var(--warning-yellow); }
.hero-content p { font-size: 1.15rem; max-width: 700px; margin-bottom: 30px; opacity: 0.95; line-height: 1.6; }
.badge-year { color: var(--warning-yellow); font-weight: bold; letter-spacing: 2px; }

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================================
   5. VALUE PROPOSITION (USP BAR)
   ========================================= */
.value-bar, .usp-section { background: #f4f4f4; padding: 80px 0; }
.usp-card { background: #FFFFFF; padding: 40px 25px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.usp-card:hover { transform: translateY(-5px); }
.usp-card h4 { color: var(--navy-blue); margin-bottom: 10px; }
.usp-card p { font-size: 0.9rem; color: var(--steel-grey); line-height: 1.5; margin: 0; }

/* =========================================
   6. KARTU PRODUK (PRODUCT GRID)
   ========================================= */
.product-grid-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.home-product-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; border: 1px solid var(--concrete); transition: transform 0.3s; }
.home-product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.card-image { height: 220px; background: #f4f4f4; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--steel-grey); font-weight: bold; }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { font-size: 1.2rem; color: var(--navy-blue); margin-bottom: 10px; }
.card-specs { font-size: 0.8rem; background: #f9f9f9; padding: 10px; border-radius: 4px; margin-bottom: 15px; text-align: center; border: 1px solid #eee; }
.card-content p { font-size: 0.85rem; color: var(--steel-grey); margin-bottom: 20px; line-height: 1.5; }

/* =========================================
   7. FOOTER (COMPACT & ORANGE LINKS)
   ========================================= */
.site-footer {
    background: var(--primary-dark);
    color: var(--industrial-orange);
    padding: 30px 0 0; 
    border-top: 5px solid var(--warning-yellow);
}

.footer-logo { max-height: 45px; margin-bottom: 10px; display: block; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 20px; 
    padding-bottom: 20px; 
}

.footer-col p { margin: 5px 0; font-size: 0.9rem; }

.footer-col h4 {
    color: var(--white);
    margin-top: 0;
    margin-bottom: 15px; 
    font-size: 1rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--warning-yellow); 
}

/* Navigasi Footer & Link Kontak */
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 5px; }

.footer-nav a, .footer-col a { 
    color: var(--industrial-orange) !important; 
    text-decoration: none !important; 
    transition: 0.3s; 
}

.footer-nav a:hover, .footer-col a:hover { 
    color: var(--warning-yellow) !important; 
    padding-left: 5px; 
}

/* Bagian Copyright Bawah */
.footer-bottom {
    background: #151515;
    text-align: center;
    padding: 12px 0; 
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--light-concrete); 
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--industrial-orange); text-decoration: none; font-weight: bold; }
.footer-bottom a:hover { color: var(--warning-yellow); text-decoration: underline; }

/* =========================================
   8. MEDIA QUERIES (MOBILE RESPONSIVE < 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Menu Hamburger */
    .menu-toggle { display: flex; }
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary-dark); border-top: 1px solid var(--steel-grey); }
    .main-navigation.toggled { display: block; }
    .nav-menu { flex-direction: column; padding: 20px; margin: 0; }
    .nav-menu li { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
    
    /* Perbaikan Teks Menu Mobile */
    .nav-menu a { 
        display: block; 
        font-size: 16px; 
        color: var(--industrial-orange) !important; /* Warna Oranye */
        text-decoration: none !important; /* Tanpa Garis Bawah */
        font-weight: 600; /* Semi-bold */
    }

    /* Animasi Hamburger */
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Hero Section & Tombol Beranda */
    .hero-slider { height: 500px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content h2.slide-title { font-size: 1.8rem; }
    .hero-content p { font-size: 0.95rem; }
    
    /* Tombol Hero di HP */
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .hero-btns .btn, 
    .hero-btns .btn-outline-white { 
        width: 100%; 
        margin: 0; 
    }

    /* Layout Umum Mobile */
    .btn-outline, .btn-wa, .btn-email { width: 100%; margin-bottom: 10px; }
    
    /* Footer Mobile */
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 20px;
    }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-logo { margin: 0 auto 10px auto; }
}