@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: #fff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(44, 62, 80, 0.9); 
    backdrop-filter: blur(10px); 
    padding: 15px 8%;
    color: white;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
}

.logo span {
    color: #e67e22;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #e67e22;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

.btn:hover {
    background-color: #d35400;
    transform: scale(1.05);
}

.menu-filters {
    padding: 100px 8%;
    text-align: center;
    background-color: #ffffff;
}

.section-title {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.underline {
    width: 70px;
    height: 4px;
    background: #e67e22;
    margin: 0 auto 40px;
    border-radius: 2px;
}

.search-container {
    max-width: 500px;
    margin: 0 auto 30px;
}

#menu-search {
    width: 100%;
    padding: 12px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

#menu-search:focus {
    border-color: #e67e22;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 22px;
    border: none;
    background: #f4f4f4;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #e67e22;
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.food-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: left;
}

.food-card:hover {
    transform: translateY(-8px);
}

.food-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-content {
    padding: 20px;
}

.food-content h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.food-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    height: 40px;
}

.food-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: #e67e22;
    font-weight: bold;
    font-size: 1.2rem;
}

.order-btn {
    padding: 8px 15px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
}

.order-btn:hover {
    background: #e67e22;
}

.about {
    padding: 100px 8%;
    background-color: #f8f9fa;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact {
    padding: 100px 8%;
    background-color: #ffffff;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
    text-align: left;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-info h3 {
    margin-top: 20px;
    color: #e67e22;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 8% 20px;
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-logo span {
    color: #e67e22;
}

.footer p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.social-links {
    margin-bottom: 30px;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #e67e22;
}

hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.copyright {
    font-size: 12px;
}
.nav-links a.active {
    color: #e67e22 !important;
    font-weight: bold;
    border-bottom: 2px solid #e67e22;
}
/* --- Mobile Responsive Fixes --- */
@media (max-width: 600px) {
    
    /* Navigation Bar adjustment */
    .nav-links {
        display: flex;
        gap: 8px; 
        padding: 0;
    }

    .nav-links li a {
        font-size: 13px; 
    }

    /* Contact Section Layout adjustment */
    .contact-container {
        flex-direction: column; 
        align-items: center;
        gap: 30px;
        padding: 0 15px;
    }

    .contact-info {
        max-width: 100% !important; 
        text-align: center; 
        padding: 0;
    }

    .info-item h3, .info-item p {
        font-size: 15px; 
    }

    /* Contact Form adjustment */
    .contact-form {
        max-width: 100% !important;
        width: 100%;
    }
}
/* Optimized Mobile Responsive Styles */

@media (max-width: 768px) {
    
    /* Navbar Adjustment */
    .navbar {
        padding: 10px 5px !important;
        display: flex !important;
        flex-direction: column !important; /* Stack logo and links if space is too small */
        align-items: center !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important; 
        justify-content: center !important;
        gap: 8px !important; /* Small gap to fit all 4 items */
        padding: 0 !important;
        margin: 10px 0 0 0 !important;
        width: 100% !important;
        list-style: none !important;
    }

    .nav-links li {
        margin: 0 !important;
    }

    .nav-links li a {
        font-size: 12px !important; /* Adjusted for readability and space */
        padding: 5px 2px !important;
        white-space: nowrap !important;
        font-weight: 500 !important;
    }

    /* Contact Section - Center Alignment */
    .contact-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 30px !important;
        padding: 0 15px !important;
    }

    .contact-info {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .info-item {
        margin-bottom: 20px !important;
    }
}
