@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #fafae7;
    color: #2F241F;
    min-height: 100vh;
}


.navbar {
    background-color: #1E140F;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nav-logo-wrap:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #dfdfdf;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: #CDBEB5;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: #D4AF37;
    background-color: rgba(212, 175, 55, 0.1);
}

.nav-links a.active {
    color: #1E140F !important;
    background-color: #D4AF37 !important;
    font-weight: 600;
}


.main-content {
    width: 92%;
    max-width: 1100px;
    margin: 50px auto;
}

.header-title {
    text-align: center;
    margin-bottom: 35px;
}

.header-title h2 {
    font-size: 1.7rem;
    color: #1E140F;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.header-title p {
    color: #8A766A;
    font-size: 0.92rem;
    margin-top: 6px;
}


.alert-sukses { 
    background-color: #E8F5E9; 
    color: #1B5E20; 
    border: 1px solid #C8E6C9; 
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 500;
}

.alert-gagal { 
    background-color: #FFEBEE; 
    color: #C62828; 
    padding: 14px 20px; 
    border-radius: 10px; 
    border: 1px solid #FFCDD2; 
    margin-bottom: 25px; 
    text-align: center;
    font-size: 0.92rem; 
    font-weight: 500;
}

.select-status { 
    padding: 6px 10px; 
    border-radius: 5px; 
    border: 1px solid #D9D2C9; 
    font-weight: 600; 
    cursor: pointer; 
    font-size: 0.85rem; 
    outline: none; 
    transition: all 0.2s ease;
}

.status-menunggu { background-color: #FFF3E0; color: #E65100; border-color: #FFE0B2; }
.status-diproses { background-color: #E3F2FD; color: #0D47A1; border-color: #BBDEFB; }
.status-selesai { background-color: #E8F5E9; color: #1B5E20; border-color: #C8E6C9; }

.btn-hapus { 
    background-color: #FF5252; 
    color: white; 
    border: none; 
    padding: 6px 12px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 0.85rem; 
    font-weight: bold; 
    transition: all 0.2s ease; 
}

.btn-hapus:hover { 
    background-color: #D32F2F; 
    transform: scale(1.05); 
}

.text-center { text-align: center; }
.font-bold { font-weight: 600; }
.text-italic { font-style: italic; }
.text-muted { color: #8A766A; }
.text-primary { color: #A67B5B; }

.badge-meja {
    background-color: #1E140F;
    color: #D4AF37;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
}


.table-container-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(30, 20, 15, 0.04);
    border: 1px solid #EFEAE2;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.order-table th {
    background-color: #FCFAF7;
    color: #614A3C;
    font-weight: 700;
    padding: 16px 18px;
    border-bottom: 2px solid #EFEAE2;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.order-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #F4EFE6;
    color: #4A3E3D;
    vertical-align: middle;
}

.order-table tbody tr:nth-child(even) {
    background-color: #FAF9F6;
}

.order-table tbody tr:hover {
    background-color: #F5EFE6;
}

.order-table th:nth-child(3), .order-table td:nth-child(3) { min-width: 150px; }
.order-table th:nth-child(4), .order-table td:nth-child(4) { min-width: 180px; }
.empty-text { font-size: 0.85rem; color: #A6A6A6; text-align: center; font-style: italic; padding: 20px !important; }


.form-container-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(30, 20, 15, 0.04);
    border: 1px solid #EFEAE2;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
    border-bottom: 2px dashed #EFEAE2;
    padding-bottom: 25px;
}

.form-header h2 {
    font-size: 1.6rem;
    color: #1E140F;
    font-weight: 700;
}

.form-header p {
    color: #8A766A;
    font-size: 0.9rem;
    margin-top: 6px;
}

.form-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 30px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.section-title {
    font-size: 1.1rem;
    color: #614A3C;
    font-weight: 600;
    border-left: 4px solid #A67B5B;
    padding-left: 10px;
    margin-bottom: 5px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A3E3D;
}

input[type="text"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #D9D2C9;
    border-radius: 10px;
    background-color: #FCFAF7;
    color: #2F241F;
    font-size: 0.92rem;
    transition: all 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #A67B5B;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(166, 123, 91, 0.12);
}

textarea {
    height: 124px;
    resize: none;
}

optgroup {
    font-weight: 700;
    color: #A67B5B;
    padding: 6px;
    background: #FFF;
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: #A67B5B;
    color: #FFFFFF;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(166, 123, 91, 0.2);
    margin-top: 10px;
    text-decoration: none;
    text-align: center;
}

.btn-submit:hover {
    background-color: #1E140F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 20, 15, 0.25);
}


.menu-board-container {
    background-color: #FFFFFF;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 15px 35px rgba(30, 20, 15, 0.04);
    border: 1px solid #EFEAE2;
}

.menu-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.menu-category-card {
    background: #FCFAF7;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #EFEAE2;
}

.menu-category-card h4 {
    color: #A67B5B;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid #EFEAE2;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.menu-category-card ul { list-style: none; }
.menu-category-card ul li { margin-bottom: 15px; }

.menu-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.garis-titik {
    flex-grow: 1;
    border-bottom: 2px dotted #D9D2C9;
    margin: 0 10px;
}

.nama-item { font-weight: 600; color: #2F241F; font-size: 0.95rem; }
.harga-item { font-weight: 700; color: #1E140F; font-size: 0.95rem; }
.deskripsi-menu { display: block; font-size: 0.82rem; color: #8A766A; line-height: 1.4; margin-top: 4px; }

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.gallery-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(30, 20, 15, 0.04);
    border: 1px solid #EFEAE2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 20, 15, 0.12);
}

.gallery-img-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #EFEAE2;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-box img { transform: scale(1.08); }
.gallery-info { padding: 20px; }
.gallery-info h3 { font-size: 1.05rem; color: #1E140F; font-weight: 700; margin-bottom: 8px; }
.gallery-info p { font-size: 0.85rem; color: #6E5A4F; line-height: 1.5; }


@media (max-width: 768px) {
    .form-container-card {
        padding: 25px;
    }
    .form-grid-layout,
    .menu-board-grid,
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .nav-container {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

footer {
    text-align: center; 
    padding: 20px; 
    color: #7f8c8d; 
    font-size: 0.9rem;
}

.features {
    padding: 80px 8%;
    text-align: center;
    background-color: #fbf5eb;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2b1b12;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #4a3429;
    margin-bottom: 20px;
    background-image: radial-gradient(circle, #8c6249 20%, #4a3429 70%); 
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2b1b12;
}

.feature-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.info-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #f7ede2;
}

.info-left {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(rgba(43, 27, 18, 0.85), rgba(43, 27, 18, 0.85)),
                url('https://images.unsplash.com/photo-1541167760496-1628856ab772?q=80&w=600') no-repeat center center/cover;
    color: #fff;
    padding: 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.info-left p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.btn-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.info-right {
    flex: 1;
    min-width: 300px;
    background-color: #eddcd2;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-box {
    max-width: 400px;
}

.promo-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8c6249;
    margin-bottom: 10px;
    font-weight: 600;
}

.promo-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #2b1b12;
    margin-bottom: 15px;
}

.promo-box p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-promo {
    background-color: #4a3429;
    color: #fff;
    display: inline-block;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .info-left, .info-right {
        padding: 50px 6%;
    }
}