/* =========================
   DIGITAL MENU — Mobile-first
   ========================= */
:root{
  --bg:#080202;
  --bg-2:#0c0c0c;
  --text:#ffffff;
  --muted:#cfcecd;
  --muted-2:#9c9999;
  --accent:#ca262b;
  --stroke:#1a1a1a;
  --radius:12px;
}

.digital-menu-page{ font-family:"DM Sans",sans-serif; background:var(--bg); color:var(--text); }
.digital-menu-page img{ display:block; max-width:100%; height:auto; }
.digital-menu-page .container{ max-width:1160px; margin:0 auto; padding:0 16px; }
.digital-menu-page .small-container{ max-width:980px; margin:0 auto; padding:0 16px; }

/* Columns (stack on mobile) */
.digital-menu-page .col-6{ width:100%; }

/* Admin bar offset + anchored scroll */
body.admin-bar{ --wp-admin-bar:32px; }
.digital-menu-page section[id],
.digital-menu-page article[id]{
  scroll-margin-top: calc(var(--site-header-h,0px) + var(--wp-admin-bar,0px) + 84px);
}

/* =========================
   Sticky Navbar
   ========================= */
.dm-sticky{
  position:sticky;
  top:calc(var(--site-header-h,0px) + var(--wp-admin-bar,110px));
  background:var(--bg);
  border-bottom:1px solid var(--stroke);
  transition: box-shadow .2s ease, background .2s ease;
z-index:50;
}
.dm-sticky.is-stuck{ box-shadow:0 4px 12px rgba(0,0,0,.5); }
.dm-sticky .container{ display:flex; justify-content:center; align-items:center; min-height:68px; padding:8px 0; }
.dm-sticky ul{
  display:flex; gap:12px; margin:0; padding:0; list-style:none;
 /* overflow:auto; -webkit-overflow-scrolling:touch; */
}
.dm-sticky a{
  font:500 14px/1 "DM Sans",sans-serif;
  color:#f5f5f5; text-decoration:none;
  padding:10px 14px; border-radius:999px; white-space:nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.dm-sticky a:hover{ color:var(--accent); background:color-mix(in srgb, var(--accent) 18%, transparent); }
.dm-sticky a.active{ color:var(--accent); background:color-mix(in srgb, var(--accent) 18%, transparent); font-weight:600; }

/* =========================
   HERO
   ========================= */
.digital-menu-page .hero-section{
  display:flex; flex-direction:column; align-items:center;
  background-color:var(--bg);
  background-image:url("../img/Blur-red-bg.svg");
  background-repeat:no-repeat; background-position:95% 40px; background-size:420px auto;
}
.digital-menu-page .inner-hero{
  display:flex; flex-direction:column; gap:24px;
  align-items:center; justify-content:center; padding:28px 0 8px;
}
.digital-menu-page .info-hero{
  text-align:center; display:flex; flex-direction:column; gap:16px; padding:0;
}
.digital-menu-page .info-hero h1{
  margin:0;
  font-weight:700;
  font-size: clamp(32px, 6vw, 56px);
  line-height:1.05; letter-spacing:-0.02em; color:#fff;
}
.digital-menu-page .info-hero h1 span{ color:var(--accent); }
.digital-menu-page .info-hero .lead{
  margin:0 auto; color:var(--muted); font-weight:500; font-size: clamp(16px, 3.8vw, 20px);
  max-width:42ch;
}
.digital-menu-page .hero-img{
  display:flex; justify-content:center; padding-top:8px;
}

/* Buttons */
.digital-menu-page .btn-white,
.digital-menu-page .btn-grey{
  cursor:pointer; border:none; font-weight:700; font-size:16px; padding:14px 18px;
  border-radius:var(--radius); width:100%; /* full width on mobile */
}
.digital-menu-page .btn-white{ background:#fff; color:var(--bg); transition: transform .2s ease, filter .2s ease; }
.digital-menu-page .btn-white:hover{ transform:scale(1.02); filter:brightness(0.96); }
.digital-menu-page .btn-grey{ background:#1a1a1a; color:#fff; border:1px solid #333; }
.digital-menu-page .btn-grey:hover{ background:#222; }

/* =========================
   Slika ispod HERO-a
   ========================= */
.dm-hero-below{ background:var(--bg); padding: 24px 0 40px; }
.dm-hero-below .img-wrap{ max-width:1200px; margin:0 auto; padding:0 16px; }
.dm-hero-below .img-wrap img{
  width:100%; display:block; border-radius:10px; max-height:360px; object-fit:cover;
}

/* =========================
   Pre-list
   ========================= */
.dm-prelist{ background:var(--bg); padding: 28px 0 12px; text-align:center; }
.dm-prelist h2{
  margin:0; font-weight:600; font-size: clamp(28px, 6vw, 48px); color:#fff; line-height:1.1;
}
.dm-prelist h2 span{ color:var(--accent); }
.dm-prelist .sub{ color:var(--muted-2); font-weight:500; font-size: clamp(15px, 3.6vw, 18px); margin-top:10px; }

/* =========================
   Solutions
   ========================= */
.dm-solutions{ background:var(--bg); padding: 48px 0 64px; }
.dm-solutions .container{ display:flex; flex-direction:column; gap:36px; }
.sol-row{ display:flex; flex-direction:column; gap:20px; }
.sol-row.reverse{ flex-direction:column; }
.sol-image img{ width:100%; border-radius:10px; object-fit:cover; }
.sol-text{ display:flex; flex-direction:column; gap:16px; }
.sol-text h3{ color:#fff; font-weight:600; font-size: clamp(22px, 6vw, 40px); margin:0; }
.sol-text p{ color:var(--muted); font-size: clamp(16px, 4vw, 20px); font-weight:400; line-height:1.6; margin:0; }
.sol-text .read-more{
  display:block; width:100%; text-align:center; cursor:pointer;
  color:var(--bg); background:#fff; border:none; font-weight:700; font-size:16px;
  border-radius:999px; padding:14px 18px; text-decoration:none; transition: transform .2s ease;
}
.sol-text .read-more:hover{ transform: translateY(-1px); }

/* =========================
   INLINE REVIEWS (narrow card + side images, dark) — Mobile-first
   ========================= */
.sol-reviews{
  --rev-h:auto;
  --card-max: 640px;
  margin-top:16px; background:var(--bg); border:1px solid var(--stroke); border-radius:14px; padding:16px;
}

.sol-reviews-head{ display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.sol-reviews h4{ font-weight:600; font-size:18px; color:#fff; margin:0; text-align:center; }
.sol-reviews h4 span{ color:var(--accent); }

/* Slider wrapper */
.sol-reviews .track-wrap{ overflow:hidden; }

/* Track: svaki child je .review-frame širine 100% */
.sol-reviews .track{ display:flex; gap:0; transition: transform .25s ease; will-change: transform; }

/* Frame = na mobu samo kartica */
.sol-reviews .review-frame{
  width:100%; min-width:100%; max-width:100%;
  display:grid; grid-template-columns: 1fr; align-items:stretch; gap:12px;
}

/* Side images (skrivene na mobu) */
.sol-reviews .side-box{ display:none; }

/* Card */
.sol-reviews .card{
  background:var(--bg-2); border:1px solid #262626; border-radius:12px;
  padding:16px; display:flex; flex-direction:column; gap:10px; justify-content:center;
}
.sol-reviews .stars{ color:#f59e0b; font-size:18px; letter-spacing:1px; }
.sol-reviews blockquote{ margin:0; color:#e5e5e5; font-size:15px; line-height:1.5; }
.sol-reviews .author{ color:#a1a1aa; font-size:13px; text-align:right; }

/* Strelice ispod, centrirane */
.sol-reviews .controls{ margin-top:12px; display:flex; gap:10px; justify-content:center; }
.sol-reviews .arrow{
  cursor:pointer; border:1px solid #262626; background:#0f0f0f; color:#fff;
  border-radius:10px; width:44px; height:44px; display:grid; place-items:center; font-size:22px;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.sol-reviews .arrow:hover{ background:#151515; border-color:#333; transform: translateY(-1px); }

/* =========================
   HELP
   ========================= */
.dm-help{ background:var(--bg); padding:56px 0; }
.dm-help .left-container-box h2{
  margin:0; font-weight:600; font-size: clamp(28px, 6vw, 48px); color:#fff; line-height:1.1;
}
.dm-help .left-container-box h2 span{ color:var(--accent); }
.dm-help .sub{ color:var(--muted-2); font-weight:500; font-size: clamp(15px, 3.6vw, 18px); padding:12px 0 18px; }

/* =========================
   MEDIA QUERIES — širenje za veće ekrane
   ========================= */

/* ≥ 768px (tablet) */
@media (min-width: 768px){
  .dm-sticky .container{ min-height:80px; }
  .digital-menu-page .btn-white,
  .digital-menu-page .btn-grey{ width:auto; }

  .dm-solutions .container{ gap:48px; }
  .sol-row{ gap:32px; }
  .sol-text .read-more{ width:auto; align-self:flex-start; }

  .sol-reviews{ --card-max:680px; padding:18px; }
  .sol-reviews h4{ font-size:20px; }
}

/* ≥ 992px (desktop) */
@media (min-width: 992px){
  .digital-menu-page .col-6{ width:50%; }
  .digital-menu-page .inner-hero{
    flex-direction:row; gap:32px; padding-top:40px; flex-wrap:wrap;
  }
  .digital-menu-page .info-hero{ text-align:left; padding-right:80px; }
  .digital-menu-page .info-hero .lead{ margin-left:0; }

  .sol-row{ flex-direction:row; align-items:flex-start; gap:48px; }
  .sol-row.reverse{ flex-direction:row-reverse; }
  .sol-image{ flex: 1 1 45%; }
  .sol-text{ flex: 1 1 45%; }

  /* Reviews — vrati bočne slike */
  .sol-reviews .review-frame{
    grid-template-columns: 1fr minmax(0, var(--card-max)) 1fr;
  }
  .sol-reviews .side-box{
    display:block; border:1px solid #1f1f1f; background:#0b0b0b; border-radius:12px; overflow:hidden;
    min-height:260px;
  }
  .sol-reviews .side-box img{
    width:100%; height:100%; object-fit:cover; display:block; filter:saturate(.95) contrast(1.04);
  }
}

/* ≥ 1200px */
@media (min-width: 1200px){
  .dm-prelist h2{ font-size:56px; }
  .sol-text h3{ font-size:52px; }
  .sol-text p{ font-size:22px; }
}

/* =========================
   Accessibility / Motion
   ========================= */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
/* HERO — default = stacked (mobile) */
.digital-menu-page .inner-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}

/* Na desktopu prebaci u 2 kolone: text lijevo, slika desno */
@media (min-width: 992px) {
  .digital-menu-page .inner-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .digital-menu-page .info-hero {
    flex: 1 1 50%;
    text-align: left;
    padding-right: 40px;
  }

  .digital-menu-page .hero-img {
    flex: 1 1 50%;
    display: flex;
    justify-content: flex-end;
  }

  .digital-menu-page .hero-img img {
    max-width: 100%;
    height: auto;
  }
}
.dm-prelist { padding-bottom: 12px; }
.dm-hero-below { padding-top: 16px; }
