/*
Theme Name: Lunch Haven
Theme URI: https://lunchhaven.co.za
Author: Your Name
Author URI: https://lunchhaven.co.za
Description: A warm and welcoming lunch cafe theme with rustic charm. Mobile-responsive and optimized for speed.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lunch-haven
Tags: responsive, fast, restaurant, cafe, food
*/

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #2d2d2d;
    background: #faf8f5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: #c45a2b; text-decoration: none; transition: color 0.2s; }
a:hover { color: #8b3d1a; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: #4a3728;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}
.site-title a { color: #fff; }

.site-description {
    font-size: 0.875rem;
    color: #d4c4b0;
    margin: 0;
}

/* Navigation */
.main-navigation { display: flex; align-items: center; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #f5f0e8;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e8a86b;
    transition: width 0.3s;
}

.nav-menu a:hover::after { width: 100%; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a3728 0%, #6b4f3a 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; max-width: 600px; margin: 0 auto 2rem; color: #e8d8c8; }

.cta-button {
    display: inline-block;
    background: #e8a86b;
    color: #4a3728;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 168, 107, 0.4);
    color: #4a3728;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #faf8f5;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover { transform: translateY(-5px); }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Menu Section */
.menu-section {
    padding: 4rem 0;
    background: #f5f0e8;
}

.menu-section h2 { text-align: center; margin-bottom: 2rem; }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.menu-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a3728;
}

.menu-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #c45a2b;
}

.menu-item-desc {
    color: #666;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, #d4c4b0, #b8a896);
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #4a3728;
    color: #fff;
}

.contact-section h2 { text-align: center; margin-bottom: 2rem; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-card {
    padding: 2rem;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 { color: #e8a86b; margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
    background: #2d2d2d;
    color: #999;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content { margin-bottom: 2rem; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 1.5rem;
}

.footer-links a { color: #ccc; }
.footer-links a:hover { color: #e8a86b; }

.copyright {
    font-size: 0.875rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #4a3728;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-menu.active { display: flex; }
    .nav-menu a { padding: 1rem; display: block; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-menu a::after { display: none; }
    
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }