 /* Reset and Base Styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --accent-color: #8BC34A;
    --text-primary: #212121;
    --text-secondary: #757575;
    --white: #FFFFFF;
    --grey-light: #F5F5F5;
    --grey: #EEEEEE;
    --animation-speed: 0.3s;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--animation-speed);
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--animation-speed);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

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

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    font-weight: 500;
    transition: color var(--animation-speed);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--animation-speed);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}



.hamburger {
    display: inline-block;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--animation-speed);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-btns {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-btn {
    margin: 0 10px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: var(--white);
}

/* Popular Dishes Section */
.popular-dishes {
    background-color: var(--grey-light);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.dish-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--animation-speed);
}

.dish-card:hover {
    transform: translateY(-10px);
}

.dish-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dish-info {
    padding: 20px;
}

.dish-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.dish-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.dish-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.dish-rating {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.dish-rating i {
    color: #FFD700;
    margin-right: 5px;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--background);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: var(--grey-light);
    transition: transform var(--animation-speed);
}

.why-us-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-us-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-us-description {
    color: var(--text-secondary);
}


/* Our Story Section */
.our-story {
    background-color: var(--background);
}

.our-story h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.our-story p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #4CAF50;
}

.our-story-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: var(--grey-light);
    transition: transform var(--animation-speed);
    max-width: 500px;
    text-align: left;
}

.timeline-date {
    font-weight: 700;
    color: #4CAF50;
    font-size: 1.2em;
    margin-right: 20px;
    margin-bottom: 10px;
    width: 80px;
    text-align: center;
}

.timeline-content {
    background-color: var(--background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    text-align: left;
}

.timeline-content h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    font-size: 1em;
}








/* Menu Section */
.menu {
    background-color: var(--grey-light);
}

.menu-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.menu-category {
    padding: 10px 5px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: all var(--animation-speed);
}

.menu-category.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.menu-category:hover:not(.active) {
    background-color: var(--primary-light);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.10), 0 1.5px 6px rgba(0,0,0,0.06);
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
    min-height: 420px;
}

.menu-item:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 16px 32px rgba(76, 175, 80, 0.16), 0 3px 12px rgba(0,0,0,0.10);
}

.menu-item-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    transition: filter 0.3s;
}

.menu-item:hover .menu-item-img {
    filter: brightness(0.93) saturate(1.15);
}

.menu-item-info {
    flex: 1;
    padding: 28px 22px 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.menu-item-title {
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.menu-item-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 16px;
    min-height: 44px;
}

.menu-item-price {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.add-to-cart {
    margin-top: auto;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 0.85rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--animation-speed);
    box-shadow: 0 2px 8px rgba(76,175,80,0.08);
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(76,175,80,0.13);
}
/* ...existing code... */


.back-to-home {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color var(--animation-speed);
}




/* Reservation Section */
.reservation {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/assets/images/hero.jpg') no-repeat center center/cover;
    color: var(--white);
}

.reservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.reservation-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.reservation-info p {
    margin-bottom: 30px;
}

.reservation-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.reservation-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 30px;
    text-align: center;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.testimonial-arrows {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    margin: 0 10px;
    cursor: pointer;
    transition: all var(--animation-speed);
}

.testimonial-arrow:hover {
    background-color: var(--primary-dark);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 0 20px;
    background-color: var(--text-primary);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color var(--animation-speed);
}

.newsletter-btn:hover {
    background-color: var(--text-secondary);
}

/* Map Section */
.map {
    height: 400px;
    background-color: var(--grey);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-info p {
    margin-bottom: 15px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color var(--animation-speed);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: all var(--animation-speed);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

 /* Dark Mode Variables */
:root {
    /* Light Mode Variables (default) */
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --accent-color: #8BC34A;
    --text-primary: #212121;
    --text-secondary: #757575;
    --white: #FFFFFF;
    --grey-light: #F5F5F5;
    --grey: #EEEEEE;
    --background: #FFFFFF;
    --card-bg: #FFFFFF;
    --animation-speed: 0.3s;
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #66BB6A;
    --primary-dark: #4CAF50;
    --primary-light: #1B5E20;
    --accent-color: #7CB342;
    --text-primary: #ECEFF1;
    --text-secondary: #B0BEC5;
    --white: #ffff;
    --grey-light: #1E1E1E;
    --grey: #2D2D2D;
    --background: #121212;
    --card-bg: #1E1E1E;
}

/* Apply background color change */
body {
    background-color: var(--background);
    transition: background-color var(--animation-speed), color var(--animation-speed);
}

/* Dark mode toggle styles */
.theme-toggle {
    cursor: pointer;
    transition: all var(--animation-speed);
    position: relative;
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

.dark-mode .theme-toggle i.fa-moon {
    transform: rotate(360deg);
}

/* Other elements that need specific dark mode styling */
.dark-mode .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/hero-bg.jpg') no-repeat center center/cover;
}

.dark-mode .dish-card,
.dark-mode .menu-item,
.dark-mode .reservation-form {
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .why-us-item {
    background-color: var(--grey);
}

.dark-mode header {
    background-color: var(--grey-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .footer {
    background-color: #0D0D0D;
}

.dark-mode .form-control {
    background-color: var(--grey);
    border-color: #444;
    color: var(--text-primary);
}

/* Add smooth transition for all affected elements */
.dish-card, .menu-item, .why-us-item, .reservation-form, header, .footer, .form-control {
    transition: background-color var(--animation-speed), box-shadow var(--animation-speed), color var(--animation-speed);
}




/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: var(--white);
  border-radius: 28px;
  padding: 2.5rem 2rem 2rem 2rem;
  width: 95%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18), 0 1.5px 6px rgba(0,0,0,0.08);
  border: 1.5px solid var(--grey-light);
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.modal-content:hover {
  box-shadow: 0 16px 48px rgba(44, 62, 80, 0.22), 0 3px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px) scale(1.01);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--animation-speed);
}

.close-modal:hover {
    color: var(--text-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--grey);
    border-radius: 15px;
    font-size: 1rem;
    transition: border-color var(--animation-speed);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Cart Styles */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--grey);
    transition: background var(--animation-speed);
}

.cart-item:hover {
    background: var(--grey-light);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--animation-speed);
}

.quantity-btn:hover {
    background: var(--primary-dark);
}

.remove-item {
    background: #f44336;
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--animation-speed);
}

.remove-item:hover {
    background: #d32f2f;
}

.cart-summary {
    padding: 1.5rem;
    background: var(--grey-light);
    border-radius: 15px;
    margin-top: 1rem;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    margin: 1rem 0;
    animation: slideDown 0.3s ease-out;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-cart i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

/* Add to Cart Button */
.add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--animation-speed);
    margin-top: 1rem;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Add to your style.css */
/* Quantity Selector Styles */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.qty-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-dark);
}

.qty-input {
    width: 48px;
    height: 32px;
    text-align: center;
    font-size: 1rem;
    border: 1px solid var(--grey);
    border-radius: 6px;
    outline: none;
    margin: 0 4px;
}

.quantity-and-cart {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.quantity-and-cart .add-to-cart {
  width: auto;
  min-width: 120px;
  margin-top: 0;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
}

.quantity-and-cart .quantity-selector {
  margin-bottom: 0;
}

#cartItems {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 8px;
}

/* Optional: style the scrollbar for a modern look */
#cartItems::-webkit-scrollbar {
  width: 8px;
}
#cartItems::-webkit-scrollbar-thumb {
  background: var(--grey);
  border-radius: 6px;
}
#cartItems::-webkit-scrollbar-track {
  background: transparent;
}