
html {
    scroll-behavior: smooth;
}

#bagian-menu {
    scroll-margin-top: 85px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background: #166f69;
    overflow-x: hidden;
}

/* ==========================================
   HEADER
   ========================================== */

header {
    width: 100%;
    height: 85px;
    background: #d85724;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
}

.logo h2 {
    font-family: TT-Ramillas-Trl-Variable-Roman;
    color: white;
    font-size: 27px;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

nav a:hover {
    color: #ffe08a;
}

/* ==========================================
   BANNER UTAMA
   ========================================== */

.menu-banner {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-banner h1 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    color: white;
    font-family: TT-Ramillas-Trl-Variable-Roman;
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    text-shadow: 4px 4px 12px rgba(0,0,0,.5);
    z-index: 2;
}

/* ==========================================
   MENU SECTION (BG KAYU & POPULER)
   ========================================== */

.menu-section {
    position: relative;
    margin-top: 0px;
}

.wood {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}

.menu-special {
    position: absolute;
    top: 60px;
    left: 8%;
    right: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    z-index: 3;
}

.special-img {
    width: 380px;
    height: 380px;
    object-fit: contain;
    flex-shrink: 0;
}

.special-text {
    color: white;
    max-width: 550px;
}

.special-text h2 {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 0 #d85724;
}

.special-text p {
    font-family: Book-Antiqua;
    font-size: 18px;
    line-height: 26px;
}

/* ==========================================
   DAFTAR MENU (GRID SYSTEM)
   ========================================== */

.menu-slider {
    background: #1b8a83;
    padding: 50px 8% 100px 8%;
    text-align: center;
}

.slider-title {
    display: inline-block;
    background: #d85724;
    color: #fff;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 30px;
    margin-bottom: 40px;
}

/* MEMBERIKAN JARAK ATAS UNTUK JUDUL MINUMAN */
.title-minuman {
    margin-top: 70px;
}

/* GRID CONTAINER UTAMA */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* KARTU MENU */
.card {
    background: #f6e7c6;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.card h3 {
    margin-top: 15px;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    text-align: center;
    padding: 0 5px;
}

.card p {
    font-family: Book-Antiqua;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    word-break: break-word;
    padding: 0 4px;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-pattern {
    width: 100%;
    display: block;
}

/* ==========================================
   ANIMASI HALAMAN DIBUKA (MURNI CSS)
   ========================================== */

@keyframes fadeUpMenu {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-section, 
.menu-slider, 
footer, 
.footer-pattern {
    animation: fadeUpMenu 0.8s ease-out forwards;
}