:root{
  --brand-red:#e2192a;
  --brand-red-2:#ff2f45;
  --ink:#2b1f1a;
  --muted:#6b5e58;
  --paper:#efe7de;
  --paper-2:#f4eee7;
  --blue:#7a97c7;
  --pink:#f2b3b3;
  --shadow: 0 18px 40px rgba(0,0,0,.14);
  --shadow-soft: 0 10px 26px rgba(0,0,0,.10);
  --radius: 22px;
}

html,body{height:100%;}

/* ✅ DROP-IN BACKGROUND (put background.png in assets/img/) */
body{
  background:
    url("../img/background.png") center / cover no-repeat fixed,
    var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Mobile: fixed background can lag on some phones */
@media (max-width: 768px){
  body{ background-attachment: scroll; }
}

/* navbar */
.navbar .nav-link{ color: #3b2f2a; font-weight: 600; }
.navbar .nav-link.active{ color: var(--ink); position: relative; }
.navbar .nav-link.active::after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: -6px;
  height: 3px;
  border-radius: 6px;
  background: rgba(122,151,199,.9);
}

.brand-logo{
    height: 60px;
    width: 60px!important;
    border-radius: 50%;
    border: 2px solid var(--brand-red);
    background: #fff;
    padding: 4px;
    object-fit: contain;
}

.brand-logo-lg{
    height: 100px;
    width: 100px!important;
}

/* ✅ Smooth logo morph transition */
.brand-logo{
    transition:
        width .35s ease,
        height .35s ease,
        transform .35s ease,
        border-width .35s ease;
    transform-origin: center center;
    will-change: transform, width, height;
}

/* optional subtle pop on home */
.brand-logo-lg{
    transform: scale(1.02);
}


.company_name{
    font-size: 35px!important;
    color: #3b2f2a;
    font-weight: bold!important;
}

.sub_company_name{
    font-size: 15px!important;
    color: #3b2f2a;
    font-weight: bold!important;
}

.brand-badge{
  width:44px;height:44px;border-radius:50%;
  border:2px solid var(--brand-red);
  display:grid;place-items:center;
  background:#fff;
}
.brand-badge .dot{
  width:10px;height:10px;border-radius:50%;
  background: var(--brand-red);
}

.btn-brand{
  background: linear-gradient(90deg, var(--brand-red), var(--brand-red-2));
  border: 0;
  color:#fff;
}
.btn-brand:hover{ filter: brightness(.97); color:#fff; }
.btn-pill{ border-radius: 999px; }

/* ✅ Let background show through */
.hero, section{ background: transparent; }

/* hero */
.hero{ position: relative; padding: 64px 0 42px; overflow: hidden; }
.hero .sub{ color: var(--muted); max-width: 520px; }
.hero-blob{ position:absolute; z-index:-1; opacity:.0; } /* hide blobs since background already has shapes */

/* If you still want blobs on top of the background, change opacity to .35
.hero-blob{ opacity:.35; }
*/

.hero-blob.blob-a{
  width: 520px; height: 520px;
  left: -140px; bottom: -220px;
  background: radial-gradient(circle at 30% 30%, rgba(122,151,199,.95), rgba(122,151,199,0) 60%);
}
.hero-blob.blob-b{
  width: 520px; height: 520px;
  right: -180px; top: -220px;
  background: radial-gradient(circle at 55% 40%, rgba(242,179,179,.95), rgba(242,179,179,0) 62%);
}
.hero-blob.blob-c{
  width: 680px; height: 680px;
  right: -260px; bottom: -360px;
  background: radial-gradient(circle at 50% 50%, rgba(226,25,42,.92), rgba(226,25,42,0) 62%);
}

.image-blob{
  border-radius: 50%;
  border: 10px solid var(--brand-red);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: min(440px, 92%);
  margin-inline: auto;
  aspect-ratio: 1/1;
  display:grid; place-items:center;
  background: #fff;
}
.image-blob img{ width:100%; height:100%; object-fit: cover; }

.search-pill{
  background:#fff;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 6px;
}
.search-pill .form-control{ border:0; box-shadow:none; }
.search-pill .input-group-text{ border:0; background: transparent; }

.trending .badge{
  background:#fff;
  color:#3b2f2a;
  border:1px solid rgba(59,47,42,.2);
  padding: .55rem .9rem;
  font-weight: 650;
}

/* sections */
.section-title{ font-weight: 900; letter-spacing: .2px; }

/* menu ribbons */
.ribbon{ background: var(--brand-red); color:#fff; padding: 10px 0; }
.ribbon .ribbon-inner{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.ribbon .squares{ display:flex; flex-wrap:wrap; gap: 10px; }
.ribbon .sq{ width: 18px; height: 18px; background: rgba(255,255,255,.35); border-radius: 4px; }

/* cards */
.menu-card{
  background:#fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  overflow:hidden;
  height:100%;
}
.menu-card img{ width:100%; height: 140px; object-fit: cover; }
.menu-card .title{ font-weight: 900; letter-spacing: .2px; }
.qty-mini{ width: 86px; }
.small-muted{ color: var(--muted); font-size: .86rem; }

/* cart */
.offcanvas-cart .offcanvas-header{ border-bottom: 1px solid rgba(0,0,0,.08); }
.cart-item{
  display:flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,.12);
}
.cart-item img{
  width: 62px; height: 62px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.08);
}
.cart-item .name{ font-weight: 800; line-height: 1.1; }
.cart-item .meta{ font-size:.86rem; color: var(--muted); }
.cart-item .actions{ margin-left:auto; text-align:right; }

/* footer */
.footer{
  padding: 28px 0;
  background: rgba(244,238,231,.92); /* slight transparency so bg still hints through */
  border-top: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(6px);
}
.social i{ font-size: 22px; margin: 0 9px; cursor:pointer; color:#3b2f2a; }

/* forms */
.card-soft{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
}
.form-control, .form-select{ border-radius: 14px; padding: .8rem .9rem; }

@media (max-width: 575.98px){
  .hero{ padding-top: 42px; }
  .navbar .nav-link.active::after{ left: 0; right: 0; }
}

/* ✅ Smooth page transitions */
.page-wrap{
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .28s ease, transform .28s ease;
    will-change: opacity, transform;
}

.page-wrap.is-ready{
    opacity: 1;
    transform: translateY(0);
}

/* While leaving (when clicking links) */
.page-wrap.is-leaving{
    opacity: 0;
    transform: translateY(-10px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
    .page-wrap{
        transition: none !important;
        transform: none !important;
    }
}

