/* Reset & Base */
        * { margin:0; padding:0; box-sizing:border-box; font-family: 'Roboto', sans-serif; }
        body { line-height: 1.6; color: #333; background-color: #fdfdfd; }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; display: block; }

        /* Header */
        header { background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top:0; z-index: 100; }
        .container { width: 90%; max-width: 1200px; margin: auto; }
        nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
        .logo { font-weight: 700; font-size: 1.5rem; color: #007BFF; }
        .nav-links { display: flex; gap: 1.5rem; }
        .nav-links a:hover { color: #0056b3; transition: 0.3s; }

        /* Hero Section */
        .hero { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 4rem 1rem; background: url('/img/home.jpg') center/cover no-repeat; color: #fff; }
        .hero h1 { font-size: 2.5rem; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
        .hero p { font-size: 1.2rem; margin-bottom: 2rem; }
        .btn-primary { background: #007BFF; color: #fff; padding: 0.8rem 2rem; border-radius: 5px; font-weight: 500; transition: 0.3s; }
        .btn-primary:hover { background: #0056b3; }

        /* Sections */
        section { padding: 4rem 1rem; }
        h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; color: #007BFF; }
        h3 { margin-bottom: 1rem; color: #333; }

        /* Layanan */
.services { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem; 
}

.service-card { 
    background: #fff; 
    padding: 2rem; 
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    text-align: center; 
    transition: transform 0.3s; 
}

.service-card:hover { 
    transform: translateY(-5px); 
}

/* Gambar 1:1 otomatis */
.service-card img { 
    width: 100%;       /* lebar mengikuti card */
    aspect-ratio: 1 / 1; /* rasio 1:1 */
    object-fit: cover; /* gambar terpotong tapi proporsional */
    margin-bottom: 1rem; 
    
}

        /* Harga */
        .price-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
        .price-table th, .price-table td { border: 1px solid #ddd; padding: 1rem; text-align: center; }
        .price-table th { background: #007BFF; color: #fff; }

        /* Tips Laundry */
.tips { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
}

.tip-card { 
    background: #fff; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    transition: transform 0.3s; 
    display: flex; 
    flex-direction: column;
}

.tip-card img { 
    width: 100%; 
    height: 180px; 
    object-fit: cover; 
}

.tip-card .content { 
    padding: 1rem; 
    flex: 1; /* agar konten fleksibel */
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
}

.tip-card:hover { 
    transform: translateY(-5px); 
}

/* Tombol Baca Selengkapnya */
.tip-card .btn-readmore {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.tip-card .btn-readmore:hover {
    background-color: #0056b3;
}
        /* Lokasi */
        .map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

        /* Testimoni */
        .testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
        .testimonial-card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
        .testimonial-card p { font-style: italic; margin-bottom: 1rem; }
        .testimonial-card h4 { text-align: right; color: #007BFF; }

        /* Footer */
        footer { background: #007BFF; color: #fff; padding: 2rem 1rem; }
        footer a { color: #fff; }
        footer .social { display: flex; gap: 1rem; margin-top: 1rem; }
        footer p { margin-top: 1rem; font-size: 0.9rem; }

        /* Responsive */
        @media(max-width:768px){
            nav { flex-direction: column; gap: 1rem; }
        }

        /* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #007BFF;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Responsive mobile */
@media(max-width:768px){
    nav {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed; /* agar menutertutup seluruh layar */
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        box-shadow: -4px 0 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid #ddd;
    }
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Container sempit */
.article-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #777;
}

.article-title {
    font-size: 2rem;
    color: #007BFF;
    margin-bottom: 0.5rem;
}

.article-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
}

.article-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-content ul {
    padding-left: 20px; /* jarak dari tepi container ke list */
}

.article-content li {
    margin-left: 10px; /* menjorokkan item list lebih ke dalam */
}

.article-content h2 h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #007BFF;
}


/* Box ABC */
.box-abc {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.box-abc ul {
    padding-left: 1.5rem;      
    list-style-type: disc;     
    color: #8B0000;           
}

.box-abc ul li a {
    color: #8B0000;          
    text-decoration: none;    
}

.box-abc ul li a:hover {
    text-decoration: underline;
}
/* FAQ */
.faq-section {
    margin-top: 2rem;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.faq-item h4 {
    cursor: pointer;
    color: #007BFF;
}

.faq-item p {
    display: none;
    margin-top: 0.5rem;
    line-height: 1.6;
}