@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary-red: #D32F2F;
    --primary-yellow: #FFC107;
    --dark-bg: #1A1A1A;
    --light-bg: #F5F5F5;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --card-bg: #FFFFFF;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

/* Header */
header {
    background-color: var(--primary-red);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 800;
}

.logo-flame {
    color: var(--primary-yellow);
    font-size: 32px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
}

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

.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-yellow:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-red:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.btn-green {
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-green:hover {
    transform: scale(1.05);
    background-color: #128C7E;
}

.btn-white {
    background-color: white;
    color: var(--primary-red);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    background-color: var(--primary-yellow);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 5% 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 80px;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.5);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    font-family: cursive; /* Approximating the script font */
    color: var(--text-dark);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 120%;
    transform: rotate(-10deg);
    filter: drop-shadow(10px 20px 20px rgba(0,0,0,0.3));
    z-index: 2;
}

.hero-red-bg {
    position: absolute;
    right: -10%;
    bottom: -20%;
    width: 60%;
    height: 100%;
    background-color: var(--primary-red);
    border-top-left-radius: 50%;
    z-index: 1;
}

/* Categories Bar */
.categories {
    background-color: var(--dark-bg);
    padding: 20px 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.category-item:hover {
    transform: translateY(-5px);
    color: var(--primary-yellow);
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.4);
}

/* Menu Section */
.menu-section {
    padding: 50px 5%;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title::before, .section-title::after {
    content: "==";
    color: var(--primary-red);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
    text-align: left;
}

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

.bestseller-tag {
    position: absolute;
    top: 10px;
    left: 0;
    background-color: var(--primary-red);
    color: white;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
}

.product-card .btn-red {
    width: 100%;
}

/* Offers Section */
.offers-banner {
    margin: 0 5% 50px;
    background-color: var(--primary-red);
    border-radius: var(--border-radius);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.offer-text {
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 20px;
}

.offer-divider {
    width: 2px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
}

.offer-price {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 32px;
}

.offer-img img {
    height: 80px;
    object-fit: contain;
}

/* Footer */
footer {
    background-color: var(--primary-red);
    color: white;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    padding: 20px 5%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.footer-contact h4 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 2px;
}

.footer-contact p {
    font-size: 18px;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 15px 5%;
    font-size: 12px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--primary-red);
}

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-total {
    font-size: 20px;
    font-weight: 800;
    text-align: right;
    margin-bottom: 20px;
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
}

.floating-cart:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-red);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
}
