/* style.css - Great Chef Kitchen (Modern Blue/White theme with product cards and WhatsApp float) */
:root {
    --blue: #0b66c3;
    --blue-2: #0f7bd6;
    --muted: #6b7280;
    --card-shadow: 0 6px 20px rgba(11, 102, 195, 0.08);
    --radius: 12px;
    --bg: #f7fbff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, #ffffff 0%, rgba(11, 102, 195, 0.03) 100%);
    color: #0f1724;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== Header ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--blue);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 8px rgba(11, 102, 195, 0.2);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.brand .logo {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--blue-2), var(--blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--card-shadow);
}

.brand h1 {
    font-size: 20px;
    margin: 0;
}

.nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.85;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin: 40px auto 20px;
    padding: 0 16px;
    max-width: 700px;
}

.section-header h2 {
    color: #0d47a1;
    font-size: 28px;
    margin-bottom: 6px;
    font-weight: 700;
}

.section-header p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Product Container ===== */
.container {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    justify-items: center;
}

/* ===== Product Card ===== */
.product-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 16px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(11, 102, 195, 0.15);
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 18px;
    color: var(--blue);
    margin: 8px 0 6px;
}

.product-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 12px;
    line-height: 1.5;
    min-height: 40px;
}

.price {
    font-weight: 700;
    font-size: 16px;
    color: var(--blue);
    margin-bottom: 10px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    background: var(--blue);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--blue-2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: white;
}

.btn-whatsapp {
    background: #25d366;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

/* ===== Admin Forms ===== */
.form-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 24px;
    max-width: 480px;
    margin: 40px auto;
}

.input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    margin-bottom: 14px;
    font-size: 15px;
}

.input:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 102, 195, 0.15);
}

/* ===== Tables ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 12px;
}

.table th,
.table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.table th {
    background: #f1f5f9;
    color: #0b66c3;
}

.small {
    font-size: 13px;
    color: var(--muted);
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.25s, background 0.3s;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 24px;
    color: var(--muted);
    font-size: 14px;
    background: #f8faff;
    border-top: 1px solid #e0e7ff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand h1 {
        font-size: 18px;
    }

    .product-card {
        max-width: 100%;
    }

    .product-card img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 22px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 15px;
        right: 15px;
    }
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-cart {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-cart:hover {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1ebe5d, #0c8b6a);
    transform: translateY(-2px);
}