* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Base structural alignment changes */
section {
    width: 100%;
    min-height: 100vh;
    padding-top: 80px; /* Space for the fixed navbar */
}

section nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 0 5%;
}

section nav .logo img {
    width: 60px;
    cursor: pointer;
    margin: 7px 0;
}

section nav ul {
    list-style: none;
    display: flex;
}

section nav ul li {
    margin: 0 15px;
}

section nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 17px;
    transition: 0.1s;
}

section nav ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: #fac031;
    display: block;
    transition: 0.2s linear;
}

section nav ul li a:hover::after {
    width: 100%;
}

section nav ul li a:hover {
    color: #fac031;
}

section nav .icon i {
    font-size: 18px;
    color: #000;
    margin: 0 8px;
    cursor: pointer;
    transition: 0.3s;
}

section nav .icon i:hover {
    color: #fac031;
}

/* Flex layout replacing relative positions */
section .main {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 5%;
    flex-wrap: wrap;
    min-height: calc(100vh - 80px);
}

section .main .main_content {
    max-width: 550px;
    width: 100%;
}

section .main .men_text h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

section .main .men_text h1 span {
    color: #fac031;
    font-size: 65px;
    display: block;
}

section p {
    text-align: justify;
    line-height: 24px;
    margin-bottom: 25px;
}

section .main_btn {
    background: #fac031;
    width: 130px;
    cursor: pointer;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;
}

section .main_btn a {
    color: #fff;
    text-decoration: none;
}

section .main_btn i {
    color: #fff;
    transition: 0.3s;
}

section .main_btn:hover i {
    transform: translateX(7px);
}

section .main .main_image img {
    max-width: 100%;
    width: 500px;
    height: auto;
}

/* About Section Setup */
.about {
    width: 100%;
    min-height: 100vh;
    padding: 80px 5%;
    display: flex;
    align-items: center;
}

.about .about_main {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
}

.about .about_main .image img {
    max-width: 100%;
    width: 500px;
    height: auto;
}

.about .about_main .about_text {
    max-width: 550px;
    width: 100%;
}

.about .about_main .about_text h1 {
    font-size: 45px;
    margin-bottom: 20px;
}

/* Menu Grid System */
.menu {
    width: 100%;
    padding: 80px 5%;
}

.menu h1 {
    font-size: 45px;
    text-align: center;
    margin-bottom: 40px;
}

.menu h1 span {
    color: #fac031;
}

.menu .menu_box {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 25px;
    justify-items: center;
}

.menu .menu_box .menu_card {
    width: 100%;
    max-width: 310px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu .menu_box .menu_card .menu_image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
}

.menu .menu_box .menu_card .menu_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.menu .menu_box .menu_card:hover .menu_image img {
    transform: scale(1.08);
}

.menu .menu_box .menu_card .menu_info h2 {
    text-align: center;
    margin: 15px 0 10px;
    font-size: 22px;
    color: #fac031;
}

.menu .menu_box .menu_card .menu_info p {
    text-align: center;
    font-size: 14px;
    color: #555;
}

.menu .menu_box .menu_card .menu_info h3 {
    text-align: center;
    margin: 10px 0;
}

.menu .menu_box .menu_card .menu_info .menu_icon {
    color: #fac031;
    text-align: center;
    margin-bottom: 15px;
}

.menu .menu_box .menu_card .menu_info .menu_btn {
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
    background: #000;
    padding: 10px;
    border-radius: 4px;
    transition: 0.3s;
}

.menu .menu_box .menu_card .menu_info .menu_btn:hover {
    background: #fac031;
}

/* Gallery Layout Configuration */
.gallary {
    width: 100%;
    padding: 80px 5%;
}

.gallary h1 {
    font-size: 45px;
    text-align: center;
    margin-bottom: 40px;
}

.gallary .gallary_image_box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 20px;
}

.gallary .gallary_image_box .gallary_image {
    position: relative;
    overflow: hidden;
    background: black;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.gallary .gallary_image_box .gallary_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.gallary .gallary_image_box .gallary_image:hover img {
    opacity: 0.3;
}

.gallary .gallary_image_box .gallary_image h3, 
.gallary .gallary_image_box .gallary_image p,
.gallary .gallary_image_box .gallary_image .gallary_btn {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;
    z-index: 5;
    transition: 0.3s ease-in-out;
    color: white;
    text-align: center;
    width: 85%;
}

.gallary .gallary_image_box .gallary_image h3 { top: 15%; color: #fac031; font-size: 26px; }
.gallary .gallary_image_box .gallary_image p { top: 40%; font-size: 14px; }
.gallary .gallary_image_box .gallary_image .gallary_btn { 
    bottom: 15%; 
    background: #fac031; 
    color: #000; 
    padding: 8px 20px; 
    text-decoration: none; 
    width: auto;
    border-radius: 4px;
}

.gallary .gallary_image_box .gallary_image:hover h3,
.gallary .gallary_image_box .gallary_image:hover p,
.gallary .gallary_image_box .gallary_image:hover .gallary_btn {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Review System Setup */
.review {
    width: 100%;
    min-height: 100vh;
    padding: 80px 5%;
}

.review h1 {
    font-size: 45px;
    text-align: center;
    margin-bottom: 40px;
}

.review .review_box {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.review .review_box .review_card {
    width: 100%;
    max-width: 340px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 30px 20px;
    background: #fff;
    text-align: center;
}

.review .review_box .review_card .review_profile img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fac031;
    margin-bottom: 15px;
}

.review .review_box .review_card .review_text .name {
    font-size: 20px;
    margin-bottom: 5px;
}

.review .review_box .review_card .review_text .review_icon {
    color: #fac031;
    margin-bottom: 15px;
}

/* Order Section Integration */
.order {
    width: 100%;
    min-height: 100vh;
    padding: 80px 5%;
    background-color: #f9f9f9;
}

.order h1 {
    text-align: center;
    font-size: 45px;
    margin-bottom: 40px;
}

.order .order_main {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.order .order_main .order_image img {
    max-width: 100%;
    width: 450px;
    height: auto;
}

.order .order_main form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    max-width: 600px;
    width: 100%;
}

.order .order_main form .input input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #cccccc;
    background: #fff;
    outline: none;
    border-radius: 4px;
    margin-top: 5px;
}

.order .order_main form .input input:focus {
    border: 2px solid #fac031;
}

.order .order_main form .order_btn_submit {
    grid-column: span 2;
    padding: 12px;
    background: #fac031;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.order .order_main form .order_btn_submit:hover {
    background: #e0ab28;
}

/* Footer Grid Layout */
footer {
    width: 100%;
    padding: 50px 5% 20px;
    background: #eeeeee;
}

footer .footer_main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px;
}

footer .footer_main .footer_tag h2 {
    margin-bottom: 15px;
    font-size: 22px;
}

footer .footer_main .footer_tag a {
    text-decoration: none;
    color: #333;
}

footer .footer_main .footer_tag i {
    margin: 10px 5px 0 0;
    font-size: 20px;
    cursor: pointer;
}

footer .footer_main .footer_tag i:hover {
    color: #fac031;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #fac031; border-radius: 5px; }


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Handling Mobile & Tablet Breaks gracefully)
   ========================================================================== */

@media (max-width: 992px) {
    section nav ul {
        display: none; /* In a real project, you would substitute a mobile hamburger icon here */
    }
    section .main, .about .about_main, .order .order_main {
        flex-direction: column;
        text-align: center;
    }
    section .main .main_content, .about .about_main .about_text {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    section p, .about .about_main .about_text p {
        text-align: center;
    }
}

@media (max-width: 600px) {
    section .main .men_text h1 { font-size: 32px; }
    section .main .men_text h1 span { font-size: 50px; }
    .order .order_main form {
        grid-template-columns: 1fr;
    }
    .order .order_main form .order_btn_submit {
        grid-column: span 1;
    }
}