/*
Theme Name: Catering Theme
Theme URI: https://yoursite.com
Author: Harel Agung N
Author URI: https://yoursite.com
Description: Custom theme converted from HTML
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: my-custom-theme
*/

/* ================================================
   Paste the full contents of your styles.css below
   ================================================ */
/* ============================================
   Dapur Sedep Karawang — styles.css
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap");
/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --bg: #fdf8f0;
    --fg: #1a1a1a;
    --gold: #c9a96e;
    --gold-hover: #b8954f;
    --warm-beige: #f0ebe0;
    --muted: #8a8077;
    --border: #e8e2d8;
    --white: #ffffff;
    --radius: 0.75rem;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --transition: 0.3s ease;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.2;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
ul {
    list-style: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0px);
    transition: all var(--transition);
}
.navbar.navbar-scrolled {
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height var(--transition);
}
.navbar-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.navbar-links a {
    font-size: 0.875rem;
    color: rgba(253, 248, 240, 0.7);
    transition: color var(--transition);
}
.navbar-links a:hover {
    color: var(--gold);
}
.navbar-cta {
    background: var(--gold);
    color: var(--fg);
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background var(--transition);
}
.navbar-cta:hover {
    background: var(--gold-hover);
    color: var(--fg) !important;
}
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}
.navbar-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--bg);
}

/* ---------- Mobile Menu ---------- */
/*
 * FIX: navbar-mobile harus mengikuti navbar yang position:fixed.
 * Caranya: navbar sudah fixed, jadi navbar-mobile cukup berada
 * di dalam navbar (sudah seperti itu di HTML). Masalahnya adalah
 * saat navbar transparan (belum di-scroll), background mobile menu
 * tidak terlihat. Solusi: beri background gelap eksplisit,
 * dan pastikan ia tidak punya posisi yang membuatnya keluar dari flow navbar.
 */
.navbar-mobile {
    display: none;
    position: fixed; /* FIX: pisahkan dari flow navbar */
    top: 80px; /* tepat di bawah navbar (sesuai tinggi .navbar .container) */
    left: 0;
    right: 0;
    z-index: 99; /* sedikit di bawah navbar (z-index: 100) */
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}
.navbar-mobile.open {
    display: block;
}
.navbar-mobile a {
    display: block;
    padding: 0.85rem 0;
    color: rgba(253, 248, 240, 0.75);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    font-size: 1rem;
    transition: color var(--transition);
}
.navbar-mobile a:last-child {
    border-bottom: none;
}
.navbar-mobile a:hover {
    color: var(--gold);
}
.navbar-mobile .navbar-cta {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: none;
}

/* ---------- Section Shared ---------- */
.section {
    padding: 5rem 0;
}
.section--beige {
    background: var(--warm-beige);
}
.section--dark {
    background: var(--fg);
}
.section-label {
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    text-align: center;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}
.section-desc {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}
/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.8));
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    max-width: 800px;
}
.hero-label {
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 700;
    color: var(--bg);
    margin-bottom: 1.5rem;
}
.hero p {
    color: rgba(253, 248, 240, 0.75);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn--gold {
    background: var(--gold);
    color: var(--fg);
}
.btn--gold:hover {
    background: var(--gold-hover);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}
.btn--outline {
    border-color: rgba(253, 248, 240, 0.35);
    color: var(--bg);
    background: transparent;
}
.btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.btn--outline-dark {
    border-color: rgba(253, 248, 240, 0.25);
    color: var(--bg);
    background: transparent;
}
.btn--outline-dark:hover {
    border-color: var(--gold);
    color: var(--gold);
}
/* ---------- Value / About Cards ---------- */
.card-grid {
    display: grid;
    gap: 2rem;
}
.card-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card-grid--5 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--gold);
}
.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* ---------- Services Cards ---------- */
.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-card .card-icon {
    border-radius: 0.5rem;
    margin: 0 0 1.25rem;
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.service-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* ---------- Menu Cards ---------- */
.menu-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.menu-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.menu-card-img {
    height: 13rem;
    overflow: hidden;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}
.menu-card-body {
    padding: 1.5rem;
}
.menu-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.menu-card-body p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}
.text-center {
    text-align: center;
}
.mt-12 {
    margin-top: 3rem;
}
/* ---------- Why Choose Us (compact) ---------- */
.why-card {
    text-align: center;
}
.why-card .card-icon {
    width: 4rem;
    height: 4rem;
}
/* ---------- Testimonials ---------- */
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--gold);
}
.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.testimonial-card .author {
    font-weight: 600;
}
.testimonial-card .event {
    color: var(--muted);
    font-size: 0.875rem;
}
/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--fg);
    padding: 5rem 0;
    text-align: center;
}
.cta-section .section-title {
    color: var(--bg);
}
.cta-section p {
    color: rgba(253, 248, 240, 0.65);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
/* ---------- Footer ---------- */
.footer {
    background: var(--fg);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}
.footer h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bg);
    margin-bottom: 1rem;
}
.footer p,
.footer a {
    color: rgba(253, 248, 240, 0.55);
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer a:hover {
    color: var(--gold);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-bottom {
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    padding-top: 2rem;
    text-align: center;
}
.footer-bottom p {
    color: rgba(253, 248, 240, 0.35);
    font-size: 0.85rem;
}
/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }
    .navbar-toggle {
        display: flex;
    }
    .navbar-mobile {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 99;
        background: rgba(20, 20, 20, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 0 1.5rem 1.5rem;
        border-top: 1px solid rgba(201, 169, 110, 0.15);
    }
    .navbar-mobile.open {
        display: block;
    }
    .section {
        padding: 3.5rem 0;
    }
    .card-grid--5 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .card-grid--5 {
        grid-template-columns: 1fr;
    }
}
