:root{
  --bg:#0f1724;
  --surface:#0b1220;
  --muted:#94a3b8;
  --accent:#ff6b35;
  --accent-2:#ffb703;
  --card:#0f1724;
  --glass: rgba(255,255,255,0.04);
  --glass-2: rgba(255,255,255,0.02);
  --radius:14px;
  color-scheme: dark;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background:linear-gradient(180deg, #071021 0%, #071827 40%);
  color:#e6eef8;
}

.container{max-width:1100px;margin:0 auto;padding:28px}

/* Header */
.site-header{backdrop-filter:blur(6px);border-bottom:1px solid rgba(255,255,255,0.03)}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;gap:14px;align-items:center}
.logo{font-size:34px;}
.brand h1{margin:0;font-size:20px;letter-spacing:0.6px}
.brand .tag{margin:0;color:var(--muted);font-size:13px}
.nav{display:flex;gap:14px;align-items:center}
.nav a{color:var(--muted);text-decoration:none;padding:6px 10px;border-radius:9px}
.nav a:hover{color:#fff}
.cart-btn{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#06111a;padding:8px 12px;border-radius:12px;font-weight:600}

/* Hero */
.hero{padding:48px 0}
.hero-grid{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:center}
.hero-text h2{font-size:40px;margin:6px 0 12px}
.hero-text p{color:var(--muted);max-width:50ch}
.btn-primary{display:inline-block;background:linear-gradient(90deg,var(--accent),#ff8a66);color:#081014;padding:12px 18px;border-radius:12px;text-decoration:none;font-weight:700;margin-top:14px}
.btn-ghost{display:inline-block;background:transparent;border:1px solid rgba(255,255,255,0.04);padding:10px 14px;border-radius:10px;color:var(--muted);text-decoration:none}
.hero-features{display:flex;gap:12px;margin-top:18px;color:var(--muted)}

.hero-visual{position:relative}
.card{border-radius:18px;box-shadow:0 10px 30px rgba(2,6,23,0.6);overflow:hidden}
.main-card img{display:block;width:100%;height:auto}
.small-card{position:absolute;right:-8px;bottom:-18px;width:180px;transform:rotate(-6deg)}

/* Menu */
.menu-section{padding:30px 0}
.menu-section h3{margin:0 0 6px}
.section-sub{color:var(--muted);margin:0 0 18px}
.menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.menu-item{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,0.03);display:flex;flex-direction:column}
.item-visual{width:100%;height:160px;object-fit:cover;background:#fff6}
.item-body{padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.item-body h4{margin:0}
.muted{color:var(--muted)}
.item-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.price{font-weight:700}

/* Butonat */
.add-toggle{display:none}
.btn-add{background:linear-gradient(90deg,#14202b,#12202d);color:var(--muted);padding:8px 12px;border-radius:10px;cursor:pointer;border:1px solid rgba(255,255,255,0.03)}
.add-toggle:checked + .btn-add{background:linear-gradient(90deg,var(--accent),#ff8a66);color:#06111a;font-weight:700}
.add-toggle:checked + .btn-add::after{content:" ✓"}

/* Porosia */
.order-section{padding:30px 0}
.order-grid{display:grid;grid-template-columns:1fr 360px;gap:18px;align-items:start}
.order-form{background:var(--glass);padding:18px;border-radius:12px;border:1px solid rgba(255,255,255,0.03)}
.form-row{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.form-row span{font-size:13px;color:var(--muted)}
.form-row input,.form-row textarea{padding:10px;border-radius:10px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:inherit}
.form-actions{display:flex;gap:10px;margin-top:8px}

.cart-panel{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:16px;border-radius:12px;border:1px solid rgba(255,255,255,0.03)}
.cart-list{list-style:none;padding:0;margin:8px 0 12px}
.cart-list .empty{opacity:0.8;color:var(--muted)}

/* Cart Items */
.cart-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,0.02);
  margin-bottom:8px;
}

.item-info{
  display:flex;
  flex-direction:column;
  gap:4px;
  flex:1;
}

.item-name{
  font-weight:600;
  color:#e6eef8;
}

.item-price{
  font-size:12px;
  color:var(--muted);
}

.item-controls{
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:10px;
}

.qty-btn{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:var(--muted);
  width:24px;
  height:24px;
  border-radius:6px;
  cursor:pointer;
  padding:0;
  font-size:14px;
  transition:all 0.2s ease;
}

.qty-btn:hover{
  background:rgba(255,255,255,0.08);
  color:#fff;
}

.qty-display{
  width:24px;
  text-align:center;
  font-size:12px;
}

.remove-btn{
  background:rgba(255,107,107,0.1);
  border:1px solid rgba(255,107,107,0.2);
  color:#ff6b6b;
  width:24px;
  height:24px;
  border-radius:6px;
  cursor:pointer;
  padding:0;
  font-size:12px;
  transition:all 0.2s ease;
}

.remove-btn:hover{
  background:rgba(255,107,107,0.2);
  color:#ff8787;
}

.cart-footer .totals{display:flex;justify-content:space-between;font-weight:700}
.cart-footer{border-top:1px dashed rgba(255,255,255,0.02);padding-top:12px}
.fullwidth{display:block;text-align:center}

.contact-section{padding:24px 0;color:var(--muted)}

.site-footer{padding:18px 0;border-top:1px solid rgba(255,255,255,0.03);margin-top:30px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;justify-content: center;}

/* WhatsApp Floating Button */
.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  width:60px;
  height:60px;
  background:linear-gradient(135deg, #25d366, #20ba5d);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(37, 211, 102, 0.4);
  transition:all 0.3s ease;
  z-index:9999;
}

.whatsapp-float:hover{
  transform:scale(1.1);
  box-shadow:0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon{
  width:32px;
  height:32px;
  object-fit:contain;
}

/* Chat widget */
.chat-open-btn{
  position:fixed;
  left:20px;
  bottom:24px;
  width:54px;
  height:54px;
  border-radius:50%;
  background:linear-gradient(90deg,#4b6cb7,#182848);
  color:#fff;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  box-shadow:0 6px 18px rgba(24,40,72,0.5);
  border: none;
}

.chat-widget{
  position:fixed;
  left:20px;
  bottom:90px;
  width:320px;
  max-width:calc(100% - 40px);
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:12px;
  box-shadow:0 10px 30px rgba(2,6,23,0.6);
  overflow:hidden;
  transform:translateY(20px) scale(0.98);
  opacity:0;
  transition:all 0.2s ease;
  z-index:9999;
}

.chat-widget.open{opacity:1;transform:none}
.chat-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,0.03)}
.chat-messages{max-height:260px;overflow:auto;padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.chat-message{padding:8px 10px;border-radius:10px;max-width:85%}
.chat-message.from-user{align-self:flex-end;background:linear-gradient(90deg,#ffecb3,#ffd59a);color:#081014;font-weight:600}
.chat-message.from-bot{align-self:flex-start;background:rgba(255,255,255,0.03);color:var(--muted)}
.chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid rgba(255,255,255,0.03)}
.chat-form input{flex:1;padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:inherit}

/* Hide form containers by default */
.form-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Show form when not hidden */
.form-container.visible {
  display: block;
}

/* Add overlay for forms */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.visible {
  display: block;
}

/* Style forms to look like a list */
.form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-container label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-container input {
  padding: 10px;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background-color: var(--glass);
  color: #e6eef8;
}

.form-container button {
  padding: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
}

.form-container button:hover {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

@media (max-width:560px){
  .chat-widget{left:12px;right:12px;width:auto;bottom:80px}
  .chat-open-btn{left:12px}
}
