/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f5f5;
    color:#333;
    line-height:1.6;
}

/* CONTAINER */

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

/* NAVBAR */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(10px);
    z-index:999;
}

.logo{
    color:#fff;
    font-size:24px;
    font-weight:bold;
    letter-spacing:1px;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:25px;
}

.navbar ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
    font-weight:500;
}

.navbar ul li a:hover{
    color:#d4af37;
}

.btn-navbar{
    background:#d4af37;
    color:white;
    text-decoration:none;
    padding:12px 22px;
    border-radius:30px;
    font-weight:bold;
    transition:.3s;
}

.btn-navbar:hover{
    background:#b89325;
}

/* HERO */

.hero{
    height:100vh;
    position:relative;
    overflow:hidden;
}

.hero-img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:2;
}

.hero-content{
    position:relative;
    z-index:3;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:20px;
}

.hero-content h1{
    font-size:70px;
    margin-bottom:15px;
    text-shadow:2px 2px 8px rgba(0,0,0,.5);
}

.hero-content p{
    font-size:24px;
    text-shadow:1px 1px 5px rgba(0,0,0,.5);
}

.hero-sub{
    margin-top:10px;
    margin-bottom:30px;
}

.hero-button{
    display:flex;
    gap:15px;
}

.btn-primary{
    background:#d4af37;
    color:white;
    text-decoration:none;
    padding:15px 35px;
    border-radius:8px;
    transition:.3s;
}

.btn-secondary{
    background:transparent;
    border:2px solid white;
    color:white;
    text-decoration:none;
    padding:15px 35px;
    border-radius:8px;
}

.btn-primary:hover{
    background:#b89325;
}

/* SECTION */

.section{
    padding:90px 0;
}

.section h2{
    text-align:center;
    margin-bottom:40px;
    font-size:36px;
}

.bg-light{
    background:white;
}

/* CONTAINER UTAMA */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* JUDUL UTAMA SECTION */
#tentang h2, #layanan h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
}

#tentang h2::after, #layanan h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d4af37; /* Warna Emas */
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ==========================================
   TENTANG KAMI - GRID SYSTEM & CARD
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch; /* MEMBUAT CARD SAMA TINGGI KE SAMPING */
}

.about-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left; /* Teks rata kiri agar formal */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-top: 4px solid #d4af37; /* Aksen Emas Atas */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12);
}

.about-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* Ikon Bulat Emas */
.card-icon {
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 24px;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desain List Layanan */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    font-size: 15px;
    color: #444;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li i {
    color: #d4af37;
    margin-right: 12px;
    font-size: 14px;
}

/* Badge Visi Misi */
.vismis-box .badge {
    display: inline-block;
    background: #2c3e50;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* ==========================================
   LAYANAN KAMI SECTION (GRID BAWAH)
   ========================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center; /* Khusus card layanan ikon dibuat center agar estetik */
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid #d4af37;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-card i {
    font-size: 40px;
    color: #d4af37;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* PRODUK */

.kategori-title{
    margin:40px 0 20px;
    font-size:28px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.product-card{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.product-info{
    padding:20px;
}

.product-info h4{
    margin-bottom:10px;
}

.product-info p{
    color:green;
    font-weight:bold;
    margin-bottom:15px;
}

.product-info a{
    display:inline-block;
    text-decoration:none;
    background:#d4af37;
    color:white;
    padding:10px 20px;
    border-radius:6px;
}

/* GALERI */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.gallery img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
    transition:.3s;
}

.gallery img:hover{
    transform:scale(1.03);
}

/* ==================== TESTIMONI PREMIUM SYSTEM ==================== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 20px;
    align-items: stretch; /* Memaksa semua kartu sama tinggi ke samping */
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Efek Hover Keren */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Hiasan Ikon Petik Dua di Pojok Kanan Atas */
.quote-icon {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 35px;
    color: rgba(212, 175, 55, 0.1); /* Tipis transparan elegan */
    transition: 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    color: rgba(212, 175, 55, 0.25);
    transform: scale(1.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Variasi Warna Cerah Elegan */
.bg-budi { background: linear-gradient(135deg, #4A90E2, #2c3e50); } 
.bg-andi { background: linear-gradient(135deg, #E67E22, #d35400); }
.bg-salman { background: linear-gradient(135deg, #2ECC71, #27ae60); } /* Warna Hijau Premium */
.bg-faris { background: linear-gradient(135deg, #E74C3C, #c0392b); }  /* Warna Merah Premium */

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}

.user-meta {
    font-size: 13px;
    color: #777777;
}

.verified-tag {
    color: #2ECC71;
    font-weight: 600;
    font-size: 12px;
}

.verified-tag i {
    font-size: 11px;
    margin-right: 2px;
}

/* Bintang FontAwesome */
.stars {
    color: #F1C40F;
    font-size: 12px;
    margin-top: 4px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}
/* KONTAK */

/* ===== HUBUNGI KAMI MODERN (2 KOLOM) ===== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

.contact-form-box, .contact-info-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-info-box {
    background: #2c3e50; /* Warna gelap metalik premium */
    color: #ffffff;
}

.contact-form-box h3, .contact-info-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info-box h3 {
    color: #d4af37; /* Warna Emas */
}

.contact-subtext {
    font-size: 14px;
    color: #b0c4de;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Style Input Form */
.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form input, .modern-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.modern-form input:focus, .modern-form textarea:focus {
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

/* Tombol Kirim */
.btn-submit {
    width: 100%;
    background: #d4af37;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #b89325;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 147, 37, 0.3);
}

/* Kartu Detail Kontak Kanan */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05); /* Efek Kaca Transparan */
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #d4af37;
    transition: 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle i {
    color: #d4af37;
    font-size: 18px;
}

.info-text span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #a0a0a0;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.info-text p {
    font-size: 15px;
    margin: 0 !important;
    font-weight: 500;
    line-height: 1.4;
    color: #ffffff;
}

/* ===== ABOUT MODERN (TAMBAHAN BARU) ===== */

.about-grid {
    display: flex;
    flex-direction: row;   /* Memaksa isi berdampingan ke samping */
    flex-wrap: nowrap;     /* Anti-turun ke bawah, wajib satu baris */
    gap: 25px;
    margin-top: 30px;
    align-items: stretch;   /* Membuat semua card tingginya otomatis sama rata kesamping */
    overflow-x: auto;      /* Biar kalau dibuka di HP tetap rapi dan bisa di-scroll ke samping */
}

/* Tambahkan baris flex ini di dalam .about-card kamu */
.about-card {
    flex: 1;               /* Membagi lebar 3 card secara adil dan rata kesamping */
    min-width: 300px;      /* Lebar minimal tiap card agar teksnya tidak gepeng */
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.about-card{
    background:white;
    padding:25px;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
    position:relative;
    overflow:hidden;
}

.about-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:4px;
    height:100%;
    background:#d4af37;
}

.about-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.about-card h3{
    margin-bottom:10px;
    font-size:20px;
    color:#222;
}

.about-card p{
    text-align:left;
    font-size:15px;
    color:#555;
    line-height:1.7;
    margin-bottom:10px;
}

.about-card ul{
    padding-left:18px;
}

.about-card ul li{
    margin-bottom:6px;
}
/* ==========================================
   KODE KHUSUS RESPONSIVE LAYAR HP (MAX-WIDTH: 768px)
   ========================================== */
@media (max-width: 768px) {
    
    /* 1. Perbaikan Navbar agar tidak menumpuk */
    .navbar {
        padding: 15px 20px; /* Mengecilkan padding agar muat di HP */
        flex-direction: column; /* Membuat logo dan menu berjejer ke bawah jika tidak muat */
        gap: 15px;
    }
    
    .navbar ul {
        gap: 15px;
        flex-wrap: wrap; /* Biar menu otomatis turun rapi kalau layarnya kekecilan */
        justify-content: center;
    }
    
    .navbar ul li a {
        font-size: 14px;
    }

    .btn-navbar {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* 2. Mengecilkan Teks Judul Hero yang Kepotong */
    .hero-content {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 36px; /* Turun dari 70px agar pas di layar HP */
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px; /* Turun dari 24px */
    }

    .hero-button {
        flex-direction: column; /* Tombol jadi atas-bawah, bukan kanan-kiri */
        width: 100%;
        gap: 10px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        text-align: center;
        width: 100%;
    }

    /* 3. Perbaikan Grid Konten & Kontak (Menjadi 1 Kolom ke Bawah) */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Berubah jadi satu baris ke bawah */
        gap: 20px;
    }

    .contact-form-box, .contact-info-box {
        padding: 25px 20px; /* Mengurangi padding box yang terlalu tebal */
    }

    /* 4. Section & Judul Umum */
    .section {
        padding: 50px 0; /* Mengurangi spasi antar section agar tidak terlalu renggang */
    }

    #tentang h2, #layanan h2, .section h2 {
        font-size: 26px; /* Mengecilkan ukuran judul section */
        margin-bottom: 30px;
    }
}
