/*
Theme Name: Circle Bites
Theme URI: https://example.com/
Author: You
Author URI: https://example.com/
Description: Full-height banner restaurant theme with circular menu and cart.
Version: 1.0
License: GPLv2 or later
Text Domain: circle-bites
*/

:root {
    --bg: #050816;
    --bg-alt: #0f172a;
    --accent: #f97316;
    --accent-soft: rgba(249, 115, 22, 0.2);
    --text: #f9fafb;
    --muted: #9ca3af;
    --card-bg: rgba(15, 23, 42, 0.95);
    --radius-lg: 1.5rem;
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.45);
    --transition-fast: 0.25s ease;
    --transition-slow: 0.45s ease;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
      "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1e293b 0, #020617 55%);
    color: var(--text);
    min-height: 100vh;
    scroll-behavior: smooth;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  /* Layout */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom,
      rgba(15,23,42,0.95),
      rgba(15,23,42,0.75),
      transparent
    );
    border-bottom: 1px solid rgba(148,163,184,0.25);
  }
  
  .nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
  }
  
  .logo-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: conic-gradient(
      from 0deg,
      #f97316,
      #fb923c,
      #fde68a,
      #f97316
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(15,23,42,0.9),
                0 10px 25px rgba(15,23,42,0.9);
    font-size: 1.15rem;
  }
  
  nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    font-size: 0.92rem;
  }
  
  nav a {
    position: relative;
    color: var(--muted);
    transition: color var(--transition-fast);
  }
  
  nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #f97316, #fde68a);
    border-radius: 999px;
    transition: width var(--transition-fast);
  }
  
  nav a:hover {
    color: var(--text);
  }
  
  nav a:hover::after {
    width: 100%;
  }
  
  /* Cart button */
  .cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    background: radial-gradient(circle at top left,
      rgba(249,115,22,0.22),
      rgba(15,23,42,0.95)
    );
    cursor: pointer;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                border-color var(--transition-fast),
                background var(--transition-fast);
    box-shadow: 0 12px 30px rgba(15,23,42,0.85);
  }
  
  .cart-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(249,115,22,0.9);
    box-shadow: 0 18px 40px rgba(15,23,42,0.95);
  }
  
  .cart-icon {
    font-size: 1rem;
  }
  
  .cart-count {
    min-width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: #f97316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #111827;
    padding: 0 0.25rem;
  }
  
  main {
    margin-top: 64px; /* header height */
  }
  
  /* Hero / Banner */
  .hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem 3.5rem;
  }
  
  .hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
  }
  
  @media (max-width: 900px) {
    .hero-inner {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  
  .hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }
  
  .hero-copy h1 span {
    background: linear-gradient(to right, #f97316, #fb923c, #facc15);
    -webkit-background-clip: text;
    color: transparent;
  }
  
  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.5);
    color: #e5e7eb;
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
  }
  
  .hero-tag-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
  }
  
  .hero-subtitle {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 30rem;
  }
  
  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.7rem;
    font-size: 0.85rem;
  }
  
  .hero-meta-block span {
    display: block;
  }
  
  .meta-label {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 0.2rem;
  }
  
  .meta-value {
    font-weight: 600;
    color: #e5e7eb;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
  }
  
  .btn-primary,
  .btn-ghost {
    border-radius: 999px;
    padding: 0.7rem 1.2rem;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                background var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  
  .btn-primary {
    background: linear-gradient(to right, #f97316, #facc15);
    color: #111827;
    box-shadow: 0 18px 40px rgba(249,115,22,0.45);
    border: 1px solid rgba(148,163,184,0.3);
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 55px rgba(249,115,22,0.55);
  }
  
  .btn-ghost {
    background: rgba(15,23,42,0.9);
    color: var(--text);
    border: 1px solid rgba(148,163,184,0.6);
  }
  
  .btn-ghost:hover {
    border-color: rgba(249,115,22,0.9);
    background: radial-gradient(circle at top left,
      rgba(249,115,22,0.22),
      rgba(15,23,42,0.98)
    );
  }
  
  .hero-note {
    font-size: 0.75rem;
    color: var(--muted);
  }
  
  /* Circle Menu */
  .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .circle-shell {
    position: relative;
    width: min(420px, 78vw);
    height: min(420px, 78vw);
    border-radius: 999px;
    background: radial-gradient(circle at top,
      rgba(15,23,42,0.1), rgba(15,23,42,0.95)
    );
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148,163,184,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  
  .circle-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 1px dashed rgba(148,163,184,0.45);
    box-shadow: 0 0 80px rgba(15,23,42,0.9) inset;
  }
  
  .circle-menu {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    transition: transform var(--transition-slow),
                opacity var(--transition-slow),
                box-shadow var(--transition-slow),
                background var(--transition-slow),
                border-color var(--transition-slow);
    cursor: pointer;
  }
  
  .circle-item-inner {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 0,
      rgba(248,250,252,0.15),
      rgba(15,23,42,1)
    );
    border: 1px solid rgba(148,163,184,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.1rem;
    text-align: center;
    box-shadow: 0 14px 36px rgba(15,23,42,0.9);
    font-size: 0.78rem;
  }
  
  .circle-emoji {
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
  }
  
  .circle-label {
    white-space: nowrap;
    padding: 0 0.4rem;
  }
  
  .circle-item.inactive {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
  }
  
  .circle-item.active {
    opacity: 1;
    transform: translate(-50%, -52%) scale(1.25);
  }
  
  .circle-item.active .circle-item-inner {
    border-color: rgba(249,115,22,0.9);
    background: radial-gradient(circle at 15% 0,
      rgba(248,250,252,0.16),
      rgba(15,23,42,1)
    );
    box-shadow:
      0 0 0 1px rgba(249,115,22,0.8),
      0 18px 50px rgba(15,23,42,1);
  }
  
  .circle-item.active .circle-label {
    font-weight: 600;
  }
  
  .circle-info-card {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 85%);
    padding: 0.9rem 1.1rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148,163,184,0.5);
    box-shadow: var(--shadow-soft);
    font-size: 0.8rem;
  }
  
  .circle-info-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
    gap: 0.75rem;
  }
  
  .circle-info-title {
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .circle-info-price {
    font-weight: 700;
    color: #fde68a;
    white-space: nowrap;
  }
  
  .circle-info-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
  }
  
  .circle-info-desc {
    font-size: 0.75rem;
    color: #d1d5db;
    margin-bottom: 0.6rem;
  }
  
  .circle-info-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }
  
  .pill {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    font-size: 0.7rem;
    color: var(--muted);
  }
  
  .scroll-hint {
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    color: var(--muted);
    background: rgba(15,23,42,0.9);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px dashed rgba(148,163,184,0.5);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .scroll-icon {
    font-size: 0.8rem;
  }
  
  /* Cart Sidebar */
  .cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100vw);
    height: 100vh;
    background: rgba(15,23,42,0.98);
    border-left: 1px solid rgba(148,163,184,0.6);
    box-shadow: -20px 0 45px rgba(15,23,42,0.95);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 60;
    display: flex;
    flex-direction: column;
  }
  
  .cart-sidebar.open {
    transform: translateX(0);
  }
  
  .cart-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148,163,184,0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .cart-header h2 {
    font-size: 1.1rem;
  }
  
  .cart-close {
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
  }
  
  .cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .cart-empty {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 2rem;
  }
  
  .cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: 0.6rem;
    padding: 0.7rem 0;
    border-bottom: 1px dashed rgba(55,65,81,0.7);
  }
  
  .cart-item-main {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }
  
  .cart-item-name {
    font-weight: 600;
    font-size: 0.88rem;
  }
  
  .cart-item-meta {
    font-size: 0.75rem;
    color: var(--muted);
  }
  
  .cart-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.1rem;
  }
  
  .qty-btn {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    background: transparent;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .qty-value {
    min-width: 1.2rem;
    text-align: center;
    font-size: 0.8rem;
  }
  
  .cart-item-right {
    text-align: right;
    font-size: 0.85rem;
  }
  
  .cart-footer {
    padding: 1rem 1.25rem 1.2rem;
    border-top: 1px solid rgba(148,163,184,0.4);
    background: radial-gradient(circle at top,
      rgba(15,23,42,0.4),
      rgba(15,23,42,0.98)
    );
  }
  
  .cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
  }
  
  .cart-row span:last-child {
    font-weight: 600;
  }
  
  .cart-row.total {
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
  }
  
  .cart-note {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
  }
  
  .btn-checkout {
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 0.75rem 1.1rem;
    background: linear-gradient(to right, #f97316, #fb923c);
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(249,115,22,0.5);
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast);
  }
  
  .btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 55px rgba(249,115,22,0.6);
  }
  
  /* Sections */
  section {
    padding: 3rem 1.25rem;
  }
  
  .section-inner {
    max-width: 1120px;
    margin: 0 auto;
  }
  
  .section-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.3rem;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }
  
  .section-description {
    max-width: 36rem;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
  }
  
  @media (max-width: 800px) {
    .about-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  
  .stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    margin-top: 1.25rem;
  }
  
  .stat {
    min-width: 120px;
  }
  
  .stat span:first-child {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fde68a;
  }
  
  .card {
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid rgba(148,163,184,0.4);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
  }
  
  .mini-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
  }
  
  .mini-item {
    border-radius: 0.9rem;
    border: 1px solid rgba(148,163,184,0.45);
    padding: 0.85rem 0.9rem;
    background: radial-gradient(circle at top,
      rgba(15,23,42,0.4),
      rgba(15,23,42,0.98)
    );
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.86rem;
  }
  
  .mini-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
  }
  
  .mini-item-name {
    font-weight: 600;
  }
  
  .mini-item-price {
    font-weight: 600;
    color: #facc15;
    font-size: 0.9rem;
  }
  
  .mini-item-tags {
    font-size: 0.74rem;
    color: var(--muted);
  }
  
  /* Contact */
  .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
  }
  
  @media (max-width: 900px) {
    .contact-layout {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }
  
  .field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
  }
  
  .field label {
    color: #e5e7eb;
  }
  
  .field span {
    color: var(--muted);
    font-size: 0.75rem;
  }
  
  input,
  textarea {
    border-radius: 0.9rem;
    border: 1px solid rgba(148,163,184,0.6);
    padding: 0.6rem 0.8rem;
    background: rgba(15,23,42,0.95);
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition-fast),
                box-shadow var(--transition-fast),
                background var(--transition-fast);
  }
  
  input:focus,
  textarea:focus {
    border-color: rgba(249,115,22,0.9);
    box-shadow: 0 0 0 1px rgba(249,115,22,0.85);
    background: #020617;
  }
  
  textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .contact-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .chip {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    font-size: 0.73rem;
    color: var(--muted);
  }
  
  footer {
    border-top: 1px solid rgba(55,65,81,0.85);
    padding: 1rem 1.25rem 1.6rem;
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    background: rgba(2,6,23,0.95);
  }
  
  footer span {
    color: #9ca3af;
  }
  