/* ═══════════════════════════════════════════════════════════
   TASTE OF INDIA — Custom Styles
   Charcoal + Coral | Vibrant Modern | Geometric
   ═══════════════════════════════════════════════════════════ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111113; }
::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #f4511e; }

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* ── Geo Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.circle-1 {
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, #f4511e 0%, transparent 70%);
    top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
}
.circle-2 {
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    bottom: 15%; left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}
.circle-3 {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #f4511e 0%, transparent 70%);
    top: 40%; left: 15%;
    animation: float 10s ease-in-out infinite;
}
.square-1 {
    width: 100px; height: 100px;
    background: #f59e0b;
    border-radius: 16px;
    top: 25%; right: 15%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}
.square-2 {
    width: 60px; height: 60px;
    background: #f4511e;
    border-radius: 10px;
    bottom: 20%; right: 10%;
    transform: rotate(30deg);
    animation: spin-slow 15s linear infinite reverse;
}
.diamond-1 {
    width: 80px; height: 80px;
    background: #f4511e;
    border-radius: 12px;
    top: 60%; left: 8%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}
.triangle-1 {
    width: 0; height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #f59e0b;
    opacity: 0.08;
    top: 30%; right: 5%;
    animation: float 9s ease-in-out infinite reverse;
}
.ring-1 {
    width: 160px; height: 160px;
    border: 4px solid #f4511e;
    border-radius: 50%;
    top: 20%; left: 10%;
    animation: float 12s ease-in-out infinite;
}
.ring-2 {
    width: 100px; height: 100px;
    border: 3px solid #f59e0b;
    border-radius: 50%;
    bottom: 25%; right: 20%;
    animation: float 8s ease-in-out infinite reverse;
}
.circle-4 {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, #f4511e 0%, transparent 70%);
    bottom: -100px; right: -50px;
    opacity: 0.06;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* ── Reveal on Scroll ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Menu Cards ── */
.menu-card {
    background: rgba(28, 28, 31, 0.8);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}
.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(244, 81, 30, 0.15);
    border-color: rgba(244, 81, 30, 0.3);
}
.menu-card-img {
    height: 200px;
    overflow: hidden;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img {
    transform: scale(1.08);
}
.menu-card-body {
    padding: 1.25rem;
}

/* ── Category Buttons ── */
.cat-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cat-btn:hover {
    border-color: rgba(244, 81, 30, 0.5);
    color: #f4511e;
    background: rgba(244, 81, 30, 0.08);
}
.cat-btn.active {
    background: #f4511e;
    border-color: #f4511e;
    color: white;
    box-shadow: 0 4px 20px rgba(244, 81, 30, 0.3);
}

/* ── Feature Chips ── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(244, 81, 30, 0.1);
    border: 1px solid rgba(244, 81, 30, 0.2);
    color: #ffd3b8;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}
.chip:hover {
    background: rgba(244, 81, 30, 0.18);
    border-color: rgba(244, 81, 30, 0.4);
    transform: translateY(-2px);
}

/* ── Spicy badge ── */
.spicy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(244, 81, 30, 0.15);
    border: 1px solid rgba(244, 81, 30, 0.3);
    color: #ff7043;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Mobile menu animation ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Responsive tweaks ── */
@media (max-width: 640px) {
    .geo-shape { opacity: 0.06; }
    .circle-1 { width: 250px; height: 250px; }
    .circle-2 { width: 120px; height: 120px; }
    .square-1 { width: 60px; height: 60px; }
}

/* ── Selection ── */
::selection {
    background: rgba(244, 81, 30, 0.4);
    color: white;
}
