/* Reset dan dasar */
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: #f5f8fc;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
}

header img {
    height: 100px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
}
nav a.tentang {
    color: #1a97de;
} /* orange */
nav a.chat {
    color: #f59e0b;
} /* orange */
nav a.layanan {
    color: #22c55e;
} /* green */
nav a.login {
    background-color: #007bff;
    padding: 6px 14px;
    color: white;
    border-radius: 999px;
}

/* Hero Section */

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1rem;
    gap: 1rem;
}

.hero-left {
    flex: 1;
    min-width: 300px;
}

.hero-right {
    flex: 1;
    min-width: 300px;
}

.menu-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-card {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
}

.menu-card:hover {
    transform: translateY(-4px);
}

.menu-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.hero-logo {
    max-width: 400px;
    height: auto;
    margin-top: 0 !important;
    margin-right: 60px;
}

.hero-text {
    max-width: 900px;
    padding: 5px 10px;
    margin-left: 30px;
}

.hero-title {
    font-size: 4.5rem !important; /* Lebih besar */
    color: #007bff;
    font-weight: 800;
    line-height: 0.9;
    text-align: left;
    font-family: "Poppins", sans-serif;
    margin-bottom: 10px;
    margin-left: -30px; /* Dorong ke kiri */
    font-style: italic; /* <- ini bikin miring */
}

.hero-desc {
    text-align: justify !important;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: -30px;
    margin-right: 10px; /* Tambahan biar ada jarak kanan */
    text-justify: inter-word !important; /* Ini bantu browser meratakan antar kata */
}
@media (max-width: 768px) {
    .hero-desc {
        font-size: 1rem;
        text-align: justify; /* <- ini juga harus ada */
    }
}

.gradient-text {
    background: linear-gradient(90deg, #2c6ecb, #4caf50, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Responsive setting */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-title {
        font-size: 3.5rem;
        text-align: center;
    }

    .hero-desc {
        font-size: 1rem;
        text-align: justify;
    }

    .hero-logo {
        width: 250px;
        margin-bottom: 20px;
    }
}

/* Menu Pilihan */
.menu-section {
    background-color: #b2b0b047;
    padding: 50px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 40px 20px;
    padding-bottom: auto; /* Tambahan biar lega sampai bawah */
}

body {
    background-color: #ffffff; /* pastikan body-nya putih */
}
.menu-section h2 {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 60px;
}

.menu-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.menu-card {
    width: 130px;
    height: 180px;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 500;
    padding: 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card img.card-icon {
    width: 80px;
    height: auto;
    margin-bottom: 2px;
}

.menu-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 700;
}

.menu-card p {
    font-size: 10px;
    line-height: 1.5;
}

/* Gradient background for each */
.menu-card.pss {
    background: linear-gradient(to bottom, #35b3ff, #1790dc);
}

.menu-card.pst {
    background: linear-gradient(to bottom, #ffad45, #f5911d);
}

.menu-card.pojok {
    background: linear-gradient(to bottom, #75e052, #46c93a);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-cards {
        flex-direction: column;
        align-items: center;
    }

    .menu-card {
        width: 90%;
        height: auto;
        padding: 30px 20px;
    }
}

.koleksi-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 30px;
    color: #0074cc;
    margin-bottom: 50px;
    font-style: italic;
}
.search-container {
    width: 450px;
    background: #fff;
    border: 2px solid #f4a640;
    border-radius: 999px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto 0 auto !important; /* ubah sini: 20px dari atas */
}

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 10px;
    border-radius: 999px;
}

.search-container i {
    font-size: 30px;
    cursor: pointer;
    padding-left: 10px;
    background: linear-gradient(5deg, #34a853, #4285f4, #f4a640);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: none;
}
.search-container button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.koleksi-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.koleksi-grid img {
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #fff;
    padding: 50px 30px;
    border-top: 1px solid #ccc;
    text-align: center;
}

.footer-content {
    max-width: 1700px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center !important; /* supaya isi flex column di tengah */
    gap: 50px;
    margin-right: 20px !important; /* tambahkan px */
    text-align: center !important; /* pastikan teks juga rata tengah */
}

.footer-top img {
    height: 150px;
    margin-left: 150px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.footer-columns div {
    flex: 1 1 200px;
    margin-bottom: 20px;
}

footer p {
    font-size: 14px;
    color: #555;
}

footer small {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #999;
}

/* Responsive */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        gap: 40px;
        justify-content: center;
        text-align: left;
    }

    .hero-icon {
        width: 250px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
    /* RESPONSIVE DESIGN */
    @media (max-width: 768px) {
        header .container {
            flex-direction: column;
            align-items: flex-start;
        }

        .hero h2 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1rem;
        }

        .sticky-note {
            width: 100%;
            height: auto;
            transform: rotate(0);
        }

        .koleksi-items {
            grid-template-columns: 1fr;
        }

        nav ul {
            flex-direction: column;
            gap: 0.5rem;
            margin-top: 1rem;
        }
    }

    @media (max-width: 480px) {
        .hero h2 {
            font-size: 1.6rem;
        }

        .hero p {
            font-size: 0.9rem;
        }

        .sticky-section {
            padding: 2rem 0.5rem;
        }

        .koleksi h2 {
            font-size: 1.5rem;
        }

        .koleksi-item h4 {
            font-size: 1rem;
        }
    }
}
