/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: beige;
    color: aliceblue;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* Header and Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.sticky {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    width: 100%;
    padding: 1rem 0;
}

.navbar-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#logo {
    color: #5eff00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(94, 255, 0, 0.3);
    transition: all 0.3s ease;
}

#logo:hover {
    text-shadow: rgb(255, 255, 255) 1px 0 10px;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-item {
    margin: 0 1rem;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: rgb(255, 238, 0);
    font-weight: bold;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(255, 238, 0);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #fff;
}

#contact-us {
    padding: 0.6rem 1.2rem;
    border: none;
    background-color: rgb(255, 0, 0);
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

#contact-us:hover {
    background-color: transparent;
    color: rgb(255, 0, 0);
    border: 2px solid rgb(255, 0, 0);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.4);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 2;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: rgb(255, 238, 0);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero section - Improved */
#top {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    overflow: hidden;
}

#top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(Images/bg_image.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7) contrast(1.1);
    z-index: -2;
}

#top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

/* Main content - Improved */
#text {
    max-width: 700px;
    width: 100%;
    padding: 3rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform 0.5s ease;
    animation: fadeIn 1s ease-out;
}

#text:hover {
    transform: translateY(-10px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#text h3 {
    margin-bottom: 2rem;
}

#text p {
    font-size: 1.1rem;
    color: rgb(94, 162, 250);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#color1 {
    color: rgb(243, 132, 243);
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(243, 132, 243, 0.5);
    font-weight: bold;
    letter-spacing: 1px;
}

#color2 {
    display: block;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-weight: bold;
    letter-spacing: 1px;
}

.city-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cities {
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid rgb(255, 238, 0);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.3);
    color: aqua;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgb(255, 238, 0);
    transition: all 0.3s ease;
    z-index: -1;
    border-radius: 28px;
}

.cities:hover {
    color: rgb(0, 0, 0);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 238, 0, 0.3);
}

.cities:hover::before {
    width: 100%;
}

/* Menu started */
#menu {
    font-size: 34px;
    font-weight: bold;
    margin-top: 80px;
    width: 100%;
    min-height: 100vh;
    color: blue;
    padding: 20px;
    background-color: beige;
    text-align: center;
    font-weight: bold;
}

h3 {
    font-size: 35px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    margin: 50px;
    color: #5eff00;
}

/* 
#pic {
    width: 70%;
    margin: auto;
    position: relative;
    background-color: aliceblue;
}

#pic1 {
    width: 500px;
    height: 350px;
    position: absolute;
    left: 5vh;
    border-radius: 30px;
}

#pic2 {
    width: 400px;
    height: 300px;
    position: absolute;
    top: 35vh;
    right: 12vh;
    border-radius: 25px;
}

#pic3 {
    width: 250px;
    height: 150px;
    position: absolute;
    left: 22vh;
    border-radius: 15px;
    top: 57vh;
}

#pic4 {
    width: 250px;
    height: 150px;
    position: absolute;
    top: 5vh;
    right: 18vh;
    border-radius: 15px;
} */

/* Social Media Icons - Responsive */
.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 99;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.whatsapp {
    background-color: #25D366;
}

.social-icon.whatsapp:hover {
    background-color: transparent;
    border-color: #25D366;
    color: #25D366;
}

/* Chefs Section */
#chefs {
    width: 100%;
    min-height: 100vh;
    text-align: center;
    padding: 10px;
    background-color: rgb(196, 246, 255);
    color: rgb(0, 0, 0);
}

#chefcards {
    text-align: center;
    margin-top: 10vh;
}

.card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 10px;
}

.card {
    display: inline-block;
    width: 300px;
    height: 300px;
    margin: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

#chefs p {
    width: 50%;
    margin: auto;
    margin-top: 30px;
}

/* Selection and Container */
.selection {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

select {
    width: 180px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

select:hover {
    border-color: #007bff;
}

#container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    justify-content: center;
}

.cards {
    background-color: #ffffff;
    /* White background for contrast */
    border-radius: 12px;
    /* Rounded corners */
    overflow: hidden;
    /* Ensures child elements don't overflow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Softer shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition */
    padding: 20px;
    /* Increased padding for better spacing */
    text-align: center;
    /* Centered text */
    position: relative;
    /* For positioning pseudo-elements */
}

.cards:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    /* Deeper shadow on hover */
}

.cards img {
    width: 100%;
    /* Full width */
    height: 180px;
    /* Fixed height */
    object-fit: cover;
    /* Cover the area without distortion */
    border-radius: 8px;
    /* Rounded corners for the image */
    transition: transform 0.3s ease;
    /* Smooth zoom effect */
}

.cards img:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.cards h3 {
    color: #e74c3c;
    /* Primary color for headings */
    font-size: 1.6rem;
    /* Increased font size */
    margin: 15px 0;
    /* Spacing above and below */
    font-weight: bold;
    /* Bold text for emphasis */
}

.cards p {
    font-size: 0.95rem;
    /* Slightly larger font size */
    color: #555;
    /* Dark gray for better readability */
    margin: 8px 0;
    /* Spacing between paragraphs */
}

.cards p strong {
    color: #333;
    /* Darker color for strong text */
}

.hide {
    display: none;
    /* Hide class for filtering */
}

.read-more {
    background-color: #e74c3c;
    /* Button background color */
    color: white;
    /* Button text color */
    border: none;
    /* No border */
    border-radius: 5px;
    /* Rounded corners */
    padding: 10px 15px;
    /* Padding inside the button */
    font-size: 1rem;
    /* Font size */
    cursor: pointer;
    /* Pointer cursor on hover */
    transition: background-color 0.3s ease;
    /* Smooth background color transition */
    margin-top: 10px;
    /* Spacing above the button */
}

.read-more:hover {
    background-color: #c0392b;
    /* Darker shade on hover */
}


/* Modern Form Styling */
#footer {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #333;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 16px;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
    width: 100%;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container i {
    position: absolute;
    top: 15px;
    left: 10px;
    color: #999;
    transition: all 0.3s ease;
    z-index: 1;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 15px 15px 15px 40px;
    border: none;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.input-container textarea {
    resize: none;
    min-height: 120px;
}

.input-container label {
    position: absolute;
    top: 15px;
    left: 40px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-container input:focus,
.input-container textarea:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.input-container input:focus~label,
.input-container textarea:focus~label,
.input-container input:valid~label,
.input-container textarea:valid~label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #ff416c;
    background-color: #fff;
    padding: 0 5px;
}

.input-container input:focus~i,
.input-container textarea:focus~i {
    color: #ff416c;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    transition: all 0.3s ease;
}

.input-container input:focus~.focus-border,
.input-container textarea:focus~.focus-border {
    width: 100%;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 65, 108, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    transition: all 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.footer-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 5px solid white;
    margin-bottom: 30px;
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.copyright {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

/* Improved Media Queries */

/* Large Screens (992px to 1200px) */
@media screen and (max-width: 1200px) {

    /* Add styles for large screens that aren't quite desktop size */
    #text {
        max-width: 600px;
    }

    #chefs p {
        width: 70%;
    }

    #footer {
        padding-bottom: 40px;
    }

    .form-container {
        max-width: 80%;
    }

    .footer-image {
        width: 180px;
        height: 180px;
    }
}

/* Medium Screens (768px to 992px) */
@media screen and (max-width: 992px) {
    .nav-item {
        margin: 0 0.5rem;
    }

    #logo {
        font-size: 1.8rem;
    }

    #contact-us {
        padding: 0.5rem 1rem;
    }

    #color1 {
        font-size: 2.5rem;
    }

    #color2 {
        font-size: 2rem;
    }

    #text {
        padding: 2.5rem;
    }

    /* Chef cards adjustments */
    .card {
        width: 250px;
        height: 280px;
    }

    /* Menu adjustments */
    #container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* Form adjustments */
    .form-container {
        padding: 35px;
    }

    .form-header h3 {
        font-size: 26px;
    }
}

/* Tablets (600px to 768px) */
@media screen and (max-width: 768px) {

    /* Navbar adjustments */
    .menu-toggle {
        display: flex;
    }

    .navbar-container {
        padding: 1rem 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 0;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
        border-radius: 0 0 10px 10px;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #5eff00;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }

    #logo {
        font-size: 1.5rem;
    }

    #contact-us {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    /* Hero section adjustments */
    #color1 {
        font-size: 2rem;
    }

    #color2 {
        font-size: 1.5rem;
    }

    #text {
        padding: 2rem;
        max-width: 90%;
    }

    /* Menu section adjustments */
    .selection {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    select {
        width: 80%;
        max-width: 300px;
    }

    /* Chef section adjustments */
    #chefcards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10vh;
    }

    .card {
        width: 45%;
        min-width: 220px;
        height: auto;
        padding-bottom: 15px;
    }

    #chefs p {
        width: 90%;
    }

    /* Form adjustments */
    .form-container {
        padding: 30px;
        width: 95%;
    }

    .form-header h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .form-header p {
        font-size: 15px;
    }

    .footer-image {
        width: 150px;
        height: 150px;
    }

    /* Social icons for tablet */
    .social-icons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Mobile Landscape (480px to 600px) */
@media screen and (max-width: 600px) {

    /* Hero section adjustments */
    #top {
        padding-top: 70px;
    }

    #text {
        padding: 1.8rem;
    }

    #color1 {
        font-size: 1.8rem;
    }

    #color2 {
        font-size: 1.4rem;
    }

    .cities {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    /* Menu section adjustments */
    #menu h3 {
        font-size: 28px;
        margin: 30px 0;
    }

    #container {
        padding: 10px;
        gap: 15px;
    }

    .cards h3 {
        font-size: 1.3rem;
    }

    /* Chef section adjustments */
    .card {
        width: 90%;
        margin: 10px auto;
    }

    /* Form adjustments */
    .form-container {
        padding: 25px;
    }

    .form-header h3 {
        font-size: 22px;
        margin: 0 0 8px 0;
    }

    .input-container input,
    .input-container textarea {
        padding: 14px 14px 14px 38px;
    }

    .submit-btn {
        padding: 14px;
    }
}

/* Small Mobile Devices (up to 480px) */
@media screen and (max-width: 480px) {

    /* Navbar adjustments */
    .navbar-container {
        width: 95%;
    }

    #contact-us {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    #logo {
        font-size: 1.2rem;
    }

    /* Hero section adjustments */
    #color1 {
        font-size: 1.5rem;
    }

    #color2 {
        font-size: 1.2rem;
    }

    #text {
        padding: 1.5rem;
        border-radius: 15px;
    }

    #text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .cities {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Menu section adjustments */
    #menu h3 {
        font-size: 24px;
        margin: 20px 0;
    }

    select {
        width: 90%;
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Chef section adjustments */
    #chefs h3 {
        font-size: 24px;
    }

    .card img {
        width: 120px;
        height: 120px;
    }

    /* Form adjustments */
    .form-container {
        padding: 20px;
    }

    .form-header h3 {
        font-size: 22px;
    }

    .form-header p {
        font-size: 14px;
    }

    .input-container input,
    .input-container textarea {
        padding: 12px 12px 12px 35px;
        font-size: 14px;
    }

    .input-container i {
        top: 12px;
        left: 8px;
    }

    .input-container label {
        top: 12px;
        left: 35px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }

    .footer-image {
        width: 120px;
        height: 120px;
    }

    /* Social icons for mobile */
    .social-icons {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Very Small Devices (up to 360px) */
@media screen and (max-width: 360px) {
    #logo {
        font-size: 1rem;
    }

    #contact-us {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }

    #color1 {
        font-size: 1.3rem;
    }

    #color2 {
        font-size: 1.1rem;
    }

    .cities {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Form adjustments */
    .form-container {
        padding: 15px;
    }

    .form-header h3 {
        font-size: 20px;
        margin: 0 0 5px 0;
    }

    .form-header p {
        font-size: 13px;
    }

    .form-group {
        gap: 20px;
    }

    .input-container input,
    .input-container textarea {
        padding: 10px 10px 10px 30px;
        font-size: 13px;
    }

    .input-container i {
        top: 10px;
        left: 7px;
        font-size: 14px;
    }

    .input-container label {
        top: 10px;
        left: 30px;
        font-size: 13px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 13px;
    }

    .footer-image {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .copyright {
        font-size: 12px;
    }

    /* Social icons for very small screens */
    .social-icons {
        flex-direction: column;
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}