/* public/css/layanan.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary: #0f172a;       /* Midnight Navy */
    --accent: #c5a059;        /* Muted Luxury Gold */
    --bg-light: #f8fafc;      /* Soft White */
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
}

/* Reset Base */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), 
                url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 20px 80px;
    text-align: center;
    color: var(--white);
}

.hero-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 15px;
}

.hero-banner p {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Section Layanan */
.layanan-section {
    padding: 80px 0;
    margin-top: -40px; /* Membuat card agak naik ke area hero */
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Card Styling */
.card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.08);
}

.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f1f5f9;
    color: var(--text-muted);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent); /* Menggunakan warna Gold Muted */
    margin-bottom: 25px;
}

/* Buttons */
.btn-modern {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 14px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-modern:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-link {
    color: var(--primary);
    border-radius: 8px;
    padding: 10px 18px;
}
/* Hero */
.hero-subtitle {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

/* Container */
.layanan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tabs */
.category-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 32px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    display: inline-flex;
    gap: 10px;
    transition: 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Cards */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
}

.category-badge.penginapan {
    background: rgba(52, 152, 219, 0.95);
}

.category-badge.alat {
    background: rgba(230, 126, 34, 0.95);
}

.btn-muted {
    background: var(--text-muted);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
