:root {
    --primary-green: #7FB069;
    --primary-yellow: #FFB845;
    --text-dark: #2C3639;
    --text-light: #3F4E4F;
    --background-light: #FFFBF5;
    --accent-warm: #E6B325;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--background-light);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

header {
    background-color: var(--primary-green);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: -1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    padding-left: 1rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

header.scrolled .logo-icon {
    width: 35px;
    height: 35px;
}

h1 {
    color: var(--background-light);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

header.scrolled h1 {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-right: -0.5rem;
}

.nav-links a {
    color: var(--background-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links .social-link {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    padding: 0.2rem;
}

.nav-links .social-link:hover {
    opacity: 0.8;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 1rem 3rem;
    position: relative;
}

.home-page {
    background-image: url('cafebackgroundblurry3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.content-panel {
    background-color: rgba(255, 255, 244, 0.95);
    border-radius: 12px;
    padding: 2rem 2rem 3rem;
    margin-top: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.tagline {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--background-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tagline h2 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--text-light);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.menu-button {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--background-light);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 auto 3rem;
    display: block;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.menu-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.info-column p {
    margin: 1rem 0;
    color: var(--text-light);
    font-size: 1.1rem;
}

.info-column p:last-child {
    margin-bottom: 0;
}

.info-column p:first-child {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Mobile layout for info section */
@media screen and (max-width: 767px) {
    .info-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .tagline h2 {
        font-size: 1.3rem;
    }
}

/* Footer styles */
footer {
    background-color: var(--primary-green);
    color: var(--background-light);
    padding: 2rem 1rem;
    margin-top: 4rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.footer-address {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-phone {
    font-family: 'Source Sans 3', sans-serif;
}

.footer-hours {
    margin-top: 0.5rem;
    opacity: 0.9;
}

.footer-social {
    margin-top: 1rem;
    text-align: center;
}

.footer-social a {
    color: var(--background-light);
    font-size: 1.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 767px) {
    footer {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .footer-info p {
        font-size: 1rem;
    }

    .nav-links .social-link {
        font-size: 1.2rem;
    }

    header.scrolled .nav-links .social-link {
        font-size: 1.1rem;
    }

    .footer-social {
        margin-top: 0.8rem;
    }

    .footer-social a {
        font-size: 1.3rem;
    }
}

/* Logo link styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
}

/* Menu page styles */
.menu-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.menu-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.menu-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.menu-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 0.5rem;
}

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

.menu-items.add-ons {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.menu-item {
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-2px);
}

.menu-item h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.menu-item .description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.menu-item .price {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
}

@media screen and (max-width: 767px) {
    .menu-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .menu-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .menu-section h3 {
        font-size: 1.5rem;
    }

    .menu-items {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .header-content {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0;
        transition: gap 0.3s ease;
    }

    header.scrolled .header-content {
        gap: 0.4rem;
    }

    .logo-container {
        margin-left: 0;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    header.scrolled .logo-icon {
        width: 30px;
        height: 30px;
    }

    h1 {
        font-size: 2rem;
    }

    header.scrolled h1 {
        font-size: 1.6rem;
    }

    .nav-links {
        gap: 1.5rem;
        margin-right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    header.scrolled .nav-links a {
        font-size: 0.9rem;
    }
}

/* Story page styles */
.story-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.story-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.story-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-content p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .story-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .story-content {
        padding: 1.5rem;
    }

    .story-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

/* Mobile adjustments */
@media screen and (max-width: 767px) {
    header {
        padding: 1.2rem 0;
    }

    header.scrolled {
        padding: 0.5rem 0;
    }
}

/* Desktop: side by side */
@media screen and (min-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile: 2x2 grid */
@media screen and (max-width: 767px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
