/* =====================
   CSS Variables
   ===================== */
:root {
    --primary: #c0392b;
    --primary-hover: #e74c3c;
    --accent: #f39c12;
    --dark: #1a1a1a;
    --mid: #444;
    --light: #f7f4f0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 12px;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', sans-serif;
}

/* =====================
   Base
   ===================== */
html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background-color: var(--light);
    font-family: var(--font-body);
    color: var(--dark);
}

h1, h2, h3 {
    font-family: var(--font-heading);
}

/* =====================
   Focus styles
   ===================== */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary);
}

/* =====================
   Header / Navbar
   ===================== */
header {
    background-color: var(--dark);
}

.new-nav-bar {
    background: var(--dark);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .new-nav-bar .brand {
        font-size: 22px;
        font-weight: 700;
        font-family: var(--font-heading);
        color: var(--white);
        text-decoration: none;
        letter-spacing: 0.5px;
    }

    .new-nav-bar .navbar-nav {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .new-nav-bar .nav-link {
        font-size: 16px;
        color: #ccc !important;
        padding: 5px 0;
        transition: color 0.2s ease;
    }

        .new-nav-bar .nav-link:hover {
            color: var(--accent) !important;
        }

.order-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    margin-left: 10px;
}

    .order-btn:hover {
        background: var(--primary-hover);
    }

/* =====================
   Banner / Hero
   ===================== */
.banner {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0;
    padding: 30px 20px;
    background-color: var(--dark);
}

.fstpicture {
    width: 100%;
    max-width: 1200px;
    height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .fstpicture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

/* =====================
   About section
   ===================== */
.smalldivs {
    background: var(--light);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.innerpart {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    align-items: center;
}

.about-card {
    width: 45%;
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

    .about-card h2 {
        margin-bottom: 15px;
        color: var(--primary);
        font-family: var(--font-heading);
    }

    .about-card p {
        color: var(--mid);
        line-height: 1.7;
    }

.small-img {
    width: 45%;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .small-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* =====================
   Menu cards
   ===================== */
.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 20px 0;
}

    .flex-container > div {
        background-color: var(--white);
        border-radius: var(--radius);
        width: 280px;
        margin: 12px;
        padding: 15px;
        text-align: center;
        line-height: 1.5;
        font-size: 16px;
        box-shadow: var(--shadow);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .flex-container > div:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
            background-color: var(--white);
            color: var(--dark);
        }

/* =====================
   Tables
   ===================== */
.table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .table thead th {
        background-color: var(--dark);
        color: var(--white);
        border: none;
        padding: 14px 16px;
        font-weight: 600;
    }

    .table tbody tr:hover {
        background-color: #fdf6f0;
    }

    .table td {
        padding: 12px 16px;
        vertical-align: middle;
    }

/* =====================
   Images
   ===================== */
.img-thumb {
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* =====================
   Buttons
   ===================== */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 25px;
    padding: 8px 22px;
    font-weight: 600;
    transition: background 0.2s;
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
    }

.btn-danger {
    border-radius: 20px;
}

.btn-warning {
    border-radius: 20px;
}

/* =====================
   Forms
   ===================== */
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    transition: border-color 0.2s;
}

    .form-control:focus {
        border-color: var(--primary);
    }

.form-group {
    margin-bottom: 18px;
}

/* =====================
   Page headings
   ===================== */
h1 {
    margin: 30px 0 20px;
    font-size: 2rem;
    color: var(--dark);
}

/* =====================
   Mobile
   ===================== */
@media (max-width: 768px) {
    .innerpart {
        flex-direction: column;
    }

    .about-card,
    .small-img {
        width: 100%;
    }

    .small-img {
        height: 220px;
    }

    .fstpicture {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .navbar-nav {
        gap: 10px;
        text-align: center;
        padding-bottom: 10px;
    }

    .order-btn {
        display: inline-block;
        margin-top: 10px;
    }

    .navbar-toggler.custom-toggler {
        padding: 0 !important;
        border: none !important;
        background: none !important;
        box-shadow: none !important;
    }
}

/* =====================
   Toggler icon
   ===================== */
.toggler-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    display: block;
}
