body {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    margin: 0;
    padding: 0;
}

header {
    background: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
}

/* ===== Logo Styling ===== */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: auto;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .logo {
        width: 45px;
    }

    .logo-container h1 {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 35px;
    }

    .logo-container h1 {
        font-size: 1.2em;
    }
}

/* ===== Navigation Bar ===== */
nav {
    background-color: #e67e22;
    padding: 15px;
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

nav a:hover {
    color: #2c3e50;
}

/* Hamburger / Close Icon */
.menu-toggle {
    display: none;
    font-size: 1.8em;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

/* Mobile Nav */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #e67e22;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

    nav ul.show {
        display: flex;
        max-height: 500px;
        transition: max-height 0.4s ease-in;
    }

    .menu-toggle {
        display: block;
    }
}

/* ===== Hero Section ===== */
.hero {
    background: url('images/restaurant.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.btn {
    background: #e67e22;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* ===== Menu Section ===== */
#menu {
    background-color: #f9f9f9;
    padding: 50px 20px;
}

#menu h2 {
    text-align: center;
    font-size: 2.5em;
    color: #e67e22;
    margin-bottom: 30px;
}

#menu h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-top: 40px;
    border-bottom: 2px solid #e67e22;
    display: inline-block;
    padding-bottom: 5px;
}

/* Menu Item (Drinks, Wines, etc.) */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-item h4 {
    font-size: 1.2em;
    color: #27ae60;
    margin: 0;
}

.menu-item p {
    font-size: 1em;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-item p {
        margin-top: 5px;
    }
}

/* Menu Grid (Appetizers, Mains, etc.) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.menu-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-card h4 {
    font-size: 1.2em;
    color: #2c3e50;
    margin: 15px 10px 5px;
}

.menu-card p {
    font-size: 0.95em;
    color: #555;
    margin: 0 10px 10px;
}

.menu-card .price {
    display: block;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 10px;
}

.menu-card button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
}

.menu-card button:hover {
    background-color: #219150;
}

@media (max-width: 768px) {

    .menu-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row on tablets */
    }
}

/* ===== Gallery Section ===== */
#gallery {
    background-color: #fff;
    padding: 50px 20px;
}

#gallery h2 {
    text-align: center;
    font-size: 2.5em;
    color: #e67e22;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item {
    text-align: center;
}

.gallery-item .caption {
    margin-top: 10px;
    font-size: 1em;
    color: #2c3e50;
    font-weight: 500;
}

@media (max-width: 480px) {

    .menu-grid,
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        /* force 3 per row on small phones */
    }
}

/* ===== Footer ===== */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

footer p {
    margin: 8px 0;
    font-size: 0.95em;
}

footer h3 {
    margin-top: 15px;
    font-size: 1.2em;
    color: #e67e22;
}

footer .hours {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

footer .hours li {
    font-size: 0.9em;
    margin: 5px 0;
}

footer .socials {
    margin-top: 15px;
}

footer .socials a {
    color: #e67e22;
    text-decoration: none;
    font-weight: bold;
    margin: 0 12px;
    font-size: 1.1em;
}

footer .socials a i {
    margin-right: 6px;
}

footer .socials a:hover {
    color: #f1c40f;
}

.hero-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-center {
    text-align: center;
    max-width: 600px;
    margin: 0 40px;
    /* tighter spacing so images come close */
    opacity: 0;
    animation: fadeInCenter 1.5s ease forwards;
    animation-delay: 1s;
}

.hero-center h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #222;
}

.order-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #c00;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1.5s ease forwards;
    animation-delay: 2s;
}

.hero-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-images img {
    width: 160px;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.9);
}

/* Left side slides in close to text */
.hero-images.left img {
    transform: translateX(-150px) scale(0.9);
    animation: slideInLeftZoom 1.5s ease forwards;
}

.hero-images.right img {
    transform: translateX(150px) scale(0.9);
    animation: slideInRightZoom 1.5s ease forwards;
}

/* staggered delays for second image */
.hero-images.left img:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-images.right img:nth-child(2) {
    animation-delay: 0.4s;
}

/* Animations */
@keyframes slideInLeftZoom {
    to {
        opacity: 1;
        transform: translateX(0) scale(1.05);
        /* zoom in slightly */
    }
}

@keyframes slideInRightZoom {
    to {
        opacity: 1;
        transform: translateX(0) scale(1.05);
        /* zoom in slightly */
    }
}

@keyframes fadeInCenter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #c00;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1.5s ease forwards, pulse 3s infinite ease-in-out;
    animation-delay: 2s, 3s;
    /* slideUp first, then pulse repeats */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.order-btn:hover {
    background-color: #a00;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to Our Journey section */
.our-journey .fade-in {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

/* Optional staggered delay */
.our-journey .fade-in.text {
    animation-delay: 0.3s;
}

.our-journey .fade-in.image {
    animation-delay: 0.6s;
}

.journey-img {
    width: 100%;
    /* fills its container */
    max-width: 300px;
    /* never grows beyond 300px */
    height: auto;
    /* keeps proportions */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

.fade-in.mission {
    animation-delay: 0.3s;
}

.fade-in.vision {
    animation-delay: 0.6s;
}

.fade-in.story {
    animation-delay: 0.9s;
}

/* Hover effect */
.box-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

.fade-in.mission {
    animation-delay: 0.3s;
}

.fade-in.vision {
    animation-delay: 0.6s;
}

.fade-in.story {
    animation-delay: 0.9s;
}

/* Hover effect */
.box-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
    outline: 2px solid #008000;
    /* subtle green glow */
    outline-offset: -2px;
}

.fade-in.team {
    animation-delay: 1.2s;
}

.cta-button {
    display: inline-block;
    background-color: #008000;
    /* brand green */
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #006400;
    /* darker green */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    text-align: justify;
    font-size: 1.05em;
    line-height: 1.7;
    color: #333;
    font-style: italic;
}

.testimonial.active {
    display: block;
}

.carousel-btn {
    background-color: #008000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: #006400;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    text-align: justify;
    font-size: 1.05em;
    line-height: 1.7;
    color: #333;
    font-style: italic;
}

.testimonial.active {
    display: block;
}

.carousel-btn {
    background-color: #008000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: #006400;
}

/* Dot indicators */
.carousel-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: #008000;
}

.fade-in.findus {
    animation-delay: 1.8s;
}

/* Reuse CTA button styling */
.cta-button {
    display: inline-block;
    background-color: #008000;
    /* brand green */
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #006400;
    /* darker green */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.fade-in.findus {
    animation-delay: 1.8s;
}

.fade-in.dishes {
    animation-delay: 2.1s;
}

/* Dish cards hover effect */
.dishes img {
    transition: transform 0.3s ease;
}

.dishes img:hover {
    transform: scale(1.05);
}

.dishes img {
    width: 100%;
    max-width: 250px;
    /* keeps images smaller */
    height: 180px;
    /* fixed height for uniformity */
    object-fit: cover;
    /* crops images nicely without distortion */
    border-radius: 8px;
    margin: 0 auto 15px auto;
    display: block;
    transition: transform 0.3s ease;
}

.dishes img:hover {
    transform: scale(1.05);
}

.dish-img {
    width: 100%;
    max-width: 250px;
    /* keeps images neat */
    height: 180px;
    /* fixed height for consistency */
    object-fit: cover;
    /* crops nicely without distortion */
    border-radius: 8px;
    margin: 0 auto 15px auto;
    display: block;
    transition: transform 0.3s ease;
}

.dish-img:hover {
    transform: scale(1.05);
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #00ff99;
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer div {
        flex: 1 1 100%;
    }
}

/* Social links base style */
.social-link {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1em;
    transition: color 0.3s ease;
}

.social-link i {
    margin-right: 6px;
    font-size: 1.2em;
}

/* Hover brand colors */
.social-link.instagram:hover {
    color: #E1306C;
    /* Instagram pink */
}

.social-link.whatsapp:hover {
    color: #25D366;
    /* WhatsApp green */
}

.fade-in.events {
    animation-delay: 2.4s;
}

.event-img {
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 15px auto;
    display: block;
    transition: transform 0.3s ease;
}

.event-img:hover {
    transform: scale(1.05);

    /* Responsive Layout */
    @media (max-width: 768px) {
        .box-hover {
            padding: 20px;
        }

        .dishes div,
        .events div,
        footer div {
            flex: 1 1 100%;
            margin-bottom: 20px;
        }

        .cta-button {
            width: 100%;
            text-align: center;
        }
    }

}

.menu-card {
    flex: 1 1 250px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-img {
    width: 100%;
    max-width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.menu-card h4 {
    color: #008000;
    margin-bottom: 10px;
}

.menu-card p {
    font-size: 0.95em;
    color: #333;
    margin-bottom: 10px;
}

.price {
    font-weight: bold;
    color: #004d00;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    flex: 1 1 250px;
    font-size: 1em;
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background-color: #008000;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #004d00;
}

.success-message {
    margin-top: 15px;
    padding: 12px;
    background-color: #e6ffed;
    /* soft green background */
    border: 1px solid #27ae60;
    /* green border */
    border-radius: 6px;
    color: #2c3e50;
    font-size: 1em;
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
}

.rsvp-form input,
.rsvp-form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

.rsvp-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background-color: #008000;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rsvp-form button:hover {
    background-color: #004d00;
}

.success-message {
    margin-top: 15px;
    padding: 12px;
    background-color: #e6ffed;
    border: 1px solid #27ae60;
    border-radius: 6px;
    color: #2c3e50;
    font-size: 1em;
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
}

/* General button styling */
button {
    padding: 6px 12px;
    margin: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
}

/* Specific status buttons */
button.prepare {
    background-color: #f0ad4e;
    /* orange */
}

button.prepare:hover {
    background-color: #ec971f;
}

button.ready {
    background-color: #5bc0de;
    /* blue */
}

button.ready:hover {
    background-color: #31b0d5;
}

button.delivered {
    background-color: #5cb85c;
    /* green */
}

button.delivered:hover {
    background-color: #449d44;
}

/* Optional: make status text bold */
td.status {
    font-weight: bold;
}

/* Default status cell */
td.status {
    font-weight: bold;
    text-align: center;
}

/* Preparing status */
td.status.preparing {
    color: #f0ad4e;
    /* orange */
}

/* Ready status */
td.status.ready {
    color: #5bc0de;
    /* blue */
}

/* Delivered status */
td.status.delivered {
    color: #5cb85c;
    /* green */
}

/* Base badge style for status cells */
td.status {
    font-weight: bold;
    text-align: center;
}

td.status span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    /* pill shape */
    color: #fff;
    font-size: 0.9em;
}

/* Preparing badge */
td.status.preparing span {
    background-color: #f0ad4e;
    /* orange */
}

/* Ready badge */
td.status.ready span {
    background-color: #5bc0de;
    /* blue */
}

/* Delivered badge */
td.status.delivered span {
    background-color: #5cb85c;
    /* green */
}

.success-box {
    background-color: #e6ffed;
    border: 2px solid #28a745;
    color: #155724;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

.success-box button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.success-box button:hover {
    background-color: #218838;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-btn {
    background-color: #ccc;
    color: #666;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.checkout-btn.active {
    background-color: #28a745;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.6);
}

.checkout-btn.active:hover {
    background-color: #218838;
}

.success-box {
    background-color: #e6ffed;
    border: 2px solid #28a745;
    color: #155724;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
}

.menu-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    width: 250px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.menu-card img {
    width: 100%;
    border-radius: 8px;
}

.checkout-btn {
    background-color: #ccc;
    color: #666;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.checkout-btn.active {
    background-color: #28a745;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.6);
}

.checkout-btn.active:hover {
    background-color: #218838;
}

.success-box {
    background-color: #e6ffed;
    border: 2px solid #28a745;
    color: #155724;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;

}

/* Payment status colors */
.payment-status.paid {
    color: green;
    font-weight: bold;
}

.payment-status.pending {
    color: red;
    font-weight: bold;
}

.payment-status.failed {
    color: orange;
    font-weight: bold;
}

/* Payment status text colors */
.payment-status.paid {
    color: green;
    font-weight: bold;
}

.payment-status.pending {
    color: red;
    font-weight: bold;
}

.payment-status.failed {
    color: orange;
    font-weight: bold;
}

/* Row background highlighting */
tr.paid {
    background-color: #e6ffe6;
    /* light green */
}

tr.pending {
    background-color: #ffe6e6;
    /* light red */
}

tr.failed {
    background-color: #fff3e6;
    /* light orange */
}

img {
    max-width: 100%;
    height: auto;
}