* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #fff7df, #ffe8d6, #fef6e4);
    color: #2d2d2d;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    background: #2f5d3a;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff6d5;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}

.nav-icons a {
    color: #fff;
    font-size: 22px;
    margin-left: 18px;
    text-decoration: none;
}

.nav-icons a:hover {
    color: #ffd166;
}

/* HERO */
.hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(rgba(47,93,58,0.78), rgba(47,93,58,0.72)),
        url("../image/Warung.jpeg");
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 18px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    margin-top: 28px;
    background: #ffb703;
    color: #2d2d2d;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.cta-btn:hover {
    background: #fb8500;
    color: white;
}

/* SECTION */
.featured-products,
.categories {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 34px;
    color: #2f5d3a;
    margin-bottom: 35px;
}

/* PRODUK UNGGULAN */
.product-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.product-slide,
.carousel-item {
    background: white;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.product-slide:hover,
.carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.product-slide img,
.carousel-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
}

.product-info h3,
.carousel-item h3 {
    color: #2f5d3a;
    margin-bottom: 8px;
}

/* KATEGORI */
.categories {
    background: #fff4dc;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.category-card {
    text-decoration: none;
    color: white;
}

.image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.category-card:hover .category-img {
    transform: scale(1.12);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.12));
}

.category-info {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

.category-info h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.category-info span {
    color: #ffb703;
    font-weight: 700;
}

/* FOOTER */
footer {
    background: #263f2c;
    color: white;
    padding: 45px 20px 20px;
    text-align: center;
}

footer h3 {
    font-size: 26px;
    margin-bottom: 14px;
    color: #ffb703;
}

footer p {
    margin: 8px 0;
}

.social-links a {
    color: white;
    font-size: 24px;
    margin: 12px;
}

.social-links a:hover {
    color: #ffb703;
}

.copyright {
    margin-top: 25px;
    font-size: 14px;
    color: #ddd;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }

    .section-title {
        font-size: 28px;
    }
}