* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #fff8f0;
    color: #2c2c2c;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #e76f00;
    color: white;
    box-shadow: 0 4px 10px rgba(231, 111, 0, 0.3);
}

.btn-primary:hover {
    background-color: #c55a00;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #4a4a4a;
    color: white;
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

header {
    background-color: #1e1e1e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text h1 {
    font-size: 1.6rem;
}

.alamat-pusat {
    font-size: 0.75rem;
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

nav a:hover, nav a.active {
    color: #ff9f4a;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1550547660-d9450f859349?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center 30%;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-overlay {
    width: 100%;
    background: rgba(0,0,0,0.4);
    padding: 3rem 0;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f5f5f5;
}

.branch-locator, .branch-selector-card {
    margin: 2rem 0;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.branch-select-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

#branchSelect {
    padding: 10px 16px;
    border-radius: 40px;
    border: 1px solid #ddd;
    min-width: 250px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e76f00;
}

.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.menu-item {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.menu-item img {
    width: 200px;
    height: 180px;
    object-fit: cover;
}

.menu-info {
    flex: 1;
    padding: 1.2rem 1.5rem;
}

.menu-info h3 {
    margin-bottom: 0.3rem;
}

.price {
    font-weight: bold;
    color: #e76f00;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.add-to-cart-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 40px;
    cursor: pointer;
}

.cart-section {
    background: white;
    border-radius: 25px;
    padding: 2rem;
    margin: 3rem 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fef9f0;
    padding: 1rem;
    margin: 0.8rem 0;
    border-radius: 16px;
    flex-wrap: wrap;
}

#cartTotal {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: right;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 2px dashed #ff9f4a;
}

.cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

footer {
    background-color: #1e1e1e;
    color: #ccc;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #ff9f4a;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    .menu-item {
        flex-direction: column;
    }
    .menu-item img {
        width: 100%;
        height: 200px;
    }
    .cart-actions {
        justify-content: center;
    }
}