 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fcfcfc;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #8e6d00;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: #8e6d00; }

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 15px;
}

.explore-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 40px;
    background: #8e6d00;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.explore-btn:hover { background: #6b5200; transform: scale(1.05);
                    
.menu-container {
    padding: 80px 8%;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #222;
}

input[type="radio"] { display: none; }

.filter-nav {
    text-align: center;
    margin-bottom: 50px;
}

.filter-label {
    padding: 10px 25px;
    border: 2px solid #8e6d00;
    border-radius: 50px;
    margin: 5px;
    cursor: pointer;
    font-weight: 600;
    color: #8e6d00;
    transition: 0.3s;
}

#all:checked ~ .filter-nav label[for="all"],
#starters-filter:checked ~ .filter-nav label[for="starters-filter"],
#main-filter:checked ~ .filter-nav label[for="main-filter"],
#dessert-filter:checked ~ .filter-nav label[for="dessert-filter"] {
    background: #8e6d00;
    color: white;

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#starters-filter:checked ~ .menu-grid .food-card:not(.starter) { display: none; }
#main-filter:checked ~ .menu-grid .food-card:not(.main) { display: none; }
#dessert-filter:checked ~ .menu-grid .food-card:not(.dessert) { display: none; }
.food-card {
    background: white;
    border-radius: 20px;
    overflow: hidden; /* Important: rounding apply aaga idhu venum */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
}

.food-card:hover { transform: translateY(-10px); }

.img-box {
    width: 100%;
    height: 220px;       
    overflow: hidden;    
    border-radius: 15px 15px 0 0; 
}

.img-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;  
    object-position: center;
    
    transition: transform 0.5s ease; 
}
.food-card:hover .img-box img {
    transform: scale(1.1);
}
.type-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 22px;
    height: 22px;
    background: white;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    border-radius: 2px;
}

.type-tag::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.veg { border-color: green; }
.veg::after { background: green; }

.non-veg { border-color: red; }
.non-veg::after { background: red; }

.details { padding: 25px; text-align: center; }
.details h3 { margin-bottom: 8px; color: #333; font-size: 1.3rem; }
.details p { font-size: 0.9rem; color: #777; margin-bottom: 15px; height: 40px; }
.price { font-weight: bold; font-size: 1.4rem; color: #8e6d00; }

.footer {
    text-align: center;
    padding: 40px;
    background: #1a1a1a;
    color: #888;
}

@media (max-width: 900px) {
    .menu-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .menu-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }

}
