/* Universal Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: #ADD8E6; 
   
}

html {
    scroll-behavior: smooth;
}

/* Home Section */
#Home {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.2)), url(image/bg.jpg); /* Assuming you have a background image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Needed for absolute positioning of elements inside */
}

nav {
    width: 80%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background for nav */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

nav .logo img {
    width: 100px;
    cursor: pointer;
    margin-left: 20px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #333;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: #ff5722;
    display: block;
    margin: auto;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav .icon i {
    font-size: 20px;
    color: #333;
    cursor: pointer;
    margin-right: 20px;
    transition: 0.3s;
}

nav .icon i:hover {
    color: #ff5722;
}

.main {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 100px; /* Adjust based on nav height */
    width: 80%;
    max-width: 1200px;
    gap: 30px;
}

.main .men_text h1 {
    color: #000; /* Ini akan mengubah warna teks "Get Fresh" dan "in a Easy Way" menjadi hitam */

}

.main .men_text h1 span {
    color: #ff0000; /* Ini akan mengubah warna teks "Food" menjadi merah */
}

.main .main_image img {
    width: 500px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

#Home > p {
    width: 70%;
    color: #eee;
    font-size: 16px;
    line-height: 1.6;
    margin: 30px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.main_btn {
    background: #ff5722;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
}

.main_btn i {
    margin-left: 10px;
}

.main_btn:hover {
    background: #e64a19;
}

/* About Section */
.about {
    width: 100%;
    padding: 70px 0;
    background-color: #fff;
    text-align: center;
}

.about h1 {
    font-size: 3em;
    margin-bottom: 50px;
    color: #333;
}

.about h1 span {
    color: #ff5722;
}

.about_main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.about_main .image img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about_text {
    width: 50%;
    min-width: 300px;
    text-align: left;
}

.about_text h3 {
    color: #ff5722;
    font-size: 2em;
    margin-bottom: 20px;
}

.about_text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.about_btn {
    background: #ff5722;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    transition: 0.3s;
    display: inline-block;
    margin-top: 30px;
    font-size: 18px;
    font-weight: 500;
}

.about_btn:hover {
    background: #e64a19;
}

/* Menu Section */
.menu {
    width: 100%;
    padding: 70px 0;
    background-color: #aad3db; /* Contoh: Mengubah ke warna putih */
    text-align: center;
}

#Home .men_text h1 {
    font-size: 3em !important; /* Tambahkan !important */
    color: #000;
}

#Home .men_text h1 span {
    color: #ff0000;
}

.menu_box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu_card {
    background: #f5f5f5; /* Mengubah latar belakang kartu menu menjadi abu-abu muda */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.menu_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.menu_image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.menu_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.menu_card:hover .menu_image img {
    transform: scale(1.1);
}

.small_card {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5722;
    color: #fff;
    border-radius: 50%;
    padding: 8px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.menu_info {
    padding: 20px;
    text-align: left;
}

.menu_info h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.menu_info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.menu_info h3 {
    font-size: 1.5em;
    color: #ff5722;
    margin-bottom: 15px;
}

.menu_icon i {
    color: #fbc02d; /* Star color */
    margin-right: 5px;
}

.menu_btn {
    background: #ff5722;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    transition: 0.3s;
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
}

.menu_btn:hover {
    background: #e64a19;
}

/* Gallary Section */
.gallary {
    width: 100%;
    padding: 70px 0;
    background-color: #fff;
    text-align: center;
}

.gallary h1 {
    font-size: 3em;
    margin-bottom: 50px;
    color: #333;
}

.gallary h1 span {
    color: #ff5722;
}

.gallary_image_box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallary_image {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.3s;
}

.gallary_image:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallary_image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.3s;
}

.gallary_image:hover img {
    transform: scale(1.1);
}

.gallary_image h3 {
    font-size: 1.8em;
    color: #333;
    margin: 20px 0 10px;
    padding: 0 20px;
}

.gallary_image p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    padding: 0 20px;
    margin-bottom: 20px;
}

.gallary_btn {
    background: #ff5722;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    transition: 0.3s;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
}

.gallary_btn:hover {
    background: #e64a19;
}

/* Review Section */
.review {
    width: 100%;
    padding: 70px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.review h1 {
    font-size: 3em;
    margin-bottom: 50px;
    color: #333;
}

.review h1 span {
    color: #ff5722;
}

.review_box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.review_card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.review_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.review_profile {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.review_profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review_text .name {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.review_icon i {
    color: #fbc02d;
    margin-bottom: 15px;
}

.review_social i {
    color: #ff5722;
    font-size: 20px;
    margin: 0 8px;
    cursor: pointer;
    transition: 0.3s;
}

.review_social i:hover {
    color: #e64a19;
}

.review_text p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
}

/* Order Section */
.order {
    width: 100%;
    padding: 70px 0;
    background-color: #fff;
    text-align: center;
}

.order h1 {
    font-size: 3em;
    margin-bottom: 50px;
    color: #333;
}

.order h1 span {
    color: #ff5722;
}

.order_main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.order_image img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.order_main form {
    flex: 1;
    min-width: 300px;
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.order_main form .input {
    flex: 1 1 calc(50% - 20px); /* Two columns, with gap */
    min-width: 250px; /* Ensures minimum width for smaller screens */
    margin-bottom: 15px;
    text-align: left;
}

.order_main form .input p {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.order_main form .input input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.order_main form .order_btn {
    background: #ff5722;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    transition: 0.3s;
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
    cursor: pointer;
    border: none;
    width: fit-content;
}

.order_main form .order_btn:hover {
    background: #e64a19;
}

/* Team Section */
.team {
    width: 100%;
    padding: 70px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.team h1 {
    font-size: 3em;
    margin-bottom: 50px;
    color: #333;
}

.team h1 span {
    color: #ff5722;
}

.team_box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.3s;
}

.profile:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.profile img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.3s;
}

.profile:hover img {
    transform: scale(1.1);
}

.profile .info {
    padding: 20px;
    text-align: center;
}

.profile .info .name {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.profile .info .bio {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.team_icon i {
    color: #ff5722;
    font-size: 20px;
    margin: 0 8px;
    cursor: pointer;
    transition: 0.3s;
}

.team_icon i:hover {
    color: #e64a19;
}

/* Footer */
footer {
    width: 100%;
    background-color: #333;
    color: #eee;
    padding: 70px 0 20px;
    text-align: center;
}

.footer_main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
    text-align: left;
}

.footer_tag {
    margin-bottom: 20px;
}

.footer_tag h2 {
    font-size: 1.8em;
    color: #fff;
    margin-bottom: 20px;
}

.footer_tag p {
    font-size: 15px;
    color: #bbb;
    margin-bottom: 10px;
}

.footer_tag i {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.footer_tag i:hover {
    color: #ff5722;
}

.end {
    font-size: 14px;
    color: #bbb;
    margin-top: 30px;
}

.end span {
    color: #ff5722;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    nav {
        width: 90%;
        padding: 15px 0;
    }
    nav ul {
        display: none; /* Hide navigation links on smaller screens */
    }
    nav .icon {
        margin-right: 0;
    }

    .main {
        flex-direction: column;
        padding-top: 150px;
    }
    .main .men_text h1 {
        font-size: 3em;
    }
    .main .main_image img {
        width: 350px;
    }
    #Home > p {
        width: 85%;
        font-size: 15px;
    }

    .about_main {
        flex-direction: column;
    }
    .about_main .image img {
        width: 90%;
        max-width: 400px;
    }
    .about_text {
        width: 90%;
        text-align: center;
    }

    .menu_box, .gallary_image_box, .review_box, .team_box, .footer_main {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .order_main form .input {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    nav .logo img {
        width: 80px;
        margin-left: 10px;
    }
    nav .icon i {
        font-size: 18px;
        margin-right: 10px;
    }
    .main .men_text h1 {
        font-size: 2.5em;
    }
    .main .main_image img {
        width: 280px;
    }
    #Home > p {
        font-size: 14px;
    }
    .main_btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .about h1, .menu h1, .gallary h1, .review h1, .order h1, .team h1 {
        font-size: 2.5em;
    }

    .about_text h3 {
        font-size: 1.8em;
    }
}