/* -----------------------------------------------
   Global Styles & Variables
----------------------------------------------- */
:root {
    --primary-brown: #5C3A2B;    /* Rich dark brown */
    --secondary-tan: #C19A6B;     /* Warm tan/accent */
    --background-cream: #FDF7F0;  /* Soft creamy background */
    --card-bg: #FFFFFF;
    --text-dark: #2C1E12;
    --text-soft: #4A3A2A;
    --shadow-soft: 0 10px 30px rgba(92, 58, 43, 0.08);
    --shadow-hover: 0 20px 40px rgba(92, 58, 43, 0.15);
    --border-radius-card: 20px;
    --border-radius-image: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-cream);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-brown);
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-brown), var(--secondary-tan));
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-brown);
    color: white;
    box-shadow: 0 4px 15px rgba(92, 58, 43, 0.3);
}
.btn-primary:hover {
    background-color: #3b2a1f;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(92, 58, 43, 0.4);
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
}
.btn-secondary:hover {
    background-color: var(--primary-brown);
    color: white;
    transform: translateY(-3px);
}

/* -----------------------------------------------
   Navigation
----------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 16px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-brown);
    text-decoration: none;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: var(--secondary-tan);
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-brown);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* -----------------------------------------------
   Hero Section
----------------------------------------------- */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(44, 30, 18, 0.7), rgba(44, 30, 18, 0.7)), 
                url('images/hero-bakery.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
    position: relative;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 5rem;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}
.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* -----------------------------------------------
   Features Section
----------------------------------------------- */
.features {
    padding: 5rem 0;
    background-color: white;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-card);
    transition: var(--transition-smooth);
}
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}
.feature-icon {
    font-size: 3rem;
    color: var(--secondary-tan);
    margin-bottom: 1.5rem;
}
.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.feature-item p {
    color: var(--text-soft);
}

/* -----------------------------------------------
   Products Section (with images)
----------------------------------------------- */
/* Update product card styling for no prices */
.product-info {
    padding: 1.5rem;
    text-align: center; /* Center text since no prices */
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
}

.product-desc {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-badge {
    margin-top: 0.5rem;
}

.badge {
    display: inline-block;
    background: var(--background-cream);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-brown);
}

.badge.bestseller {
    background: var(--secondary-tan);
    color: white;
}

/* -----------------------------------------------
   Two-Page Menu Section
----------------------------------------------- */
.menu-section {
    padding: 5rem 0;
    background: white;
}
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.menu-tab {
    padding: 12px 32px;
    background: transparent;
    border: 2px solid var(--primary-brown);
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-brown);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.menu-tab.active {
    background: var(--primary-brown);
    color: white;
}
.menu-tab:hover {
    background: var(--primary-brown);
    color: white;
}
.menu-display {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.menu-page {
    display: none;
}
.menu-page.active {
    display: block;
}
.menu-page img {
    width: 100%;
    height: auto;
    display: block;
}

/* -----------------------------------------------
   About / Story Section
----------------------------------------------- */
.about {
    padding: 5rem 0;
    background-color: var(--background-cream);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    border-radius: var(--border-radius-image);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}
.about-image:hover img {
    transform: scale(1.02);
}
.about-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}
.about-content .section-title::after {
    left: 0;
    transform: none;
}
.about-content p {
    color: var(--text-soft);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}
.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
}
.stat {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-tan);
    font-family: 'Playfair Display', serif;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* -----------------------------------------------
   Contact Section
----------------------------------------------- */
.contact {
    padding: 5rem 0;
    background: white;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.contact-card {
    background: var(--background-cream);
    padding: 2rem;
    border-radius: var(--border-radius-card);
    text-align: center;
    transition: var(--transition-smooth);
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}
.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-tan);
    margin-bottom: 1rem;
}
.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.contact-card p {
    color: var(--text-soft);
}
.contact-form {
    background: var(--background-cream);
    padding: 2.5rem;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
}
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(92, 58, 43, 0.2);
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    background: white;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-tan);
}
.contact-form button {
    width: 100%;
}

/* -----------------------------------------------
   Footer
----------------------------------------------- */
.footer {
    background: var(--primary-brown);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1.5rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.footer-brand h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.3rem;
}
.footer-social {
    display: flex;
    gap: 1.5rem;
}
.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}
.footer-social a:hover {
    color: var(--secondary-tan);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.fa-heart {
    color: #f28b82;
}

/* -----------------------------------------------
   Responsive Design
----------------------------------------------- */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        padding: 3rem 0;
        gap: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: left 0.3s;
    }
    .nav-menu.active {
        left: 0;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .btn {
        width: 100%;
        max-width: 280px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }
    .menu-tab {
        width: 100%;
        max-width: 300px;
    }
}

.order-now {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    padding: 12px 25px;
    border-radius: 50px;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    transform: scale(1.05);
    border: 2px solid #fff;
    animation: pulse 2s infinite;
}

.order-text {
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.order-number {
    color: white;
    font-weight: 700;
    font-size: 1.6rem;
    text-decoration: none;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.order-number:hover {
    background: white;
    color: #ff6b6b;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0% {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 30px rgba(255, 107, 107, 0.5);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .order-now {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }
    
    .order-text {
        font-size: 1.2rem;
    }
    
    .order-number {
        font-size: 1.3rem;
    }
}