/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #d32f2f 0%, #ff6f00 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.logo .tagline {
    font-size: 0.85rem;
    opacity: 0.9;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.cart-icon {
    font-size: 1.5rem;
}

.cart-icon a {
    color: white;
    text-decoration: none;
    position: relative;
}

#cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #fff;
    color: #d32f2f;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    color: white;
    padding: 4rem 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.location {
    font-size: 1rem;
    opacity: 0.95;
}

/* About Section */
.about-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
    text-align: center;
}

.about-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #d32f2f;
}

.about-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #555;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h4 {
    color: #ff6f00;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Menu Section */
.menu-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.menu-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #d32f2f;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #ff6f00 0%, #d32f2f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.menu-item-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d32f2f;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #ff6f00 0%, #d32f2f 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
}

.add-to-cart-btn:hover {
    opacity: 0.9;
}

.add-to-cart-btn:active {
    opacity: 0.8;
}

/* View All Products Button */
.view-all-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-all-btn {
    background: linear-gradient(135deg, #ff6f00 0%, #d32f2f 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.view-all-btn:hover {
    opacity: 0.9;
    text-decoration: none;
    color: white;
}

/* Cart Section */
.cart-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.cart-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-container h2 {
    color: #d32f2f;
    margin-bottom: 2rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 200px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    color: #333;
}

.cart-item-price {
    color: #d32f2f;
    font-weight: bold;
    margin-top: 0.25rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: #ff6f00;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #d32f2f;
}

.quantity-display {
    width: 40px;
    text-align: center;
    font-weight: bold;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.remove-btn:hover {
    background: #c82333;
}

.cart-summary {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.summary-item.tax {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    color: #666;
}

.summary-item.total {
    background: linear-gradient(135deg, #ff6f00 0%, #d32f2f 100%);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: opacity 0.3s;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    margin-top: 0.5rem;
}

.checkout-btn:hover {
    opacity: 0.9;
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Checkout Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    color: #d32f2f;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    color: #333;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ff6f00;
    padding-bottom: 0.5rem;
}

/* Checkout Form */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6f00;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-methods {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.payment-option input {
    cursor: pointer;
}

.payment-form {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #eee;
}

.order-summary {
    background: #f0f0f0;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.order-summary h4 {
    margin-bottom: 1rem;
    color: #333;
}

#order-summary-items {
    margin-bottom: 1rem;
}

.summary-item-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
}

.summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #ddd;
    font-size: 1.1rem;
    color: #d32f2f;
}

.submit-btn,
.cancel-btn {
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.submit-btn:hover {
    opacity: 0.9;
}

.whatsapp-submit-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.cancel-btn {
    background: #ddd;
    color: #333;
    margin-top: -1rem;
}

.cancel-btn:hover {
    background: #ccc;
}

/* Contact Section */
.contact-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #d32f2f;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info,
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h3,
.contact-form h3 {
    color: #ff6f00;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff6f00;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

.contact-form .submit-btn {
    width: 100%;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #ff6f00;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    text-align: center;
    max-width: 500px;
}

.success-message h3 {
    color: #4CAF50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-message p {
    margin-bottom: 0.5rem;
    color: #555;
}

.success-message button {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: bold;
}

.hero-image-container {
    width: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    display: block;
}

.menu-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item-img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu ul {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.6);
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 1rem auto;
    }

    .hero-image-container {
        padding: 0;
    }

    .hero-image {
        border-radius: 0;
        max-height: 400px;
    }

    .menu-item-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        padding: 0.5rem;
        background: rgba(0, 0, 0, 0.7);
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        max-height: 300px;
    }

    .menu-item-image {
        height: 120px;
    }
}
