/* assets/css/ezrentcamp.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* NAVBAR */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.2rem;
}

/* HERO SECTION - Dipercantik */
.hero {
    background: linear-gradient(135deg, #159f46 0%, #0d7a35 100%);
    padding: 120px 0 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero h6 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero h8 {
    font-size: 1.1rem;
    opacity: 0.95;
    display: block;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero form {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero input {
    padding: 14px 24px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero button {
    padding: 14px 32px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* KATEGORI */
.kategori-card {
    border-radius: 15px;
    padding: 24px 20px;
    background: white;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    height: 100%;
}

.kategori-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 30px rgba(0,0,0,0.12);
    border-color: #159f46;
}

.kategori-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* PRODUK CARD */
.produk-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    /* Styling tambahan untuk view katalog, jika ini adalah katalog/index */
    display: block; /* Agar bisa berfungsi sebagai link */
    text-decoration: none;
    color: #212529;
}

.produk-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 30px rgba(0,0,0,0.15);
}

.produk-card .product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.produk-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produk-card .product-info {
    padding: 15px;
}

.produk-card .label-recommended {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fce83a; /* Kuning terang */
    color: #1a1a1a;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 10;
}

.produk-card .product-price {
    color: #159f46;
    font-weight: bold;
    margin-top: 5px;
}

.produk-card .product-rating .rating-value {
    color: #ffc107; /* Warna Bintang Kuning */
    font-weight: 600;
}


/* REKOMENDASI PAKET - FULL WIDTH */
.paket-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.paket-container {
    max-width: 100%;
    padding: 0;
}

.paket-card {
    border-radius: 20px;
    padding: 40px 30px;
    background: white;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.paket-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.paket-card.popular {
    background: linear-gradient(135deg, #159f46 0%, #0d7a35 100%);
    color: white;
    border: none;
    position: relative;
    box-shadow: 0 10px 30px rgba(21, 159, 70, 0.3);
}

.paket-card .fs-1 {
    font-size: 4rem !important;
    margin-bottom: 1.5rem;
}

.paket-card h5 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.paket-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.paket-card ul li {
    padding: 8px 0;
    font-size: 0.95rem;
}

.paket-card .fw-bold.fs-5 {
    font-size: 2rem !important;
    font-weight: 700;
    margin: 1.5rem 0;
}

.badge-popular {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* TESTIMONIAL */
.testimonial-card {
    border-radius: 15px;
    padding: 24px;
    background: white;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: 0px 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

/* SECTION */
.section-grey {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-white {
    padding: 80px 0;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #159f46 0%, #0d7a35 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-section h6 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section h8 {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* FOOTER */
footer {
    background: #1a1a1a;
    color: #d0d0d0;
    padding: 60px 0 0 0;
}

footer h5, footer h6 {
    color: #159f46;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer p {
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer a {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #159f46;
}

footer .btn-success {
    transition: all 0.3s ease;
}

footer .btn-success:hover {
    background: #0d7a35;
    transform: translateY(-2px);
}

footer .bi {
    transition: all 0.3s ease;
}

footer a .bi:hover {
    transform: scale(1.2);
}

footer hr {
    border-color: #333;
    margin: 40px 0 20px 0;
}

footer .text-center.text-secondary {
    padding: 20px 0;
}

/* UTILITIES */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* === KATALOG VIEW SPECIFIC STYLES === */
.container-katalog {
    padding: 50px 15px;
}

.container-katalog .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #159f46;
    margin-bottom: 0.5rem;
}

.container-katalog .subtitle {
    color: #6c757d;
    margin-bottom: 30px;
}

.main-content-katalog {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.filter-sidebar {
    width: 280px;
    min-width: 280px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.filter-sidebar h3 {
    border-bottom: 2px solid #159f46;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
}

.filter-group label {
    display: block;
    font-weight: normal;
    font-size: 0.95rem;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    margin-right: 5px;
}

.filter-actions {
    margin-top: 30px;
}

.apply-filter-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #159f46;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}

.reset-filter-btn {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.9rem;
}

.product-list-content {
    flex-grow: 1;
}

.product-count {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.search-sort-bar {
    display: flex;
    flex-direction: column;
}

.search-input {
    flex-grow: 1;
    padding: 8px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    margin-right: 10px;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    cursor: pointer;
    width: 200px; /* Lebar tetap untuk sorting */
}

.full-filter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-sort-bar > form > input[type="text"] {
    margin-bottom: 15px;
}

.hidden-submit-btn {
    display: none; /* Tombol submit di search bar disembunyikan */
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .main-content-katalog {
        flex-direction: column;
    }

    .filter-sidebar {
        width: 100%;
        min-width: auto;
    }

    .search-sort-bar > form {
        flex-direction: column;
    }

    .sort-select {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero h6 {
        font-size: 1.8rem;
    }

    .hero h8 {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .paket-card {
        margin-bottom: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}