/* ============================================================
   Rockview — shared site header, footer and phone pop-up
   Used on the homepage, blog and menu pages
   ============================================================ */
.rv-container { width: min(100% - 32px, 1180px); margin-inline: auto; }
.rv-svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ── Header (same as the homepage navigation) ── */
.rv-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Poppins', sans-serif; line-height: 1.6;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.rv-navbar.scrolled { background: rgba(0, 0, 0, 0.96); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); padding: 10px 0; }
.rv-navbar-black,
.rv-navbar-black.scrolled {
  background: #000;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.rv-navbar *, .rv-mobile-drawer * { box-sizing: border-box; }
.rv-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rv-nav-logo { display: block; }
.rv-nav-logo img { display: block; width: 88px; height: auto; border-radius: 8px; }
.rv-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.rv-nav-links a {
  text-decoration: none; font-size: 0.88rem; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s; background: none;
}
.rv-nav-links a:hover, .rv-nav-links a[aria-current="page"] { color: #ff5733; }
.rv-nav-actions { display: flex; align-items: center; gap: 12px; }
.rv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600; line-height: 1.6;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.rv-btn:hover { transform: translateY(-2px); }
.rv-btn-coral { background: linear-gradient(45deg, #ff5733, #e74c3c); color: #fff; box-shadow: 0 4px 16px rgba(255, 87, 51, 0.4); }
.rv-btn-coral:hover { background: #e74c3c; color: #fff; }
.rv-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.25); }
.rv-btn-outline:hover { border-color: #ff5733; color: #ff5733; }
.rv-btn-block { width: 100%; }
.rv-menu-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 6px; line-height: 0; }
.rv-nav-spacer { height: 77px; }
.rv-mobile-drawer {
  display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 199;
  opacity: 0; pointer-events: none; transition: opacity 0.3s; font-family: 'Poppins', sans-serif;
}
.rv-mobile-drawer.open { opacity: 1; pointer-events: auto; }
.rv-mobile-panel {
  position: absolute; top: 0; right: 0; width: min(300px, 85vw); height: 100%;
  background: #141414; padding: 80px 28px 28px;
  transform: translateX(100%); transition: transform 0.35s ease;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5); border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.rv-mobile-drawer.open .rv-mobile-panel { transform: translateX(0); }
.rv-mobile-panel ul { list-style: none; padding: 0; margin: 0 0 24px; }
.rv-mobile-panel li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.rv-mobile-panel a:not(.rv-btn) { display: block; padding: 14px 0; text-decoration: none; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.rv-mobile-panel a:not(.rv-btn):hover, .rv-mobile-panel a[aria-current="page"] { color: #ff5733; }
@media (max-width: 768px) {
  .rv-nav-links, .rv-nav-actions .rv-btn-outline { display: none; }
  .rv-menu-toggle { display: block; }
  .rv-mobile-drawer { display: block; }
}

/* ── Footer (same on every page) ── */
.rv-sf {
  display: block; background: #000; color: rgba(255, 255, 255, 0.75);
  padding: clamp(40px, 6vw, 56px) 0 24px; margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Poppins', sans-serif; font-size: 16px; line-height: 1.6; text-align: left;
}
.rv-sf * { box-sizing: border-box; }
.rv-sf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.rv-sf-brand img { display: block; width: 72px; height: auto; border-radius: 8px; margin: 0 0 14px; }
.rv-sf-brand p { font-size: 0.85rem; font-weight: 300; line-height: 1.7; margin: 0; max-width: 280px; color: rgba(255, 255, 255, 0.75); }
.rv-sf-h {
  color: #fff; font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 600; line-height: 1.4;
  margin: 0 0 14px; padding: 0; letter-spacing: 0; text-transform: none; text-align: left; border: 0; background: none;
}
.rv-sf-col ul { list-style: none; padding: 0; margin: 0; }
.rv-sf-col li { margin: 0 0 8px; padding: 0; border: 0; background: none; }
.rv-sf-col li::before, .rv-sf-col li::marker { content: none; }
.rv-sf-col a { text-decoration: none; font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); transition: color 0.25s; }
.rv-sf-col a:hover { color: #ff5733; }

.rv-sf-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.rv-sf-social a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background 0.25s, transform 0.25s;
}
.rv-sf-social a:hover { background: rgba(255, 87, 51, 0.2); transform: scale(1.08); }
.rv-sf-social img { display: block; width: 20px; height: 20px; object-fit: contain; margin: 0; }

/* Contact details with coloured icons */
.rv-sf-contact li { margin-bottom: 12px; }
.rv-sf .rv-sf-ct { display: inline-flex; align-items: flex-start; gap: 10px; color: #ffb68a; font-size: 0.84rem; font-weight: 500; line-height: 1.5; }
.rv-sf .rv-sf-ct > span:last-child { padding-top: 4px; overflow-wrap: anywhere; }
.rv-sf .rv-sf-ct:hover { color: #fff; }
.rv-sf-ic { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.rv-ic-phone { background: #ff5733; }
.rv-ic-wa { background: #25d366; }
.rv-ic-mail { background: #f59e0b; }
.rv-ic-pin { background: #e74c3c; }
.rv-ic-send { background: #8b5cf6; }

/* Blog card */
.rv-sf .rv-sf-blogcard {
  display: flex; align-items: center; gap: 12px; max-width: 300px; margin-top: 16px; padding: 12px 14px;
  border-radius: 14px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #ff5733, #ff8c42);
  box-shadow: 0 8px 24px rgba(255, 87, 51, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}
.rv-sf .rv-sf-blogcard:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 87, 51, 0.5); }
.rv-sf-blogcard-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.22); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rv-sf-blogcard-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.rv-sf-blogcard-txt strong { font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.rv-sf-blogcard-txt small { font-size: 0.74rem; opacity: 0.92; line-height: 1.4; }
.rv-sf-blogcard-go { display: inline-flex; transition: transform 0.25s; }
.rv-sf-blogcard:hover .rv-sf-blogcard-go { transform: translateX(3px); }

.rv-sf-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; margin: 0;
  text-align: center; font-size: 0.78rem; color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 1024px) { .rv-sf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .rv-sf-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 28px 18px;
    align-items: start;
  }
  .rv-sf-brand { grid-column: 1 / -1; }
  .rv-sf-col:nth-child(2) { min-width: 0; }
  .rv-sf-col:last-child {
    min-width: 0;
    text-align: left;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .rv-sf-col:last-child .rv-sf-h { text-align: left; margin-bottom: 12px; }
  .rv-sf-col:last-child ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%;
  }
  .rv-sf-col:last-child .rv-sf-contact li { margin-bottom: 10px; }
  .rv-sf-col:last-child .rv-sf-ct {
    display: flex; align-items: flex-start; justify-content: flex-start;
    gap: 8px; width: 100%; text-align: left; font-size: 0.78rem; line-height: 1.35;
  }
  .rv-sf-col:last-child .rv-sf-ct > span:last-child {
    padding-top: 5px; overflow-wrap: anywhere; word-break: break-word; min-width: 0;
  }
  .rv-sf-col:last-child .rv-sf-ic { width: 28px; height: 28px; }
  .rv-sf-col a { font-size: 0.8rem; }
}
@media (max-width: 380px) {
  .rv-sf-grid { grid-template-columns: 1fr; gap: 22px; }
  .rv-sf-col:last-child { padding-left: 0; border-left: 0; }
}

/* ── Phone pop-up (Call / WhatsApp) ── */
.rv-pp {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0, 0, 0, 0.58); font-family: 'Poppins', sans-serif;
  opacity: 0; transition: opacity 0.2s;
}
.rv-pp.show { opacity: 1; }
.rv-pp * { box-sizing: border-box; }
.rv-pp-box {
  position: relative;
  width: 100%; max-width: 340px; background: #fff; color: #111;
  border-radius: 18px; padding: 28px 20px 20px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.96) translateY(8px); transition: transform 0.2s;
}
.rv-pp.show .rv-pp-box { transform: none; }
.rv-pp-close {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border: none; border-radius: 8px;
  background: #fef2f2; color: #dc2626; cursor: pointer;
  font-size: 1.45rem; line-height: 1; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
}
.rv-pp-close:hover { background: #fee2e2; color: #b91c1c; }
.rv-pp-title {
  margin: 0 28px 18px 0; font-size: 1.08rem; font-weight: 600; color: #111; line-height: 1.35;
}
.rv-pp-actions { display: flex; flex-direction: column; gap: 10px; }
.rv-pp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 14px 18px; margin: 0; border-radius: 12px; border: none;
  font-family: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer;
}
.rv-pp-call { background: #2563eb; color: #fff; }
.rv-pp-wa { background: #25d366; color: #fff; }
.rv-pp-call:hover, .rv-pp-wa:hover { color: #fff; filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) {
  .rv-pp, .rv-pp-box, .rv-navbar, .rv-mobile-panel, .rv-mobile-drawer { transition: none; }
}
@media print { .rv-navbar, .rv-nav-spacer, .rv-mobile-drawer, .rv-sf, .rv-pp { display: none !important; } }
