/* ==========================================
   1. RESET & COZY VARIABLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Glides beautifully between anchor clicks */
    font-family: 'Georgia', serif; /* Classic, organic storyteller font */
    background-color: #faf6f0; /* Soft linen warm off-white */
    color: #2e1f15; /* Rich roasted espresso brown for gentle text reading */
}

body {
    line-height: 1.7;
}

/* ==========================================
   2. BAKERY NAVBAR
   ========================================== */
.bakery-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 8%;
    background-color: rgba(250, 246, 240, 0.96); /* Matches the linen floor perfectly */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid #ebdcd0;
}

.bakery-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #2e1f15;
    letter-spacing: 0.5px;
}

.bakery-nav-links a {
    color: #5c4333; /* Soft milk-chocolate tone */
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    font-family: sans-serif; /* Clean contrast look against the serif body */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.bakery-nav-links a:hover {
    color: #d97706; /* Golden honey-amber tone */
}

/* ==========================================
   3. HERO CONTAINER (Warm Stock Overlay)
   ========================================== */
.bakery-hero {
    min-height: 100vh;
    /* Beautiful overhead bakery kitchen background from Unsplash */
    background: url('https://images.unsplash.com/photo-1549931319-a545dcf3bc73?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    position: relative;
    padding-top: 85px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark warm sepia shade layer to lock high text visibility */
    background: rgba(30, 20, 12, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}

.hero-content {
    max-width: 750px;
    text-align: center;
}

.hero-subtitle {
    color: #fbbf24; /* Warm morning light amber tint */
    font-family: sans-serif;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.bakery-hero h1 {
    font-size: 3.4rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: #e2d4c9; /* Soft wheat-cream text color */
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.bakery-btn {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    background-color: #d97706; /* Honey amber background button */
    color: #ffffff;
    text-decoration: none;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.bakery-btn:hover {
    background-color: #b45309; /* Deep baked glaze tone */
    transform: translateY(-1px);
}

/* ==========================================
   4. FEATURE MENU (Uncrowded Flex Cards)
   ========================================== */
.bakery-menu {
    min-height: 100vh;
    padding: 8rem 8% 6rem 8%;
    background-color: #fdfbf7; /* Slightly brighter warm floor step */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 2.4rem;
    color: #2e1f15;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6e5645;
    text-align: center;
    font-family: sans-serif;
    font-size: 0.95rem;
    margin-bottom: 5rem;
}

.menu-grid {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping instantly onto compact mobile viewports */
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

.menu-card {
    background-color: #faf6f0; /* Blends nicely back with the primary system skin */
    border: 1px solid #ebdcd0;
    flex: 1 1 310px;
    max-width: 360px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    border-color: #d97706;
}

.img-box {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-img {
    transform: scale(1.03);
}

.card-details {
    padding: 1.8rem;
}

.card-details h3 {
    font-size: 1.35rem;
    color: #2e1f15;
    margin-bottom: 0.3rem;
}

.price {
    color: #d97706;
    font-weight: 700;
    font-family: sans-serif;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.desc {
    color: #6e5645;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================
   5. TWO-COLUMN STORY LAYOUT
   ========================================== */
.bakery-story {
    min-height: 100vh;
    padding: 8rem 8% 6rem 8%;
    background-color: #faf6f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1100px;
    align-items: center;
}

.story-image-box {
    flex: 1 1 400px;
}

.story-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(46, 31, 21, 0.1);
}

.story-text-box {
    flex: 1 1 450px;
}

.story-text-box h2 {
    font-size: 2.5rem;
    color: #2e1f15;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.story-text-box p {
    color: #5c4333;
    margin-bottom: 1.5rem;
}

/* ==========================================
   6. MOBILE VIEW SCALING
   ========================================== */
@media screen and (max-width: 768px) {
    .bakery-hero h1 {
        font-size: 2.1rem;
    }

    .bakery-navbar {
        padding: 1rem 5%;
    }

    .bakery-nav-links {
        display: flex;
        gap: 12px;
    }

    .bakery-nav-links a {
        margin-left: 0;
        font-size: 0.75rem;
    }

    .story-text-box h2 {
        font-size: 1.9rem;
    }
    
    /* On small mobile screens, we move text first for beautiful logical ordering */
    .story-container {
        flex-direction: column-reverse; 
        gap: 2.5rem;
    }
}