body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #FFF5EB;
    color: #4A3228;
}

header {
    background: #8B4513;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hero {
    background-color: #D2691E;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #FFE4C4;
}

nav {
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(139, 69, 19, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    flex-shrink: 0;
}

.logo a {
    color: #FFE4C4;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.logo a:hover {
    color: #FFA07A;
}

.logo a::after {
    content: '☾';  /* Moon symbol */
    margin-left: 5px;
    font-size: 1.2rem;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #FFE4C4;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: block;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #FFA07A;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover {
    color: #FFA07A;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #FFA07A;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #FFE4C4;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: rgba(139, 69, 19, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .hamburger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    #menu .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    }
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #8B4513;
}

#about {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 50rem;
    margin: 0 auto;
}

#about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4A3228;
}

#menu {
    padding: 2rem 0;
}

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

.menu-item {
    background-color: #FFDAB9;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.menu-item-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 1.25rem;
    color: #8B4513;
    font-weight: bold;
    margin-top: auto;
    padding-top: 1rem;
}

article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    background: linear-gradient(to right, #8B4513, #D2691E);
    opacity: 0;
    transition: opacity 0.3s ease;
}

article:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(139, 69, 19, 0.15);
    background-color: #FFE4C4;
}

article:hover::before {
    opacity: 1;
}

article h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #8B4513;
}

article p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4A3228;
    margin-bottom: 0.5rem;
}

/* Animation classes */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Menu item animations */
.menu-item {
    transition: all 0.3s ease-in-out;
}

.menu-item:hover .menu-item-content {
    background-color: #FFE4C4;
}

.menu-item .price {
    transition: all 0.3s ease;
}

/* Hero section animations */
.hero {
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(139, 69, 19, 0.7),
        rgba(210, 105, 30, 0.7)
    );
    z-index: 1;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

/* Navigation animations */
nav {
    transition: all 0.3s ease;
}

nav a {
    position: relative;
    overflow: hidden;
}

/* Loading animation */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Active navigation state */
nav ul li a.active {
    color: #FFA07A;
}

nav ul li a.active::after {
    width: 100%;
}

/* Smooth transitions for menu items */
article {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    #menu .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    }
}

.contact-info {
    background-color: #FFDAB9;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(139, 69, 19, 0.1);
}

.contact-info h3 {
    color: #8B4513;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info address {
    font-style: normal;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #D2691E;
    width: 20px;
}

.contact-info a {
    color: #8B4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #D2691E;
}

.business-hours {
    margin-top: 2rem;
}

.business-hours ul {
    list-style: none;
    padding: 0;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #4A3228;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #8B4513;
    color: #FFE4C4;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #D2691E;
    transform: translateY(-3px);
}

.contact-form {
    background-color: #FFE4C4;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(139, 69, 19, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #8B4513;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #FFDAB9;
    border-radius: 0.5rem;
    background-color: #FFF;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D2691E;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #8B4513;
    color: #FFE4C4;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn:hover {
    background-color: #D2691E;
    transform: translateY(-2px);
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #FFE4C4;
    border-top-color: transparent;
    border-radius: 50%;
    margin-left: 0.5rem;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

footer {
    background: #8B4513;
    color: #FFE4C4;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #8B4513;
    color: #FFE4C4;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top:hover {
    background: #D2691E;
    transform: translateY(-3px);
}

#back-to-top.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add smooth scrolling to the entire page */
html {
    scroll-behavior: smooth;
}

/* Enhance focus states for accessibility */
:focus {
    outline: 3px solid rgba(210, 105, 30, 0.5);
    outline-offset: 2px;
}

/* Add loading indicator for images */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}