:root {
    --primary: #c41e3a; 
    --primary-dark: #9a142d;
    --secondary: #d4af37;
    --dark: #1a1a1a;
    --light: #f8f8f8;
    --gray: #e5e5e5;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--dark); background-color: var(--light); overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Hero Section */
.hero { height: 100vh; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('image/homepage.jpg'); background-size: cover; background-position: center; color: white; display: flex; align-items: center; text-align: center; padding-top: 70px; }
.hero-content { max-width: 800px; margin: 0 auto; padding: 0 1rem; }
.hero h1 { font-size: 4rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn { display: inline-block; padding: 12px 30px; background-color: var(--primary); color: white; text-decoration: none; border-radius: 4px; font-weight: 600; transition: var(--transition); border: none; cursor: pointer; font-size: 1rem; margin: 0 10px; position: relative; }
.btn:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.btn-secondary { background-color: transparent; border: 2px solid var(--secondary); color: var(--secondary); }
.btn-secondary:hover { background-color: var(--secondary); color: var(--dark); }

/* General Section Padding */
.section { padding: 5rem 0; padding-top: calc(5rem + 70px); }
/* Override for pages that don't start with Hero */
.section.menu, .checkout-container, #about, #contact-page { padding-top: 8rem; }

.toast-notification { visibility: hidden; min-width: 250px; background-color: var(--dark); color: white; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 2000; left: 50%; top: 100px; transform: translateX(-50%); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); opacity: 0; transition: opacity 0.5s, top 0.5s; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; }
.toast-notification.show { visibility: visible; opacity: 1; top: 80px; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; position: relative; display: inline-block; margin-bottom: 1rem; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: var(--primary); }

/* --- RESTORED HOMEPAGE STYLES --- */

/* About Content */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.5rem; }
.about-image { border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.about-image img { width: 100%; height: auto; display: block; transition: var(--transition); }
.about-image:hover img { transform: scale(1.05); }

/* CTA Section */
.cta { background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80'); background-size: cover; background-position: center; color: white; text-align: center; padding: 5rem 0; }
.cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; }

/* -------------------------------- */

/* Diet Filters */
.diet-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.diet-tab { padding: 8px 20px; border: 1px solid #ddd; border-radius: 25px; background: white; cursor: pointer; font-weight: 500; transition: all 0.3s; }
.diet-tab.active { background-color: var(--dark); color: white; border-color: var(--dark); }
.diet-tab.veg-btn.active { background-color: #2ecc71; border-color: #2ecc71; }
.diet-tab.non-veg-btn.active { background-color: #e74c3c; border-color: #e74c3c; }

/* Menu Styles */
.category-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.category-tab { padding: 10px 25px; background-color: white; border: none; border-radius: 30px; font-weight: 500; cursor: pointer; transition: var(--transition); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
.category-tab.active { background-color: var(--primary); color: white; }
.category-tab:hover:not(.active) { background-color: var(--secondary); color: var(--dark); }

.menu-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.menu-item { background-color: white; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: var(--transition); display: flex; flex-direction: column; }
.menu-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.menu-item-image { height: 200px; overflow: hidden; flex-shrink: 0; position: relative; }
.menu-item-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.menu-item:hover .menu-item-image img { transform: scale(1.1); }

/* Diet Icon Overlay */
.diet-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 25px !important;
    height: 25px !important;
    background: white;
    border-radius: 4px;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    object-fit: contain !important;
    transform: none !important;
}

.menu-item-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.menu-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.menu-item-title { font-size: 1.2rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 8px; }
.menu-item-price { color: var(--primary); font-weight: 600; font-size: 1.2rem; }
.menu-item-description { color: #666; margin-bottom: 1rem; font-size: 0.9rem; }
.menu-item-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }

.add-to-cart-btn { background-color: var(--secondary); color: var(--dark); border: none; border-radius: 4px; padding: 8px 15px; font-weight: 500; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.add-to-cart-btn:hover { background-color: var(--primary); color: white; transform: translateY(-2px); }

/* Footer */
footer { background-color: var(--dark); color: white; padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-column h3 { font-size: 1.5rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.footer-column h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background-color: var(--secondary); }
.footer-column p { margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; display: block; }
.footer-links li a { color: #ccc; text-decoration: none; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.address-link { color: #ccc; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; word-break: break-word; }
.copy-btn-style { background: none; border: none; color: var(--secondary); cursor: pointer; font-size: 1rem; padding: 0; margin-left: 5px; transition: color 0.3s ease; }
.copy-btn-style:hover { color: white; }
.email-link { color: white; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.email-link:hover { color: var(--secondary); text-decoration: underline; }
.email-link:hover .fa-external-link-alt { transform: translateX(3px); }
.social-links { display: flex; gap: 1.5rem; margin-top: 1rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; background: none; border: none; color: white; font-size: 1.5rem; transition: color 0.3s ease, transform 0.3s ease; }
.social-links a:hover { color: var(--secondary); transform: translateY(-2px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* WhatsApp Button */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); z-index: 1000; transition: var(--transition); animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Checkout */
.checkout-container { padding-top: 120px; padding-bottom: 5rem; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--gray); background-color: white; margin-bottom: 10px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); }
.item-details { flex-grow: 1; }
.quantity-controls { display: flex; align-items: center; gap: 10px; }
.quantity-controls button { background-color: var(--primary); color: white; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cart-summary { margin-top: 2rem; padding: 1.5rem; background-color: var(--dark); color: white; border-radius: 8px; text-align: right; }

/* Modal Styles */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 3000; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-content { background-color: white; padding: 20px; border-radius: 8px; width: 90%; max-width: 400px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.close-modal-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #666; }
.modal-option-btn { display: flex; justify-content: space-between; width: 100%; padding: 12px; margin-bottom: 10px; border: 2px solid #eee; border-radius: 6px; background: white; cursor: pointer; font-size: 1rem; transition: all 0.2s; }
.modal-option-btn:hover { border-color: var(--secondary); background-color: #fffdf0; }
.modal-option-btn span:last-child { font-weight: bold; color: var(--primary); }

/* Mobile Adjustments */
@media (max-width: 992px) {
    .about-content, .contact-content, .footer-content { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .footer-content { text-align: center; }
    .footer-column h3::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 2rem; }
    .menu-items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .menu-item-image { height: 120px; }
    .menu-item-content { padding: 10px; }
    .menu-item-title { font-size: 1rem; }
    .menu-item-price { font-size: 1rem; }
    .menu-item-description { display: block; font-size: 0.75rem; margin-bottom: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .menu-item-footer { flex-direction: column; align-items: stretch; gap: 5px; }
    .add-to-cart-btn { width: 100%; justify-content: center; font-size: 0.85rem; padding: 6px 10px; }
    .cart-item { flex-direction: column; align-items: flex-start; }
    .delete-btn { position: absolute; top: 10px; right: 10px; }
}

/* --- DRAGON INTRO ANIMATION STYLES --- */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; 
    z-index: 99999; 
    display: flex;
    flex-direction: column;
    
    /* ALIGN TO TOP */
    justify-content: flex-start; 
    padding-top: 70px; /* INCREASED PADDING (Moved down) */

    align-items: center;
    transition: opacity 1s ease-out, visibility 1s;
    
    pointer-events: none; /* Allows clicks */
}

.flying-dragon-container {
    width: 100%;
    position: relative;
    height: 250px; 
    overflow: hidden;
    margin-bottom: 2rem;
}

.intro-text {
    color: white;
    margin-top: 20px;
    font-size: 1.5rem;
    opacity: 0;
    animation: fadeInText 1s ease-in forwards 0.5s;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utility class to hide loader */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}