* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #1b1b1b;
    color: #fff;
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: 0.4s;
}

nav.scrolled {
    background: #0f0f0f;
}

nav h1 {
    color: #cfa670;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    color: #cfa670;
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.8)),
    url("https://images.unsplash.com/photo-1509042239860-f550ce710b93") center/cover;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.hero-content {
    max-width: 600px;
    animation: fadeUp 1.5s ease;
}

.hero h2 {
    font-size: 48px;
    color: #cfa670;
}

.hero p {
    margin: 20px 0 30px;
}

.hero a {
    padding: 14px 32px;
    background: #cfa670;
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* SECTION */
section {
    padding: 100px 80px;
}

/* ABOUT */
.about {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about img {
    width: 50%;
    border-radius: 20px;
    opacity: 0;
    transform: translateX(-100px);
    transition: 1s;
}

.about-text {
    opacity: 0;
    transform: translateX(100px);
    transition: 1s;
}

.about.show img,
.about.show .about-text {
    opacity: 1;
    transform: translateX(0);
}

.ig-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: linear-gradient(45deg,#f09433,#dc2743,#cc2366);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
}

/* MENU */
.menu-card {
    background: #1f1f1f;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-info {
    padding: 20px;
    text-align: left;
}

.menu-info h3 {
    color: #cfa670;
    margin-bottom: 8px;
}

.menu-info p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 12px;
}

.price {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.menu-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.menu-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

@media (max-width: 768px) {
    .menu-card img {
        height: 130px;
    }
}


/* TABLET */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* ✅ 2 KOLOM */
        gap: 15px;
    }
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* TABLET */
@media (max-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr); /* ✅ 2 KOLOM */
        gap: 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-card p {
        font-size: 13px;
    }

    .stars {
        font-size: 16
    }
}

.rating-summary {
    color: #f5c542;
    margin-bottom: 30px;
    font-size: 16px;
}

/* BINTANG RATING JADI 2 BARIS */
.stars {
    display: flex;
    flex-wrap: wrap;          /* IZIN PINDAH BARIS */
    justify-content: center;
    gap: 4px;
    max-width: 60px;          /* KUNCI LEBAR → AUTO JADI 2 BARIS */
    margin: 0 auto 15px;
    color: #f5c542;
    font-size: 18px;
}

/* JUDUL KATEGORI MENU */
.menu-category {
    margin: 90px 0 40px;
    text-align: center;          /* TENGAH */
    font-size: 34px;             /* LEBIH BESAR */
    font-weight: 600;
    color: #cfa670;
    letter-spacing: 2px;
    position: relative;
}

/* GARIS BAWAH ELEGAN */
.menu-category::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #cfa670;
    margin: 15px auto 0;
    border-radius: 5px;
}


/* REVIEW SECTION */
.review {
    background: #1b1b1b;
    text-align: center;
}

.review h2 {
    color: #cfa670;
    margin-bottom: 40px;
    font-size: 36px;
}

/* FORM */
.comment-form {
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-form input,
.comment-form textarea {
    padding: 15px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 15px;
}

.comment-form textarea {
    resize: none;
    height: 120px;
}

.comment-form button {
    padding: 14px;
    border: none;
    border-radius: 30px;
    background: #cfa670;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.comment-form button:hover {
    transform: scale(1.05);
}

/* TESTIMONIALS */
.testimonials {
    background: #1b1b1b;
    text-align: center;
}

.testimonials h2 {
    color: #cfa670;
    font-size: 36px;
    margin-bottom: 50px;
}

/* GRID */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD */
.testimonial-card {
    background: #121212;
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    animation: fadeUp 1s ease;.testimonial-card {
    opacity: 0;
    transform: translateY(40px);
}

}

.testimonial-card:hover {
    transform: translateY(-12px);
}

/* STARS */
.stars {
    color: #f5c542;
    font-size: 22px;
    margin-bottom: 15px;
}

/* TEXT */
.testimonial-card p {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: #cfa670;
    font-weight: normal;
}



/* LOCATION */
.location {
    background: #121212;
    text-align: center;
}

.map-container {
    max-width: 900px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    background: #0f0f0f;
    color: #aaa;
}

/* ANIMATION */
@keyframes fadeUp {
    from {opacity:0; transform:translateY(40px);}
    to {opacity:1; transform:translateY(0);}
}

/* RESPONSIVE */
@media(max-width:768px){
    nav, section {padding: 20px;}
    .about {flex-direction: column;}
    .about img {width: 100%;}
}
