/* Main Stylesheet for TastyBites Food Website */

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffa726;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Dancing Script', cursive;
    color: var(--primary-color);
    font-size: 3.5rem;
}

h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.navbar-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.navbar {
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: white !important;
}

.nav-link {
    font-weight: 500;
    margin: 0 8px;
    color: var(--dark-color) !important;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

.hero-section {
    background-image: url(../images/bg/bg-1.jpg);
    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80'); */
    background-size: cover;
    background-position: center;
    color: black;
    /* color: white; */
    padding: 120px 0;
}

.hero-content h1 {
    color: black;
    /* color: white; */
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.food-category {
    text-align: center;
    padding: 30px 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: all 0.3s;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.food-category i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.food-card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

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

.food-card-body {
    padding: 20px;
    background-color: white;
}

.food-card-title {
    font-weight: 600;
    margin-bottom: 10px;
}

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

.rating {
    color: #ffa726;
    margin-bottom: 10px;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

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

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

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: all 0.3s;
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

.badge {
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.order-btn:hover {
    background-color: #ff5252;
}