/* Reset dan style dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 70px;
}

/* Header dan navigasi */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 8.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 100px;
}

.menu-container {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style-type: none;
    margin-right: 1rem;
    padding: 0;
}

.menu ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0 2rem;
}

.menu li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: rgb(236, 41, 41);
}

.menu li a.active {
    color: #fac228;
}

.menu-container-mobile {
    display: none;
    width: 100%;
}

.dropdown-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Tombol-tombol */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fac228;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.btn:hover {
    color: rgb(236, 41, 41);
}

.reservasi-btn {
    font-size: 18px;
}

.btn-secondary {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    text-align: center;
}

.btn-primary {
    background-color: #fac228;
    color: #1f1f1f;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e0a91f;
    color: rgb(255, 255, 255);
}

/* Konten utama */
main, section#reservasi {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

h1, h2 {
    color: #8B4513;
    margin-bottom: 1rem;
}

/* Beranda Hero Content */
.hero-section {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 25px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}

.hero-content {
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.hero-content .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fac228;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-content .btn:hover {
    color: rgb(236, 41, 41);
}

/* Menu */
#menu, .menu-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.kategori-filter {
    margin-bottom: 20px;
    text-align: center;
}

.kategori-filter a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.kategori-filter a.active {
    background-color: #e0a91f;
    color: white;
    border-color: #e0a91f;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.menu-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 325px;
    object-fit: cover;
}

.menu-item-info {
    padding: 15px;
}

.menu-item-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.menu-item-info p {
    margin-bottom: 10px;
}

.harga {
    font-weight: bold;
    color: #e74c3c;
    display: block;
    margin-top: 10px;
}

/* Tentang Kami */
.tentang-kami {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tentang-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.restaurant-image {
    width: 40%;
    margin-right: 20px;
    border-radius: 5px;
}

.tentang-text {
    flex: 1;
}

/* Reservasi */
#reservasi {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

#reservasi h2 {
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

#menuContainer {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 15px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-button.active {
    background-color: #e0a91f;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.menu-item {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-options {
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 25%;
}

.qty-input {
    width: 50px;
    margin-left: 10px;
}

.pedas-options {
    margin-top: 10px;
    padding-left: 20px;
}

.pedas-options label {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
}

.pedas-checkbox {
    margin-right: 5px;
}

.sambal-options {
    margin-left: 20px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sambal-options label {
    display: block;
    margin-bottom: 5px;
}

.sambal-checkbox {
    margin-right: 5px;
}

#ketentuan-reservasi {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

#ketentuan-reservasi h3 {
    color: #4a4a4a;
    margin-bottom: 15px;
}

#ketentuan-reservasi ul {
    padding-left: 20px;
}

#ketentuan-reservasi li {
    margin-bottom: 10px;
}

.ketentuan-list ul.no-bullet {
    list-style-type: none;
    padding-left: 0;
}

.ketentuan-list ul.no-bullet li {
    margin-bottom: 10px;
    word-break: break-word;
}

/* Footer */
footer {
    background-color: #fac228;
    color: #000;
    text-align: center;
    padding: 1rem 0;
}

footer a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

/* Responsif */
@media (max-width: 768px) {
    main {
        padding-left: 11px;
        padding-right: 11px;
    }

    header {
        padding: 0.5rem 1rem;
    }

    .header-content {
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 80px;
    }

    .menu-container {
        display: none;
    }

    .dropdown-toggle {
        display: block;
    }

    .menu-container-mobile {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .menu-container-mobile.active {
        display: block;
    }

    .menu-container-mobile nav {
        display: block;
    }

    .menu-mobile ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .menu-mobile ul li {
        margin: 10px 0;
        text-align: center;
    }

    .btn {
        margin-top: 1rem;
    }

    .tentang-content {
        flex-direction: column;
    }

    .restaurant-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .hero-section {
        height: auto;
        min-height: 25vh;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    #reservasi {
        padding: 10px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group input[type="time"],
    .form-group input[type="number"],
    .form-group textarea {
        font-size: 14px;
    }

    .btn-primary {
        width: 100%;
    }

    .pedas-options {
        padding-left: 10px;
    }

    .pedas-options label {
        display: block;
        margin-bottom: 5px;
    }

    .sambal-options {
        margin-left: 0;
        margin-top: 5px;
        width: 100%;
    }

    .menu-options,
    .sambal-options {
        margin-left: 10px;
    }

    #menuContainer .menu-item {
        margin-left: 10px;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex-grow: 1;
        text-align: center;
    }

    .kategori-filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .kategori-filter a {
        margin: 5px;
    }

    .kontak {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }

    .menu li {
        margin: 0.5rem 0;
    }

    .reservasi-btn {
        margin-top: 1rem;
    }
}
