body {
    background-color: rgb(203, 137, 148);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

header {
    background-color: rgb(102, 48, 56);
}

nav {
	display: flex;
	align-items: center;
}

nav ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	margin-left: auto;
}

.logo {
	display: flex;
	align-items: center;
}

.logo h1 {
	color: #FAF7F2;
}

header img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
}

header nav ul li {
	padding: 30px;
	font-size: 30px;
}

header nav ul li a {
	text-decoration: none;
	color: #0c0b09;
}

header nav img {
    padding: 30px;
}

.container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.container img {
	width: 500px;
	height: 500px;
	border-radius: 20px;
}

.content {
    background-color: #f9ccd3;
    border-radius: 20px;
    padding: 50px;
    font-size: 20px;
    font-family: monospace;
    margin: 40px;
}

.content button {
    background-color: rgb(238, 224, 228);
    color: rgb(15, 15, 15);
    font-size: larger;
    font-family: cursive;
    padding: 10px;
    font-weight: 200;
}

#menu{
    background-color:rgb(228, 195, 200);
    padding: 50px;
    font-size: 25px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 100px;
    color: rgb(127, 51, 51);
    text-align: center;
}

.items button {
    font-size: 30px;
    padding: 20px;
    margin: 20px;
    background-color: rgb(17, 1, 3);
    color: white;
}

footer {
    background-color: black;
    padding: 30px;
    margin-bottom: 0%;
    color: white;
    font-size: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    gap: 60px;
    margin-top: 10px;
}

.sipsnapimages {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.sipsnapimages img {
	height: 200px;
	width: 200px;
	padding: 10px;
	border-radius: 90px;
}

#img {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.section-three {
    padding-left: 150px;
    padding-right: 150px;
}

.section-three h2 {
    font-size: 60px;
    font-family: cursive;
    text-align: center;
}

.section-four {
    background-image: url(order.jpg);
    text-align: center;
    padding: 150px;
    margin-top: 100px;
}

.section-four div {
    background-color: rgba(0, 0, 0, 0.482);
    border-radius: 20px;
}

.order {
    color: rgb(0, 0, 0);
    padding: 50px;
    font-size: 20px;
    font-family: monospace;
    margin: 40px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
}

.section-four button {
	font-size: 20px;
	padding: 20px;
	margin: 20px;
	border-radius: 20px;
	background-color: rgb(161, 82, 95);
	color: rgb(255, 255, 255);
	font-family: cursive;
	font-weight: 700;
}

button {
	border: 0;
	border-radius: 10px;
	box-shadow: 2px 2px 5px rgb(0, 0, 0, 0.2);
    font-size: 20px;
    padding: 20px;
    margin: 20px;
    border-radius: 20px;
    background-color: rgb(161, 82, 95);
    color: rgb(255, 255, 255);
    font-family: cursive;
    font-weight: 700;
}

/* ---------- TABLET (max-width: 768px) ---------- */
@media (max-width: 768px) {
    .logo {
        gap: 20px;
        justify-content: center;
        text-align: center;
    }

    header nav ul {
        justify-content: center;
    }

    header nav ul li {
        padding: 15px;
        font-size: 20px;
    }

    #container img {
        width: 100%;
        height: auto;
        margin: 10px 0;
    }

    .content {
        padding: 20px;
        margin: 20px;
        font-size: 16px;
    }

    #menu {
        padding: 20px;
        margin: 40px 20px;
        font-size: 18px;
    }

    .items button {
        font-size: 20px;
        padding: 14px;
        margin: 10px;
    }

    .section-three {
        padding-left: 30px;
        padding-right: 30px;
    }

    .section-three h2 {
        font-size: 36px;
    }

    #img {
        grid-template-columns: repeat(3, 1fr);
    }

    #imgs img {
        height: 120px;
        width: 120px;
    }

    .section-four {
        padding: 60px 20px;
        margin-top: 40px;
    }

    .order {
        padding: 20px;
        margin: 20px;
        font-size: 16px;
    }

    footer {
        font-size: 16px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ---------- MOBILE (max-width: 480px) ---------- */
@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .logo h1 {
        font-size: 20px;
    }

    header img {
        width: 60px;
        height: 60px;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        padding: 10px;
        font-size: 18px;
    }

    .content {
        padding: 15px;
        margin: 10px;
        font-size: 14px;
    }

    #menu {
        padding: 15px;
        margin: 20px 10px;
        font-size: 16px;
    }

    .items {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .items button {
        font-size: 16px;
        padding: 10px;
        margin: 8px;
    }

    .section-three {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-three h2 {
        font-size: 26px;
    }

    #img {
        grid-template-columns: repeat(2, 1fr);
    }

    #imgs img {
        height: 100px;
        width: 100px;
        border-radius: 20px;
    }

    .section-four {
        padding: 40px 15px;
        margin-top: 20px;
    }

    .section-four button {
        font-size: 16px;
        padding: 12px;
        margin: 10px;
        width: 100%;
    }

    .order {
        padding: 15px;
        margin: 10px;
        font-size: 14px;
    }

    footer {
        font-size: 14px;
        padding: 20px;
    }
}
/* Table Reservation Styles */
.section-five {
    padding: 60px 20px;
    background-color: #fff5f7; /* Matching your theme's light pink/cream */
    text-align: center;
}

#reservation-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#reservation-form input, 
#reservation-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ffe0f0;
    border-radius: 15px;
    outline: none;
    font-family: inherit;
}

#reservation-form textarea {
    height: 100px;
    margin-bottom: 20px;
    resize: none;
}

.reserve-btn {
    background-color: #ffb7c5; /* Cozy Pink */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.reserve-btn:hover {
    background-color: #ff9aa2;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}
/* Menu Category Button Styles */
.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
}

.items button {
    background-color: #ffffff;
    color: rgb(118,46,63); /* Soft muted maroon */
    border: 2px solid #ffe0f0;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 183, 197, 0.1);
}

/* Hover State */
.items button:hover {
    background-color: #ffb7c5; /* Cozy Pink */
    color: white;
    border-color: #ffb7c5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 183, 197, 0.3);
}

/* Active/Selected State (Optional: add this class via JS) */
.items button.active {
    background-color: #ffb7c5;
    color: white;
    border-color: #ffb7c5;
}

/* Ensuring the section title looks good */
.section-two h1 {
    text-align: center;
    color: rgb(112,74,76);
    margin-bottom: 20px;
}
/* Container for the cards */
.items-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

/* The Card */
.food-card {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(255, 183, 197, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #ffe0f0;
    display: flex;
    flex-direction: column;
}

.food-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 183, 197, 0.3);
}

/* Image Section */
.card-img-wrapper {
    position: relative;
    height: 220px; /* Fixed height for consistent look */
    width: 100%;
    overflow: hidden;
}

.food-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    
}

.food-card:hover .food-img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: rgb(187,133,136);
}

/* Text Content */
.card-content {
    padding: 20px;
    
}

.card-content h3 {
    margin: 0 0 10px;
    color: #514e6b;
    font-size: 18px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.price {
    font-size: 20px;
    font-weight: 800;
    color: rgb(97,120,145);
}

.order-btn {
    background: #ffb7c5;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.order-btn:hover {
    background: #ff9aa2;
}
.cart-btn-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffb7c5;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 183, 197, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 1000;
    font-weight: bold;
    transition: 0.3s;
}

.cart-btn-float:hover {
    transform: scale(1.1);
    background: #ff9aa2;
}

#cart-count {
    background: white;
    color: #ff9aa2;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 14px;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 215, 230, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-content {
    background: white;
    width: min(450px, 90%);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(255, 183, 197, 0.3);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

#cart-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ffeef2;
}

.total-section {
    font-size: 20px;
    font-weight: 800;
    color: #ff9aa2;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.checkout-btn {
    width: 100%;
    background: #ffb7c5;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}
.section-feedback {
    padding: 60px 20px;
    background-color: #fffafb;
    text-align: center;
}

#feedback-form {
    max-width: 500px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#feedback-form input, #feedback-form textarea {
    padding: 12px;
    border-radius: 15px;
    border: 2px solid #ffeef2;
    outline: none;
}

.submit-feedback-btn {
    background-color: #ffb7c5;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.feedback-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 183, 197, 0.1);
    margin: 0 auto 20px;
    text-align: left;
    max-width: 600px;
    border-left: 5px solid #ffb7c5;
}
.stars {
    display: flex;
    flex-direction: row-reverse; /* Allows us to use the ~ selector easily */
    justify-content: center;
    gap: 5px;
}


.stars input { display: none; } /* Hide the actual radio buttons */


.stars label {
    font-size: 30px;
    color: #b593a5;
    cursor: pointer;
    transition: 0.2s;
}


/* Color stars on hover and when checked */
.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label {
    color: #f7f018;
}
