/* style.css */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f4f6f9; padding-top: 70px; /* Ruang untuk sticky nav */ }

/* Container */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* Navigasi Sticky (Melayang di Atas) */
.top-nav { background: #fff; position: fixed; top: 0; left: 0; width: 100%; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.2rem; font-weight: 800; color: #0056b3; text-decoration: none; }
.logo span { color: #ffc107; }
.nav-links a { text-decoration: none; color: #333; font-weight: 600; margin-left: 20px; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover, .nav-links active { color: #0056b3; border-bottom: 2px solid #ffc107; padding-bottom: 5px; }
.nav-links a.btn-wa-nav { background: #25D366; color: white; padding: 8px 15px; border-radius: 20px; border-bottom: none; }
.nav-links a.btn-wa-nav:hover { background: #128C7E; }

/* Header Halaman (Hero) */
.hero-section { background: linear-gradient(135deg, #0056b3 0%, #003d7a 100%); color: white; padding: 4rem 1rem; text-align: center; margin-bottom: 30px; border-bottom: 5px solid #ffc107; }
.hero-section h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero-section p { font-size: 1.1rem; opacity: 0.9; }

/* logo */
.logo { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
}

.logo img { 
    height: 45px; /* Ukuran tinggi logo, sesuaikan jika perlu */
    margin-right: 10px; /* Jarak logo ke teks */
    border-radius: 5px; /* Opsional: Jika logo kotak, biarkan rapi */
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0056b3;
    line-height: 1.2; /* Agar teks rapat vertikal */
}

.logo-text span { 
    color: #ffc107; 
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .logo img { height: 35px; margin-right: 5px; }
    .logo-text { font-size: 1rem; }
    /* ... kode responsive lainnya tetap ... */
}

/* Cards & Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin: 40px 0; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; border: 1px solid #eee; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.card-img { width: 100%; height: 220px; object-fit: cover; background-color: #ddd; }
.card-body { padding: 20px; }
.tag { display: inline-block; padding: 4px 12px; font-size: 0.75rem; border-radius: 20px; font-weight: bold; margin-bottom: 8px; }
.tag-gudang { background: #e3f2fd; color: #1565c0; }
.tag-ruko { background: #e8f5e9; color: #2e7d32; }
.tag-tanah { background: #fff3e0; color: #ef6c00; }
.card-title { font-size: 1.2rem; margin-bottom: 5px; color: #000; }
.card-price { font-size: 1.4rem; color: #d32f2f; font-weight: bold; margin: 10px 0; }
.card-desc { font-size: 0.9rem; color: #555; margin-bottom: 15px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 25px; text-decoration: none; border-radius: 5px; font-weight: bold; font-size: 0.95rem; transition: 0.3s; cursor: pointer; border: none;}
.btn-primary { background: #0056b3; color: white; }
.btn-warning { background: #ffc107; color: #000; }
.btn-success { background: #25D366; color: white; }
.btn-outline { background: transparent; border: 1px solid #0056b3; color: #0056b3; }
.btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Content Box (Untuk Blog, Testimoni, Kontak) */
.content-box { background: white; padding: 40px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 30px; }
.section-title { font-size: 1.8rem; color: #0056b3; margin-bottom: 20px; border-bottom: 3px solid #ffc107; display: inline-block; padding-bottom: 5px; }

/* Footer */
footer { background: #222; color: #ccc; text-align: center; padding: 30px 0; margin-top: 50px; font-size: 0.9rem; }
footer a { color: #ffc107; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .nav-content { flex-direction: column; height: auto; padding: 10px 0; }
    .nav-links { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; }
    .nav-links a { margin: 5px 10px; font-size: 0.85rem; }
    body { padding-top: 130px; } /* Adjust body padding for taller mobile nav */
    .hero-section h1 { font-size: 1.8rem; }
}