* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000000;
    color: #DAA520;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Keyframe Animations */
@keyframes goldenGlow {
    0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
    100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
}

@keyframes shineEffect {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    color: #ffd700;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd700;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.logo:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 15px #ffd700;
}

.cafename {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffd700;
    letter-spacing: 1px;
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.cafename:hover {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    transform: translateY(-1px);
}

.navbar {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 5px 0;
}

.navbar a, .mobile-nav-overlay a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffd700;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px #ffd700;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover, .mobile-nav-overlay a:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

/* Mobile Cart Button Horizontal Level Fix */
.mobile-cart-btn {
    background: linear-gradient(135deg, #ffd700, #b5891a) !important;
    color: #000 !important;
    text-decoration: none;
    padding: 6px 14px !important;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.95rem !important;
    
    /* Level Horizontal Alignment */
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important; /* Vertically stack hone se roke ga */
    line-height: 1 !important;
    
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* Span (Number) Alignment */
#mobile-cart-count {
    display: inline-block !important;
    font-size: 0.95rem !important;
    font-weight: bold !important;
    color: #000 !important;
    line-height: 1 !important;
}

.mobile-cart-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger-btn:hover {
    color: #ffd700;
    transform: scale(1.2) rotate(90deg);
}

/* Mobile Nav Drawer Overlay */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.menu-backdrop.show {
    display: block;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -280px;
    width: 250px;
    height: 100%;
    background-color: #1a1a1a;
    border-left: 1px solid #ffd700;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    padding: 60px 20px 20px 20px;
    gap: 15px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.9);
}

.mobile-nav-overlay.open {
    right: 0;
}

/* Main Layout */
.main-container {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1600px; /* Pehle 1300px tha, ab poora page cover karega */
    margin: 20px auto;
    padding: 0 30px;
}

.menu-sections {
    flex: 1;
}

.section-title {
    font-size: 1.5rem;
    margin: 25px 0 15px 0;
    color: #daa520;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 5px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    transition: width 0.4s ease;
}

.section-title:hover::after {
    width: 100%;
}

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

/* Dish Card Styles */
.dish-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.dish-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #ffd700;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.25);
}

.card-img-container {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #222;
    transition: transform 0.6s ease;
    overflow: hidden;
}

.dish-card:hover .card-img-container {
    transform: scale(1.08);
}

.card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    z-index: 2;
    background: #111;
}

.card-body h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.dish-card:hover .card-body h4 {
    color: #ffd700;
}

.deal-details {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.dish-card:hover .deal-details {
    color: #ccc;
}

.size-select {
    width: 100%;
    padding: 6px 10px;
    margin: 8px 0;
    border: 1px solid #ffd700;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #DAA520;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-select:focus, .size-select:hover {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    border-color: #fff;
}

.card-price {
    font-weight: bold;
    color: #DAA520;
    margin: 6px 0;
    font-size: 1.05rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.dish-card:hover .card-price {
    color: #ffd700;
    transform: scale(1.05);
}

.add-btn {
    background: linear-gradient(135deg, #DAA520, #ffd700);
    color: black;
    border: none;
    padding: 9px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}

.add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: all 0.5s;
}

.add-btn:hover::before {
    left: 100%;
}

.add-btn:hover {
    background: linear-gradient(135deg, #ffd700, #b5891a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.add-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Cart Styles */
.rightaside {
    width: 320px;
    background: #111;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    height: fit-content;
    position: sticky;
    top: 80px;
    border: 1px solid #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rightaside:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.15);
}

.cart-title {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #ffd700;
    padding-bottom: 10px;
    color: #ffd700;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.form-input, .form-select {
    width: 100%;
    padding: 9px;
    margin-bottom: 8px;
    border: 1px solid #ffd700;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #DAA520;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus {
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    background-color: #222;
}

#cart-items {
    list-style: none;
    margin: 15px 0;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
}

#cart-items::-webkit-scrollbar {
    width: 5px;
}

#cart-items::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted #333;
    transition: background 0.2s ease;
}

.cart-item-row:hover {
    background: rgba(255, 215, 0, 0.03);
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    max-width: 150px;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-price {
    color: #DAA520;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ffd700;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: #1a1a1a;
    color: #DAA520;
    border: none;
    padding: 3px 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #ffd700;
    color: #000;
}

.qty-val {
    padding: 0 8px;
    font-size: 0.85rem;
    font-weight: bold;
}

.cart-del-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.cart-del-btn:hover {
    transform: scale(1.25) rotate(10deg);
    filter: drop-shadow(0 0 5px red);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 15px 0;
    color: #ffd700;
}

.order-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffd700, #b5891a);
    color: #000;
    border: none;
    padding: 11px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: all 0.6s ease;
}

.order-btn:hover::before {
    left: 100%;
}

.order-btn:hover {
    background: linear-gradient(135deg, #b5891a, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.order-btn:active {
    transform: translateY(0) scale(0.98);
}

/* --- Classic & Iconic Footer Styles --- */
.footer {
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    color: #DAA520;
    padding: 50px 20px 25px 20px;
    margin-top: 60px;
    border-top: 2px solid #ffd700;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.9);
}

.footer-container {
    width: 100%;
    max-width: 1500px; /* Pehle 1100px tha */
    margin: 0 auto;
    text-align: center;
}
.footer-brand h3 {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #ffd700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.footer-brand .tagline {
    color: #a3a3a3;
    font-style: italic;
    font-size: 0.95rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    margin: 25px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.footer-col h4 {
    color: #ffd700;
    font-size: 1.05rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p, .footer-col a {
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ffd700;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-socials a {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.footer-bottom {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-bottom .credits span {
    color: #ffd700;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 40px 15px 20px 15px;
    }
    
    .footer-brand h3 {
        font-size: 1.4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive Styles */
@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
    }
    .rightaside {
        width: 100%;
        position: static;
    }
    .navbar {
        display: none;
    }
    .hamburger-btn, .mobile-cart-btn {
        display: block;
    }
}