/* --- Global Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

:root {
    --primary-brown: #6F4E37;
    --accent-gold: #D4AF37;
    --flour-white: #ffffff;
    --bg-cream: #fdf5e6;
    --orange-main: #e67e22;
    --orange-hover: #d35400;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-cream);
    color: #333;
    overflow-x: hidden;
}

/* --- Eye-Catching Navbar --- */
.navbar {
    background: var(--flour-white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-brown);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-logo span { color: var(--accent-gold); }

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover { color: var(--orange-main); }

.nav-btn {
    background: var(--primary-brown);
    color: white !important;
    padding: 8px 18px;
    border-radius: 50px;
}

.nav-btn:hover {
    background: var(--accent-gold);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1509440159596-0249088772ff?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* --- Menu Section & Grid --- */
.menu-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.underline {
    width: 70px;
    height: 4px;
    background: var(--accent-gold);
    margin: 10px auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* --- Product Cards --- */
.bread-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.bread-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.bread-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.bread-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.bread-info h3 {
    margin: 0;
    color: #444;
}

.price {
    font-size: 1.4rem;
    color: var(--primary-brown);
    font-weight: 700;
    margin: 10px 0;
}

.stock {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

/* --- Buttons --- */
.btn-primary, .buy-btn {
    background-color: var(--orange-main);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

.btn-primary:hover, .buy-btn:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* --- Toast Notification --- */
#toast {
    visibility: hidden;
    min-width: 280px;
    background-color: var(--primary-brown);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1001;
    right: 30px;
    bottom: 30px;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-left: 5px solid var(--accent-gold);
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }

/* --- Footer --- */
.main-footer {
    width: 100%;
    padding: 50px 0;
    background-color: var(--primary-brown);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #fdf5e6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}