:root {
    --primary: #2F1B12;
    --primary-foreground: #F8ECE4;
    --secondary: #5C4033;
    --secondary-foreground: #F8ECE4;
    --accent: #C68B59;
    --accent-foreground: #1A1A1A;
    --background: #F8ECE4;
    --foreground: #1A1A1A;
    --card: #FFFFFF;
    --card-foreground: #1A1A1A;
    --muted: #E8C39E;
    --muted-foreground: #5C4033;
    --border: #D9C8B8;
    --input: #F8ECE4;
    --ring: #C68B59;
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary);
    padding: 1.5rem 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--primary-foreground);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--primary-foreground);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(47, 27, 18, 0.5), rgba(47, 27, 18, 0.5)),
        url('https://images.unsplash.com/photo-1616091216791-a5360b5fc78a?q=80&w=1390&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-foreground);
    padding: 0 2rem;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    font-weight: 300;
}

.cta-button {
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #E8C39E;
    transform: translateY(-3px);
}

/* About */
.about {
    padding: 3rem 3rem;
    background-color: var(--background);
}

.about h2,
.menu h2,
.location h2,
.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--foreground);
}

.about-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.about-content p {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Menu */
.menu {
    padding: 6rem 3rem;
    background-color: var(--background);
}

.menu-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.menu-item {
    background-color: var(--card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.menu-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 1rem 0.5rem;
    color: var(--card-foreground);
}

.menu-item p {
    margin: 0 1rem 1.5rem;
    color: var(--muted-foreground);
    font-size: 1rem;
}

.menu-table {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-collapse: collapse;
    text-align: center;
    background-color: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-table th,
.menu-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.menu-table thead {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.menu-table tbody tr:hover {
    background-color: var(--muted);
    transition: 0.3s ease;
}


/* Contact */
.contact {
    padding: 6rem 3rem;
    background-color: var(--background);
}

.contact form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact input,
.contact textarea {
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    background-color: var(--input);
    color: var(--foreground);
    transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    border-color: var(--ring);
    outline: none;
}

.contact textarea {
    height: 180px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
    text-align: center;
    padding: 2.5rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}

.social-links a svg {
    width: 30px;
    height: 30px;
    fill: #444;
    transition: transform 0.3s ease, fill 0.3s ease;
}

.social-links a:hover svg {
    transform: scale(1.1);
    fill: #0077b5;
}

/* Hamburger Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: var(--primary-foreground);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Toggle Animation */
.hamburger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Nav */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary);
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1rem;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-content,
    .location-content {
        grid-template-columns: 1fr;
    }

    .about h2,
    .menu h2,
    .location h2,
    .contact h2 {
        font-size: 2.2rem;
    }
}