/*
Theme Name: My Theme
Theme URI: https://
Author: Kavindu Siriwardhana
Author URI: https://
Description: My theme developed by Kavindu
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://
Text Domain: myTheme
*/
:root {
    --primary-color: #e31f1f;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-gray: #eee;
    --dark-gray: #555;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-color);
    overflow-x: hidden;
}

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


/*********************************************** woocommerce related**********************************************/

.site-main{
    margin: 70px 5% 10px 5%;
}

.woocommerce-products-header__title{
    display: none;
}


/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

.header-transparent {
    background-color: var(--white);
}

.header-solid {
    background-color: #ffffffbd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    max-width: 260px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
}

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

.nav-links ul {
    display: flex;
    list-style: none;
    margin-right: 20px;
    margin-top: 15px;
  
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 500px;

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    margin-bottom: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 5px;
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-bar button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #c41212;
}

/* Popular Categories */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--dark-gray);
    font-size: 16px;
}

.categories-slider {
    margin: 0 auto;
    max-width: 1000px;
}

.category-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    margin: 0 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-color);
}

.category-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.category-item p {
    color: var(--dark-gray);
    font-size: 14px;
}

.category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(227, 31, 31, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Popular Restaurants */
.restaurants-section {
    padding: 80px 0;
}

.restaurants-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-all:hover {
    text-decoration: underline;
}

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

.restaurant-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.restaurant-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.restaurant-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.restaurant-info {
    padding: 20px;
    background-color: var(--white);
}

.restaurant-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.restaurant-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.restaurant-location {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.restaurant-location i {
    margin-right: 5px;
    color: var(--primary-color);
}

.restaurant-rating {
    display: flex;
    align-items: center;
}

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

.order-now {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.order-now:hover {
    background-color: #c41212;
}

/* Chef Banner */
.chef-banner {
    height: 400px;

    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    margin: 80px 0;
}

.chef-content {
    max-width: 50%;
}

.chef-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.chef-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #c41212;
}

/* Deals Section */
.deals-section {
    padding: 80px 0;
}

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

.deal-card {
    display: flex;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.deal-img {
    width: 120px;
    min-width: 120px;
    height: 120px;
    position: relative;
    overflow: hidden;
}

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

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

.deal-info {
    padding: 15px;
    flex: 1;
}

.deal-tag {
    font-size: 12px;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.deal-title {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.deal-location {
    font-size: 12px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.deal-price {
    font-size: 14px;
    color: var(--dark-gray);
}

.deal-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--white);
    color: var(--dark-gray);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonial-section {
    /*background-color: #f44336;*/
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    background-size: cover;
    background-position: center;
    /* opacity: 0.2;*/
}

.testimonial-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.testimonial-image {
    flex: 0 0 45%;
}

.testimonial-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    flex: 0 0 50%;
    color: var(--white);
}

.testimonial-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-white {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: #151920;
    color: #b4b4b4;
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #b4b4b4;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #252932;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 10px;
    transition: all 0.3s ease;
}

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

.footer-form input {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #252932;
    color: var(--white);
    border-radius: 5px;
    margin-bottom: 15px;
}

.footer-form button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-form button:hover {
    background-color: #c41212;
}

.footer-bottom {
    border-top: 1px solid #252932;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.payment-methods img {
    height: 24px;
    margin: 0 5px;
}

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

.footer-links-bottom a {
    color: #b4b4b4;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

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

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

/* Responsive */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }


    .header-solid {
        padding: 5px 0 0 0;
    }

    .restaurants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .chef-content {
        max-width: 70%;
    }

    .testimonial-container {
        flex-direction: column;
    }

    .testimonial-image,
    .testimonial-content {
        flex: 0 0 100%;
    }

    .testimonial-image {
        margin-bottom: 30px;
    }
}



@media screen and (max-width: 768px) {
    .navbar {
        position: relative;
       
    }

 

    .header-solid {
        top: 0;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
        z-index: 10;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        width: 100%;
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .restaurants-grid {
        grid-template-columns: 1fr;
    }

    .chef-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .logo {
        max-width: 180px;
    }

    .header-solid {
        padding: 5px 0 0 0;
    }

    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar input {
        padding: 12px 15px;
        border-radius: 5px 5px 0 0;
    }

    .search-bar button {
        padding: 12px 15px;
        border-radius: 0 0 5px 5px;
    }
}