:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #2d3436;
    --light-color: #f9f9f9;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
}

.hamburger {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.menu {
    display: none;
    list-style: none;
    padding: 1rem;
}

.menu.active {
    display: block;
}

.menu li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s;
}

.menu li a:hover {
    color: var(--primary-color);
}

.hero {
    margin-top: 80px;
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1513104890138-7c749659a591?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&q=80&w=1080');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.menu-section,
.testimonials {
    padding: 4rem 2rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pizza-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, display 0.3s ease;
}

.pizza-card:hover {
    transform: translateY(-5px);
}

.pizza-img {
    width: 100%;
    height: 12.5rem;
    object-fit: cover;
}

.pizza-info {
    padding: 1.5rem;
}

.pizza-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pizza-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

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

.pizza-sizes {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.swiper {
    width: 100%;
    padding: 2rem 0;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

@media (max-width: 768px) {
    .menu {
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border-top: 1px solid #eee;
    }

    .hero {
        height: 50vh;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 2rem !important;
    }

    .menu-section,
    .testimonials {
        padding: 2rem 1rem;
    }
}

/* Add new menu section filter buttons */
.menu-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    background: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.search-container {
    margin: 1rem 0;
    position: absolute;
    right: 7rem;
    top: 0.7rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#search-input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 150px;
    font-size: 0.9rem;
}

#search-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-icon {
    position: absolute;
    top: 1.5rem;
    right: 4rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 50%;
}

@media (min-width: 769px) {
    .search-container {
        margin: 0;
    }

    .search-box {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .search-container {
        position: relative;
        right: auto;
        top: auto;
        margin: 1rem;
    }
    
    #search-input {
        width: 100%;
    }
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #ff5252;
}

.cart-modal {
    display: none;
    position: fixed; 
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    overflow: hidden;  
}

.cart-content {
    background: white;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh; 
    overflow-y: auto; 
}

.cart-content::-webkit-scrollbar {
    width: 8px;
}

.cart-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.cart-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: #ff5252;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

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

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-remove {
    color: red;
    cursor: pointer;
}

.cart-total {
    margin-top: 20px;
    text-align: right;
    font-weight: bold;
}

/* Add CSS for buy button */
.buy-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.buy-button:hover {
    background: #ff5252;
}

.ingredients-input {
    margin: 20px 0;
}

.ingredients-input label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.ingredients-input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
}

#customer-name {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    margin-top: 5px;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.checkout-form {
    margin: 20px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.payment-options {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.payment-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.close-modal-checkout {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

.checkout-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.checkout-button:hover {
    background: #ff5252;
}

/* @media (max-width: 768px) {
    .search-container {
        position: relative;
        right: auto;
        top: auto;
        margin: 1rem;
    }

    #search-input {
        width: 100%;
    }
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #ff5252;
}

.cart-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.cart-content {
    background: white;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.cart-content::-webkit-scrollbar {
    width: 8px;
}

.cart-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.cart-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: #ff5252;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

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

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-remove {
    color: red;
    cursor: pointer;
}

.cart-total {
    margin-top: 20px;
    text-align: right;
    font-weight: bold;
}

/* Add CSS for buy button */
/* .buy-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.buy-button:hover {
    background: #ff5252;
}

.address-input {
    margin: 20px 0;
}

.address-input label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.address-input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
}

#customer-name {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    margin-top: 5px;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

#confirmation-modal .cart-content {
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-confirmation-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
} */ 
