* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #f6f1e9;
    color: #333;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #8b2f13, #c4511b);
    color: white;
    padding: 30px 15px;
    text-align: center;
}

.header h1 {
    margin: 0;
    font-size: 32px;
    letter-spacing: 1px;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

/* KATEGORI */
.kategori {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.kategori a {
    padding: 10px 18px;
    background: #fff;
    border-radius: 30px;
    text-decoration: none;
    color: #8b2f13;
    font-weight: 500;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.kategori a:hover {
    background: #8b2f13;
    color: white;
}

.kategori a.active {
    background: #8b2f13;
    color: white;
}

/* GRID RESEP */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* CARD */
.card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card-content {
    padding: 18px;
}

.card-content h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.card-content p {
    font-size: 14px;
    color: #777;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #8b2f13;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
}

/* DETAIL */
.img-detail {
    width: 100%;
    max-width: 650px;
    border-radius: 16px;
    margin: 20px 0;
}

/* FOOTER */
.footer {
    background: #8b2f13;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}
/* HEADER & NAVIGATION BAR (ONE ROW - ALL ELEMENTS HORIZONTAL) */
.site-header-nav {
    background: #D9643B;
    color: white;
    padding: 15px 0;
}

.header-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-icon svg {
    width: 40px;
    height: 40px;
}

.header-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.header-title-inline {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    flex-shrink: 0;
}

.header-subtitle-inline {
    margin: 2px 0 0 0;
    font-size: 14px;
    color: white;
    opacity: 0.95;
    line-height: 1.2;
    flex-shrink: 0;
}

/* NAVIGATION BAR */
.site-navbar {
    flex: 1;
    padding: 0;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-item {
    flex-shrink: 0;
}

.nav-link {
    display: block;
    padding: 8px 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
    text-decoration-color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .header-nav-wrapper {
        gap: 15px;
    }
    
    .header-title-inline {
        font-size: 20px;
    }
    
    .header-subtitle-inline {
        font-size: 13px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .header-nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-icon,
    .header-title-inline,
    .header-subtitle-inline {
        width: 100%;
    }
    
    .site-navbar {
        width: 100%;
        margin-left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        padding: 12px 20px;
        text-align: left;
        width: 100%;
    }
}

/* BADGE KATEGORI */
.badge {
    display: inline-block;
    background: #f2a365;
    color: #8b2f13;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 8px;
}

/* HALAMAN TENTANG */
.about-box {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

/* FORM KONTAK */
.form-box {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.form-box input,
.form-box textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.form-box button {
    background: #8b2f13;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 25px;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 70vh;
    background: url('/images/hero.jpeg') center center / cover no-repeat;
    display: flex;
    align-items: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.95;
}
