/* --- PREMIUM DARK & GOLD THEME (FINAL CLEANED) --- */
:root {
    --gold: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --gold-solid: #b38b00;
    --dark-bg: #0a0a0a;
    --card-bg: #161616;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: #0f0f0f; color: #e0e0e0; overflow-x: hidden; }

/* --- Navbar --- */
header {
    background: rgba(0, 0, 0, 1);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.logo-wrapper { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.header-logo { height: 45px; width: auto; object-fit: contain; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; background: var(--gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.main-nav ul { display: flex; list-style: none; gap: 30px; }
.main-nav ul li a { color: #ddd; text-decoration: none; font-size: 0.85rem; font-weight: 600; letter-spacing: 1.5px; }

/* --- Hero Section --- */
.hero {
    width: 100%;
    height: 80vh;
    background: #000;
    display: flex;
    align-items: flex-end;   /* TEXT DOWN */
    justify-content: center;
    padding-bottom: 5px;    /* GAP FROM BOTTOM */
    overflow: hidden;
    position: relative;
}
.hero-wish-img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    position: absolute;
    top: 0;
    left: 0;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 4.5rem; color: #fff; text-shadow: 0 5px 20px #000; }
.hero-content p { font-size: 1.2rem; color: #eee; text-shadow: 0 2px 10px #000; }

/* --- Layout --- */
.container { width: 92%; max-width: 1300px; margin: 60px auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 3rem; color: #fff; }
.underline { width: 80px; height: 3px; background: var(--gold); margin: 15px auto; }

/* --- Cards --- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.item-card { background: var(--card-bg); border-radius: 20px; border: 1px solid var(--glass-border); overflow: hidden; text-align: center; transition: 0.3s; position: relative; }
.item-card:hover { border-color: var(--gold-solid); transform: translateY(-10px); }
.img-wrapper { height: 260px; background: #000; }
.item-img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 30px; }
.card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: #fff; margin-bottom: 20px; }
.size-chip { padding: 8px 18px; border: 1px solid #333; border-radius: 12px; cursor: pointer; color: #999; margin: 0 5px; }
.size-chip.active { background: var(--gold); color: #000; font-weight: 700; }
.amount { font-size: 2.2rem; font-weight: 800; color: #fff; margin: 20px 0; }
.order-btn { width: 100%; padding: 15px; background: transparent; border: 2px solid var(--gold-solid); color: var(--gold-solid); border-radius: 12px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.order-btn:hover { background: var(--gold); color: #000; }

/* --- Special Badge --- */
.special-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: #000;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 5px;
    z-index: 5;
}

/* --- Loading Popup --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-content { text-align: center; background: #111; padding: 50px; border-radius: 20px; border: 1px solid var(--gold-solid); }
.loader { border: 5px solid #222; border-top: 5px solid var(--gold-solid); border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- Footer --- */
footer {
    background: #080808;
    color: #888;
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; background: var(--gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }
.footer-links { margin: 20px 0; }
.footer-links a { color: #555; text-decoration: none; margin: 0 15px; font-size: 0.8rem; transition: 0.3s; }
.footer-links a:hover { color: var(--gold-solid); }

/* --- Pickup Section --- */
.takeaway-section {
    background: #111;
    padding: 50px 40px;
    border-radius: 30px;
    margin-top: 60px;
    border: 1px solid var(--glass-border);
    text-align: center;
}
.takeaway-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 30px;
}
.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.takeaway-section input,
.takeaway-section select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 18px;
    border-radius: 15px;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
}

.takeaway-section input:focus,
.takeaway-section select:focus {
    border-color: var(--gold-solid);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 12px rgba(179, 139, 0, 0.4);
}

/* Placeholder */
.takeaway-section input::placeholder {
    color: #888;
}

/* --- Mobile Dropdown Popup Fix --- */
.takeaway-section select,
.takeaway-section select option {
    color: #000 !important;
    background: #fff !important;
    -webkit-text-fill-color: #000 !important;
}

/* --- Submit Button --- */
.submit-btn {
    width: 100%;
    max-width: 500px;
    padding: 22px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 15px;
    font-weight: 900;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(179, 139, 0, 0.3);
    transition: 0.4s;
}
.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(179, 139, 0, 0.5);
}
.submit-btn:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}
/* FIX: Delete button overflow issue on mobile */
#cart-items-body td:last-child {
    width: 40px;
    text-align: center;
    padding: 10px !important;
}

#cart-items-body i {
    font-size: 1.4rem;
    color: #ff4d4d;
    cursor: pointer;
}

/* Make table scrollable on small screens */
.order-summary table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}
/* Premium Eid Hero Title */
.eid-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f7e9b0, #d4a73b, #b38728);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 25px rgba(0,0,0,0.7);
    letter-spacing: 2px;
}

/* Subtitle Premium Style */
.eid-subtitle {
    font-size: 1.3rem;
    color: #f1f1f1;
    letter-spacing: 1px;
    margin-top: 10px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.6);
}

/* Mobile Responsive */
@media (max-width: 600px) {

    /* HERO IMAGE — RIGHT SIDE ALIGN */
    .hero-wish-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;   /* IMAGE RIGHT-IL MOVE */
    }

    /* HERO HEIGHT + TEXT POSITION */
    .hero {
        height: 75vh;                    /* Eid Mubarak style height */
        align-items: flex-end;           /* Text thazhe */
        padding-bottom: 45px;            /* Perfect spacing */
    }

    /* HEADING */
    .eid-title {
        font-size: 1.4rem;
        letter-spacing: 0px;
        line-height: 1.2;
        text-align: center;
        padding: 0 15px;
        white-space: normal;
    }

    /* SUBTITLE */
    .eid-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
        padding: 0 20px;
        margin-top: 8px;
    }
}