/* ==========================================================================
   TRINETRA BHOJANALAYA - TRENDY SWIGGY/ZOMATO STYLE
   ========================================================================== */

:root {
    --brand-orange: #FF5E00;
    --brand-orange-dark: #E05200;
    --brand-yellow: #FFC107;
    --brand-pink: #FF0055;
    
    --bg-dark: #0A0A0B;
    --bg-card: #141416;
    --bg-card-hover: #1A1A1D;
    
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    
    --shadow-glow: 0 10px 40px rgba(255, 94, 0, 0.4);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.5);
    
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-full: 9999px;
    
    --transition: cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 24px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }

.text-gradient {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-alt {
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offset-bg {
    background-color: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; }
.section-title { font-size: clamp(36px, 6vw, 56px); margin-bottom: 16px; letter-spacing: -1px; }
.section-desc { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto 64px; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink)); color: white; }
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-glow); }
.btn-secondary { background: rgba(255,255,255,0.1); color: white; backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); }
.btn-outline { border: 2px solid rgba(255,255,255,0.2); color: white; background: transparent; }
.btn-outline:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

.btn-large { padding: 18px 40px; font-size: 18px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.shadow-glow { box-shadow: var(--shadow-glow); }

/* TRUST STATS */
.trust-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.trust-stats .stat { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--text-main); }

/* BADGES */
.badge-mini { font-size: 11px; padding: 4px 8px; border-radius: 4px; font-weight: 800; text-transform: uppercase; vertical-align: middle; margin-left: 8px; display: inline-block; letter-spacing: 0.5px; }
.bg-gray { background: rgba(255,255,255,0.1); color: white; }
.bg-red { background: rgba(255, 0, 85, 0.2); color: var(--brand-pink); border: 1px solid rgba(255, 0, 85, 0.4); }
.bg-orange { background: rgba(255, 94, 0, 0.2); color: var(--brand-orange); border: 1px solid rgba(255, 94, 0, 0.4); }

.badge-pill {
    display: inline-block;
    background: rgba(255, 94, 0, 0.15);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 94, 0, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 24px; font-weight: 900; color: white; letter-spacing: -0.5px; }
.nav-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; aspect-ratio: 1/1; box-shadow: 0 0 15px rgba(255,94,0,0.5); }
.nav-links { display: flex; gap: 40px; }
.nav-links a { text-decoration: none; color: white; font-weight: 600; font-size: 16px; transition: color 0.3s; }
.nav-links a:hover { color: var(--brand-orange); }

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero-bg-elements { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; }
.blob-1 { top: -10%; right: -5%; width: 600px; height: 600px; background: var(--brand-orange); }
.blob-2 { bottom: -10%; left: -10%; width: 500px; height: 500px; background: var(--brand-pink); }

.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-title { font-size: clamp(64px, 8vw, 100px); line-height: 1; margin-bottom: 24px; letter-spacing: -3px; text-transform: uppercase; }
.hero-text { font-size: 22px; color: var(--text-muted); margin-bottom: 40px; max-width: 500px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.visual-stack { position: relative; width: 100%; height: 500px; }
.visual-card {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
}
.visual-card img { width: 100%; height: 100%; object-fit: cover; }
.visual-tag {
    position: absolute; bottom: 30px; left: -20px;
    background: var(--text-main); color: var(--bg-dark);
    padding: 12px 24px; border-radius: var(--radius-full);
    font-weight: 800; font-size: 18px; box-shadow: var(--shadow-glow);
}

.float-anim { animation: floatImage 6s ease-in-out infinite; }
@keyframes floatImage { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(2deg); } }

/* HIGHLIGHT SECTION */
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.highlight-card {
    background: var(--bg-dark); border-radius: var(--radius-xl);
    display: flex; overflow: hidden; height: 320px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.5s var(--transition);
}
.highlight-card:hover { transform: translateY(-10px); border-color: rgba(255, 94, 0, 0.4); box-shadow: var(--shadow-glow); }
.highlight-img { width: 45%; position: relative; }
.highlight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.highlight-card:hover .highlight-img img { transform: scale(1.1); }
.highlight-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--brand-pink); color: white;
    padding: 6px 16px; border-radius: var(--radius-full); font-weight: 800; font-size: 12px; text-transform: uppercase;
}
.bg-yellow { background: var(--brand-yellow); color: var(--bg-dark); }
.highlight-info { width: 55%; padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; }
.highlight-info h3 { font-size: 28px; margin-bottom: 12px; }
.highlight-info p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-bottom: auto; }
.highlight-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.highlight-price { font-size: 28px; font-weight: 900; color: var(--brand-orange); }

/* MENU BENTO */
.menu-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.menu-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid rgba(255,255,255,0.03);
    transition: all 0.4s var(--transition); cursor: pointer;
}
.menu-card:hover { transform: translateY(-8px); background: var(--bg-card-hover); border-color: rgba(255,255,255,0.1); }
.menu-card-img { height: 200px; overflow: hidden; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.05); }
.menu-card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.menu-card-body h4 { font-size: 22px; margin-bottom: 8px; }
.menu-card-body p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.menu-card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.add-btn { 
    width: 40px; height: 40px; border-radius: 50%; border: none; 
    background: rgba(255,255,255,0.1); color: white; font-size: 24px; font-weight: 500; 
    cursor: pointer; transition: all 0.3s; 
}
.menu-card:hover .add-btn { background: var(--brand-orange); }
.menu-card-special { 
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink)); 
    justify-content: center; text-align: center; padding: 40px; border: none;
}
.menu-card-special h3 { font-size: 28px; margin-bottom: 12px; }
.menu-card-special p { color: rgba(255,255,255,0.9); margin-bottom: 0; }

/* ABOUT */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-poster { position: relative; border-radius: var(--radius-xl); overflow: hidden; height: 500px; }
.about-poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex; align-items: flex-end; padding: 40px;
}
.poster-overlay h2 { font-size: 48px; line-height: 1.1; }
.about-copy h2 { font-size: 56px; margin-bottom: 24px; line-height: 1.1; }
.about-copy p { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; }
.vibe-tags { display: flex; gap: 16px; flex-wrap: wrap; }
.vtag { background: rgba(255,255,255,0.1); padding: 10px 20px; border-radius: var(--radius-full); font-weight: 700; font-size: 14px; }

/* REVIEWS */
.review-track { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 40px; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-box { 
    min-width: 350px; background: var(--bg-card); padding: 40px; border-radius: var(--radius-xl); 
    border: 1px solid rgba(255,255,255,0.02);
    transition: all 0.5s var(--transition); cursor: pointer;
}
.review-box:hover { transform: translateY(-10px); box-shadow: var(--shadow-glow); border-color: rgba(255, 94, 0, 0.4); }
.review-box .stars { color: var(--brand-yellow); font-size: 24px; margin-bottom: 24px; }
.review-box p { font-size: 20px; font-weight: 500; margin-bottom: 32px; line-height: 1.5; }
.reviewer { display: flex; align-items: center; gap: 16px; }
.reviewer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.reviewer span { font-weight: 700; font-size: 16px; }

/* CONTACT */
.contact-card {
    background: var(--bg-card); border-radius: var(--radius-xl); overflow: hidden;
    display: flex; border: 1px solid rgba(255,255,255,0.05); box-shadow: var(--shadow-card);
}
.contact-info { width: 50%; padding: 80px 64px; }
.contact-info h2 { font-size: 56px; margin-bottom: 24px; line-height: 1; }
.contact-info p { font-size: 18px; color: var(--text-muted); margin-bottom: 24px; }
.phone-massive { font-size: 48px; color: white; margin-bottom: 40px; }
.contact-buttons { display: flex; gap: 16px; }
.contact-visual { width: 50%; }
.contact-visual img { width: 100%; height: 100%; object-fit: cover; }

/* FOOTER */
footer { padding: 60px 0 120px 0; background: var(--bg-dark); }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; aspect-ratio: 1/1; margin-bottom: 24px; opacity: 0.5; }
footer p { color: var(--text-muted); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }

/* FLOATING DOCK */
.floating-dock {
    position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 16px; z-index: 1000;
}
.dock-btn {
    display: flex; align-items: center; gap: 12px; text-decoration: none;
    padding: 16px 32px; border-radius: var(--radius-full);
    font-weight: 800; font-size: 18px; color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: all 0.3s ease;
}
.dock-order { background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink)); }
.dock-wa { background: #25D366; padding: 16px; }
.dock-order:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.floating-wa-anim { animation: pulseWA 2s infinite; }
@keyframes pulseWA { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); } 70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ANIMATIONS */
.reveal { opacity: 0; transition: all 0.8s var(--transition); }
.reveal.active { opacity: 1; }

.fade-up { transform: translateY(50px); }
.fade-up.active { transform: translateY(0); }

.scale-in { transform: scale(0.9); }
.scale-in.active { transform: scale(1); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .highlight-card { flex-direction: column; height: auto; }
    .highlight-img, .highlight-info { width: 100%; }
    .highlight-img { height: 250px; }
    .menu-bento { grid-template-columns: repeat(2, 1fr); }
    .contact-card { flex-direction: column; }
    .contact-info, .contact-visual { width: 100%; }
}
/* CART UI */
#overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); z-index: 2000; opacity: 0; pointer-events: none; transition: all 0.4s var(--transition); }
#overlay.overlay-active { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 450px; height: 100vh;
    background: var(--bg-dark); box-shadow: -20px 0 60px rgba(0,0,0,0.9);
    z-index: 2100; transition: right 0.5s var(--transition);
    display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,0.05);
}
.cart-drawer.open { right: 0; }
.cart-header { padding: 32px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cart-header h3 { font-size: 28px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 12px;}
.close-cart { background: transparent; border: none; color: white; font-size: 28px; cursor: pointer; transition: color 0.3s; }
.close-cart:hover { color: var(--brand-pink); }
#cartItems { flex-grow: 1; overflow-y: auto; padding: 32px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cart-row .item-label { font-size: 18px; font-weight: 600; }
.cart-row .price { font-weight: 800; color: var(--brand-orange); font-size: 18px;}
.cart-footer { padding: 32px; background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05); }
.total-row { display: flex; justify-content: space-between; font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.total-row #cartTotal { color: white; }
.btn-block { width: 100%; margin-bottom: 12px; }

/* QUANTITY WIDGET */
.qty-action { position: relative; display: inline-block; }
.qty-box {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
    border-radius: var(--radius-full);
    padding: 6px 12px; color: white; font-weight: 800; width: 100%; max-width: 100px;
}
.qty-box button { background: transparent; border: none; color: white; font-size: 22px; font-weight: bold; width: 30px; cursor: pointer; }
.qty-box span { margin: 0; font-size: 16px; }

@media (max-width: 768px) {

    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .visual-stack { height: 350px; }
    .about-container { grid-template-columns: 1fr; }
    .about-poster { height: 350px; }
    .nav-links, .nav-cta { display: none; }
    .section { padding: 60px 0; }
    .contact-info { padding: 40px 24px; }
    .floating-dock { width: 90%; justify-content: center; }
    .dock-order { flex-grow: 1; justify-content: center; }
}
