﻿
/* ===== GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto',sans-serif;
}

body {
    background: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.container_header {
    width: 96%;
    /*max-width: 1200px;*/
    margin: auto;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #ff4b2b;
}

/* NAVIGATION */
.nav {
    display: flex;
}

    .nav ul {
        display: flex;
        list-style: none;
        gap: 25px;
    }

    .nav a {
        text-decoration: none;
        color: #333;
        font-weight: 600;
        transition: 0.3s;
    }

        .nav a:hover {
            color: #ff4b2b;
        }

.btn {
    padding: 8px 15px;
    background: #ff4b2b;
    color: #fff !important;
    border-radius: 5px;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #ff4b2b;
    }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.carousel-slide img {
    position: absolute;
    width: 100%;
    height: 85vh;
    object-fit: cover;
    display: none;
}

.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

    .carousel-text h2 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .carousel-text p {
        margin-bottom: 20px;
        font-size: 1.2rem;
    }

    .carousel-text a {
        background: #ff4b2b;
        padding: 12px 25px;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
    }

/* ===== SECTIONS ===== */
section {
    padding: 5px 0;
    text-align: center;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    /*grid-template-columns: repeat(3, 1fr);*/ /* 3 per row */
}

.card {
    background: #fff;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .card h3 {
        padding: 15px;
        color: #ff4b2b;
    }

    .card p {
        padding: 0 15px 15px;
    }

/* CONTACT */
.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact button {
    padding: 12px;
    border: none;
    background: #ff4b2b;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* ===== MOBILE ===== */
@media(max-width:768px) {

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        display: none;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

        .nav ul {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .nav.active {
            display: flex;
        }

    .hamburger {
        display: flex;
    }

    .carousel-text h2 {
        font-size: 2rem;
    }

    .carousel-text p {
        font-size: 1rem;
    }
}














/*//rest cards*/


.section-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.restaurant-card {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

    .restaurant-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.rest-img {
    position: relative;
    height: 180px;
}

    .rest-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.delivery {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: black;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.veg {
    position: absolute;
    top: 10px;
    left: 10px;
    background: green;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.rest-body {
    padding: 15px;
}

.rest-info {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 14px;
}

.address {
    font-size: 13px;
    color: #666;
}











.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    width: 320px;
    text-align: center;
}

    .modal-box input {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 8px;
    }










.profile-wrapper {
    position: relative;
    display: inline-block;
}

.profile-icon img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ff5722;
}

/* DROPDOWN */
.profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    min-width: 200px;
    padding: 10px 0;
    z-index: 999;
}

.profile-header {
    padding: 10px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.profile-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

    .profile-dropdown a:hover {
        background: #fff3e0;
    }