/* ============================================
   Şef Çevirme QR Menü - Ana Stil Dosyası
   ============================================ */

:root {
    /* Ateş Renk Paleti */
    --primary: #8b0000;
    --primary-dark: #5c0000;
    --primary-light: #c0392b;
    --secondary: #0d0d0d;
    --secondary-light: #1a1a1a;
    --accent: #d4a259;
    --accent-light: #e8c47a;
    --gold: #d4a259;
    --gold-light: #f0d48a;
    --ember: #ff4500;
    --ember-glow: #ff6b35;
    --flame-yellow: #ffa500;

    /* Nötr Renkler */
    --bg: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-dark: #050505;
    --text: #f0e6d6;
    --text-light: #b8a898;
    --text-muted: #7a6a5a;
    --border: #2a2020;
    --border-light: #1e1616;

    /* Durum Renkleri */
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;

    /* Tipografi */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Amiri', serif;

    /* Boyutlar */
    --header-height: 64px;
    --nav-height: 56px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 4px 20px rgba(139, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(139, 0, 0, 0.25);
    --shadow-hover: 0 8px 30px rgba(255, 69, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Header
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none;
    height: var(--header-height);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(139, 0, 0, 0.3);
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.header-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.header-right {
    justify-content: flex-end;
}

.header-spacer {
    width: 1px;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 2px;
    z-index: 1001;
}

.logo-icon {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(13, 13, 13, 0.95);
    border: 3px solid rgba(139, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 69, 0, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 50%;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 69, 0, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 69, 0, 0.5); }
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

.header-masa {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-light);
    background: rgba(139, 0, 0, 0.15);
    transition: var(--transition);
}

.btn-icon:hover {
    background: rgba(255, 69, 0, 0.2);
    color: var(--ember);
}

.btn-cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    transform: scale(0);
}

.cart-badge.show {
    transform: scale(1);
}

/* ============================================
   Search Panel
   ============================================ */

.search-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    padding: 0 16px;
    transform: translateY(-100%);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.search-panel.active {
    transform: translateY(0);
}

.search-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 0;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary-light);
    border-radius: var(--radius);
    padding: 12px 16px;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.search-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

.search-input-wrap i {
    color: var(--text-muted);
    font-size: 16px;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--text);
}

.search-close {
    color: var(--text-muted);
    font-size: 18px;
    padding: 4px;
}

.search-results {
    margin-top: 12px;
    max-height: 50vh;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--border-light);
}

.search-result-item .result-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.search-result-item .result-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.search-result-item .result-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 300px;
    margin-top: var(--header-height);
    background: linear-gradient(180deg, #0d0d0d 0%, #1a0000 30%, #3d0000 60%, #5c0000 80%, #8b0000 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(0deg, rgba(255,69,0,0.15) 0%, transparent 100%);
    animation: fireBottom 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 60px;
    background: 
        radial-gradient(ellipse at 20% 100%, rgba(255,69,0,0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(255,165,0,0.4) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 100%, rgba(255,69,0,0.5) 0%, transparent 50%);
    filter: blur(8px);
    animation: fireFlicker 2s ease-in-out infinite alternate;
}

@keyframes fireBottom {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes fireFlicker {
    0% { opacity: 0.6; transform: scaleY(1); }
    100% { opacity: 1; transform: scaleY(1.2); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 20px;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 162, 89, 0.2);
    border: 1px solid rgba(212, 162, 89, 0.4);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.hero-content > p {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.hero-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.9;
}

.hero-info-item i {
    color: var(--accent);
}

/* ============================================
   Category Navigation
   ============================================ */

.category-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 0, 0, 0.2);
    height: var(--nav-height);
}

.category-nav-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
    border: 1.5px solid transparent;
}

.category-tab:hover {
    background: rgba(139, 0, 0, 0.15);
    color: var(--text);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(139, 0, 0, 0.4);
}

.category-tab i {
    font-size: 14px;
}

/* ============================================
   Featured Section
   ============================================ */

.featured-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px 0;
}

.section-header {
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h2 i {
    color: var(--accent);
    font-size: 18px;
}

.section-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.featured-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.featured-card {
    min-width: 260px;
    max-width: 260px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: var(--transition);
    flex-shrink: 0;
    border: 1px solid rgba(139, 0, 0, 0.2);
}

.featured-card:hover {
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 69, 0, 0.4);
}

.featured-img {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-img img {
    transform: scale(1.05);
}

.featured-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #4a3030;
    background: linear-gradient(135deg, #1a0d0d, #2d1515);
}

.featured-tag {
    position: absolute;
    top: 10px;
    left: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.tag-chef {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
}

.tag-popular {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.tag-spicy {
    background: #ff6b35;
    color: #fff;
}

.featured-info {
    padding: 14px;
}

.featured-info h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.featured-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.featured-meta i {
    margin-right: 3px;
}

.featured-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(139, 0, 0, 0.15);
}

.featured-price .price-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
}

.featured-price .price-current {
    font-size: 17px;
    font-weight: 700;
    color: var(--ember);
}

.btn-add {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--ember));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

.btn-add:hover {
    background: linear-gradient(135deg, var(--ember), var(--flame-yellow));
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

.btn-add:active {
    transform: scale(0.95);
}

/* ============================================
   Menu Content
   ============================================ */

.menu-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 16px 120px;
}

.menu-section {
    margin-bottom: 28px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.menu-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    display: flex;
    transition: var(--transition);
    border: 1px solid rgba(139, 0, 0, 0.15);
}

.menu-card:hover {
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.2);
    transform: translateY(-1px);
    border-color: rgba(255, 69, 0, 0.3);
}

.menu-card-img {
    position: relative;
    width: 120px;
    min-height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0d0d, #2d1515);
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #4a3030;
}

.discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--danger);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.card-tags {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
}

.mini-tag {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}

.tag-vegan {
    background: var(--success);
}

.menu-card-body {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

.menu-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.menu-card-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.menu-card-meta i {
    margin-right: 2px;
    font-size: 10px;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card-price .price-old {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.menu-card-price .price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--ember);
}

/* ============================================
   Cart Panel
   ============================================ */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    background: var(--bg-card);
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 90vh;
    max-height: calc(90 * var(--vh, 1vh));
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.cart-panel.active {
    transform: translateY(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.cart-header h3 i {
    color: var(--primary);
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(139, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition);
}

.cart-close:hover {
    background: rgba(255, 69, 0, 0.3);
    color: var(--ember);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    max-height: 40vh;
}

.cart-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 48px;
    opacity: 0.2;
    margin-bottom: 12px;
}

.cart-empty p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.cart-empty span {
    font-size: 13px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.cart-item-info .cart-item-price {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
}

.cart-item-qty button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}

.cart-item-qty button:hover {
    background: rgba(139, 0, 0, 0.3);
    color: var(--ember);
}

.cart-item-qty .qty-val {
    font-size: 14px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 14px;
    padding: 4px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: var(--danger);
}

.cart-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-light);
    background: var(--bg);
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cart-total span {
    font-size: 15px;
    color: var(--text-light);
}

.cart-total strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--ember);
}

.cart-masa-info {
    background: var(--accent);
    background: rgba(212, 162, 89, 0.1);
    color: var(--accent);
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

/* ============================================
   Cart Form (Sipariş Bilgileri)
   ============================================ */

.cart-form {
    margin-bottom: 12px;
}

.cart-form-group {
    margin-bottom: 10px;
}

.cart-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.cart-form-group label i {
    color: var(--accent);
    margin-right: 4px;
    font-size: 11px;
}

.cart-form-group input,
.cart-form-group textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    background: var(--bg-card);
    resize: none;
}

.cart-form-group input:focus,
.cart-form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}

.payment-options {
    display: flex;
    gap: 8px;
}

.payment-option {
    flex: 1;
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    text-align: center;
}

.payment-label i {
    font-size: 14px;
}

.payment-option input:checked + .payment-label {
    border-color: var(--primary);
    background: rgba(200, 16, 46, 0.05);
    color: var(--primary);
}

.toast-error i {
    color: var(--danger) !important;
}

.cart-note textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    font-family: var(--font-body);
    resize: none;
    outline: none;
    transition: var(--transition);
    margin-bottom: 12px;
    background: var(--bg-card);
}

.cart-note textarea:focus {
    border-color: var(--primary);
}

.btn-whatsapp {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: var(--whatsapp);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 22px;
}

/* ============================================
   WhatsApp Float Button
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 800;
    background: var(--whatsapp);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    overflow: hidden;
}

.whatsapp-float span {
    display: none;
}

.whatsapp-float:hover {
    width: auto;
    border-radius: 28px;
    padding: 0 20px;
    gap: 8px;
}

.whatsapp-float:hover span {
    display: inline;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* ============================================
   Scroll to Top
   ============================================ */

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 800;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 40px 16px 24px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 24px;
    color: var(--ember);
    text-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
}

.footer-logo h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #fff;
}

.footer-info p {
    font-size: 13px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-info i {
    color: var(--accent);
    width: 16px;
}

.footer-social {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.4);
}

.footer-copy {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 16px;
}

/* ============================================
   Toast Notification
   ============================================ */

.toast-container {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--secondary);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.5s forwards;
    max-width: 300px;
}

.toast i {
    font-size: 16px;
    color: var(--success);
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (min-width: 600px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-card {
        flex-direction: column;
    }

    .menu-card-img {
        width: 100%;
        height: 160px;
    }

    .hero {
        height: 300px;
    }

    .hero-content h2 {
        font-size: 42px;
    }

    .featured-card {
        min-width: 300px;
        max-width: 300px;
    }
}

@media (min-width: 768px) {
    .header-inner {
        padding: 0 24px;
    }

    .menu-content {
        padding: 24px 24px 120px;
    }

    .featured-section {
        padding: 32px 24px 0;
    }

    .cart-panel {
        max-width: 480px;
        left: auto;
        border-radius: var(--radius) 0 0 0;
        max-height: 100vh;
        top: 0;
        transform: translateX(100%);
    }

    .cart-panel.active {
        transform: translateX(0);
    }

    .cart-body {
        max-height: none;
        flex: 1;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.btn-add.added {
    animation: pulse 0.3s ease;
    background: var(--success);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: skeletonLoading 1.4s ease infinite;
}

@keyframes skeletonLoading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Dark overlay for images */
.menu-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(0,0,0,0.1));
    pointer-events: none;
}

/* Smooth scroll indicator */
.category-nav-inner::after {
    content: '';
    flex-shrink: 0;
    width: 1px;
}

/* ============================================
   Fire Ember Particles (Hero)
   ============================================ */

.fire-embers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
}

.ember {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 6px rgba(255, 69, 0, 0.8), 0 0 12px rgba(255, 165, 0, 0.4);
    animation: emberRise linear infinite;
    opacity: 0;
}

.ember:nth-child(1) { left: 10%; animation-duration: 4s; animation-delay: 0s; width: 3px; height: 3px; }
.ember:nth-child(2) { left: 25%; animation-duration: 5s; animation-delay: 1s; width: 5px; height: 5px; }
.ember:nth-child(3) { left: 40%; animation-duration: 3.5s; animation-delay: 0.5s; }
.ember:nth-child(4) { left: 55%; animation-duration: 4.5s; animation-delay: 2s; width: 3px; height: 3px; }
.ember:nth-child(5) { left: 70%; animation-duration: 3s; animation-delay: 1.5s; width: 5px; height: 5px; }
.ember:nth-child(6) { left: 85%; animation-duration: 4s; animation-delay: 0.8s; }
.ember:nth-child(7) { left: 15%; animation-duration: 5.5s; animation-delay: 2.5s; width: 2px; height: 2px; }
.ember:nth-child(8) { left: 65%; animation-duration: 3.8s; animation-delay: 1.2s; width: 3px; height: 3px; }

@keyframes emberRise {
    0% { 
        transform: translateY(0) translateX(0) scale(1); 
        opacity: 1; 
    }
    25% { 
        transform: translateY(-80px) translateX(15px) scale(0.9); 
        opacity: 0.9; 
    }
    50% { 
        transform: translateY(-160px) translateX(-10px) scale(0.7); 
        opacity: 0.6; 
    }
    75% { 
        transform: translateY(-240px) translateX(20px) scale(0.4); 
        opacity: 0.3; 
    }
    100% { 
        transform: translateY(-320px) translateX(-5px) scale(0.1); 
        opacity: 0; 
    }
}

/* ============================================
   Dark Theme Overrides (forms, inputs, cart)
   ============================================ */

.cart-panel {
    background: #141414;
    border-top: 1px solid rgba(139, 0, 0, 0.3);
}

.cart-header {
    border-bottom-color: rgba(139, 0, 0, 0.2);
}

.cart-item {
    border-bottom-color: rgba(139, 0, 0, 0.1);
}

.cart-item-qty {
    background: rgba(139, 0, 0, 0.1);
}

.cart-footer {
    background: #0d0d0d;
    border-top-color: rgba(139, 0, 0, 0.2);
}

.cart-form-group input,
.cart-form-group textarea {
    background: #1a1a1a;
    border-color: rgba(139, 0, 0, 0.2);
    color: var(--text);
}

.cart-form-group input:focus,
.cart-form-group textarea:focus {
    border-color: var(--ember);
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.15);
}

.cart-note textarea {
    background: #1a1a1a;
    border-color: rgba(139, 0, 0, 0.2);
    color: var(--text);
}

.payment-label {
    border-color: rgba(139, 0, 0, 0.2);
    color: var(--text-light);
}

.payment-option input:checked + .payment-label {
    border-color: var(--ember);
    background: rgba(255, 69, 0, 0.1);
    color: var(--ember);
}

.search-input-wrap input {
    color: var(--text);
}

.search-result-item:hover {
    background: rgba(139, 0, 0, 0.1);
}

.search-result-item .result-price {
    color: var(--ember);
}

.featured-img {
    background: linear-gradient(135deg, #1a0d0d, #2d1515);
}

.cart-item-price {
    color: var(--ember) !important;
}

body {
    background: #0d0d0d;
}

/* Glow effect on section headers */
.section-header h2 i {
    text-shadow: 0 0 10px rgba(212, 162, 89, 0.5);
}

/* Cart badge fire glow */
.cart-badge.show {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(139, 0, 0, 0); }
}
