/* CSS Variables for a clean, consistent palette */
:root {
    --primary-color: #ff5722;
    /* A vibrant orange-red for warmth and appetite */
    --secondary-color: #2196f3;
    /* A friendly blue for accents */
    --dark-text: #333333;
    --light-text: #666666;
    --background-light: #fdfdfd;
    --background-mid: #f5f5f5;
    --white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --border-color: #e0e0e0;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

/* Reusable Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    /* Pill-shaped buttons for softness */
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    /* For button-like links */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    background-color: #e64a19;
    /* Slightly darker primary */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.btn-secondary:hover {
    background-color: #1976d2;
    /* Slightly darker secondary */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 4px 15px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Main Navigation */
nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 8px 15px;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

nav a:hover::after,
nav a.active::after {
    /* 'active' class for current page */
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

/* Hamburger Icon */
.hamburger {
    display: none;
    /* Hidden by default on larger screens */
    font-size: 2rem;
    color: var(--dark-text);
    cursor: pointer;
    z-index: 1001;
    /* Ensure it's above the nav when active */
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    /* Darker overlay for better contrast */
    z-index: 999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    /* Use visibility for smoother show/hide */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay nav {
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.mobile-nav-overlay nav a {
    font-size: 1.8rem;
    color: var(--white);
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
}

.mobile-nav-overlay nav a:hover {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-mid) 0%, var(--background-light) 100%);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
    /* For the floating effect */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    /* Floating animation */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Coupon Section */
.coupon {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.coupon .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.coupon-content {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.coupon-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.coupon-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.coupon .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.coupon .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: none;
    /* No shadow for inner button */
    padding: 10px 20px;
}

.coupon .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
}

/* Menu Section */
.menu {
    padding: 80px 0;
    background-color: var(--background-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.menu-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.menu-item-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Allow content to grow */
}

.menu-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 10px;
    flex-grow: 1;
    /* Allows title to take space */
}

.menu-item p {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 15px;
}

.menu .rating {
    margin-bottom: 10px;
    color: #ffc107;
    /* Star color */
}

.menu .price {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.menu-item .btn-primary {
    width: 100%;
    /* Make button full width */
    margin-top: auto;
    /* Push button to bottom */
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--background-mid);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--light-text);
    line-height: 1.7;
}

/* About Us Section */
.about-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.about-us::before,
.about-us::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.about-us::before {
    width: 250px;
    height: 250px;
    top: -80px;
    right: -80px;
}

.about-us::after {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    /* Allow wrapping */
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

.about-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--primary-color);
    border-radius: 3px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding: 20px;
    /* Space for the border effect */
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    transform: translate(20px, 20px);
    /* Offset border */
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}


.footer-section p {
    color: #b3b3b3;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 12px;
    width: 20px;
    /* Ensure icon alignment */
    text-align: center;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}


.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #b3b3b3;
    font-size: 0.9rem;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero .container {
        flex-direction: column-reverse;
        /* Image above text on smaller screens */
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-image {
        margin-bottom: 40px;
        left: 0;
        /* Reset position */
        top: 0;
    }

    .about-content {
        flex-direction: column-reverse;
        /* Image above text on smaller screens */
        text-align: center;
    }

    .about-text {
        padding: 30px;
    }

    .about-text h3 {
        padding-left: 0;
    }

    .about-text h3::before {
        display: none;
        /* Hide border on smaller screens if stacked */
    }

    .about-image {
        padding: 10px;
        /* Adjust padding for border */
    }

    .about-image::before {
        transform: translate(10px, 10px);
        /* Adjust offset border */
    }

    .coupon .container {
        flex-direction: column;
        text-align: center;
    }

    .coupon-content {
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        /* Changed from 'nav' to 'main-nav' for specificity */
        display: none;
        /* Hide main nav links */
    }

    .hamburger {
        display: block;
        /* Show hamburger icon */
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 80%;
        /* Shrink hero image slightly */
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .coupon-content h3 {
        font-size: 1.8rem;
    }

    .coupon .price {
        font-size: 2rem;
    }

    .menu-item h3 {
        font-size: 1.3rem;
    }

    .menu .price {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        /* Stack footer sections */
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        width: 100%;
        /* Full width buttons */
        margin-bottom: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text h3 {
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}