/* --- Global Styles & Variables --- */
:root {
    --primary-color: #D32F2F; /* Merah Cabai */
    --secondary-color: #FFC107; /* Kuning Keemasan */
    --text-color: #4E342E; /* Coklat Tua */
    --bg-color: #FFF8E1; /* Krem */
    --white: #FFFFFF;
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Lobster', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Utility Classes --- */
.content-section {
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* --- Header & Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-button-nav {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
}

.cta-button-nav:hover {
    color: var(--white);
    background-color: #b71c1c;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 90vh;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.fade-in {
    animation: fadeInAnimation 1s ease-in forwards;
}

@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Features Section --- */
.feature-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.feature-item {
    flex-basis: 300px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Menu Section --- */
.menu {
    background-color: var(--white);
}

.menu-item-card {
    display: flex;
    gap: 30px;
    align-items: center;
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.menu-image {
    flex: 1;
    max-width: 300px;
}

.menu-details {
    flex: 2;
}

.menu-details h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--primary-color);
}

.menu-details .description {
    margin-bottom: 15px;
}

.menu-details .capacity {
    font-style: italic;
    color: #6d6d6d;
    margin-bottom: 20px;
}

.menu-cta-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

/* --- Location Section --- */
.location-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.location-details {
    flex: 1;
    min-width: 300px;
}

.location-details h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.location-map {
    flex: 1.5;
    min-width: 300px;
    min-height: 300px;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    text-decoration: none;
    color: var(--text-color);
    margin-right: 15px;
    font-weight: bold;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

/* --- Mobile Responsive --- */
@media(max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .menu-item-card {
        flex-direction: column;
        text-align: center;
    }

    .menu-cta-container {
        justify-content: center;
    }
}
