/* ============================================================
   Perfect Rent — Shared Header + Footer CSS  v2.0
   Injected on every public page via <link rel="stylesheet">
   ============================================================ */

:root {
  --pr-primary: #C8102E;
  --pr-dark2:   rgba(26,26,46,0.97);
  --pr-muted:   #a1a1aa;
  --pr-border:  rgba(255,255,255,0.08);
  --pr-text:    #ffffff;
}

/* ── Body base ───────────────────────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
/* Default offset: ticker(36) + topbar(46) + nav(68) = 150px */
body:not([data-no-shared-header="true"]) {
  padding-top: 150px;
}

/* ── Header ─────────────────────────────────────────────── */
#pr-header {
  background: var(--pr-dark2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--pr-border);
  box-sizing: border-box;
}
#pr-header nav {
  display: block;
  padding: 0;
  height: auto;
}
#pr-header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
#pr-header .logo img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
}
#pr-header .nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex: 1;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
#pr-header .nav-links a {
  color: var(--pr-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 4px 0;
}
#pr-header .nav-links a:hover,
#pr-header .nav-links a.active {
  color: var(--pr-primary);
}
#pr-header .nav-cta {
  background: var(--pr-primary) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px !important;
  transition: background 0.2s, transform 0.15s;
}
#pr-header .nav-cta:hover {
  background: #a00d24 !important;
  transform: translateY(-1px);
}

/* ── Language / Currency pickers ────────────────────────── */
.nav-pickers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tb-pick {
  position: relative;
  display: flex;
  align-items: center;
}
.tb-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}
.tb-pill:hover {
  background: rgba(220,38,38,0.15);
}
.tb-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 4px;
  min-width: 140px;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  display: none;
}
.tb-drop.open {
  display: block;
}
.tb-drop button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.tb-drop button:hover {
  background: rgba(220,38,38,0.15);
}
.tb-drop button.active {
  color: var(--pr-primary);
  font-weight: 700;
}

/* ── Mobile button ──────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 6px;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Mobile nav (open state) ────────────────────────────── */
#pr-header .nav-links.mobile-active {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(8,8,20,0.99);
  backdrop-filter: blur(12px);
  padding: 16px 5% 24px;
  gap: 0;
  border-bottom: 1px solid var(--pr-border);
  z-index: 999;
  justify-content: flex-start;
}
#pr-header .nav-links.mobile-active a {
  font-size: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--pr-border);
  width: 100%;
  display: block;
}
#pr-header .nav-links.mobile-active a:last-child {
  border: none;
}
#pr-header .nav-links.mobile-active .nav-cta {
  margin-top: 8px;
  text-align: center;
  display: block;
  border-radius: 8px;
  padding: 12px !important;
}

/* ── Footer ─────────────────────────────────────────────── */
#pr-footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid var(--pr-border);
  padding: 56px 5% 28px;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  color: var(--pr-text);
}
.prf-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.prf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.prf-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.prf-logo span {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.prf-logo em {
  font-style: normal;
  color: var(--pr-primary);
}
.prf-brand > p {
  font-size: 13px;
  color: var(--pr-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.prf-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.prf-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--pr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pr-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  font-size: 14px;
}
.prf-socials a:hover {
  border-color: var(--pr-primary);
  color: var(--pr-primary);
}
.prf-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  margin-bottom: 18px;
}
.prf-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prf-col ul a {
  font-size: 13px;
  color: var(--pr-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.prf-col ul a i {
  color: var(--pr-primary);
  font-size: 10px;
  flex-shrink: 0;
}
.prf-col ul a:hover {
  color: #fff;
}
.prf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--pr-muted);
}
.prf-contact-item i {
  color: var(--pr-primary);
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.prf-contact-item a {
  color: var(--pr-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.prf-contact-item a:hover {
  color: #fff;
}
.prf-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--pr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--pr-muted);
}
.prf-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.prf-legal a {
  color: var(--pr-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.prf-legal a:hover {
  color: #fff;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .prf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  #pr-header .nav-links {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  #pr-header .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-pickers .tb-pill span {
    display: none;
  }
  .nav-pickers .tb-pill {
    padding: 5px 8px;
  }
}

@media (max-width: 640px) {
  .prf-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .prf-bottom {
    flex-direction: column;
    text-align: center;
  }
  #pr-header nav {
    padding: 0 16px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .prf-grid { grid-template-columns: 1fr; }
  .prf-col { padding-top: 0; }
  #pr-footer { padding: 36px 5% 24px; }
}

@media (max-width: 380px) {
  #pr-header .logo img {
    height: 36px;
    width: 36px;
  }
  .tb-pill {
    font-size: 11px;
    padding: 4px 7px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FULL SHARED HEADER  — Ticker + Topbar + Navbar
   Matches index-pro.html header exactly
═══════════════════════════════════════════════════════════ */

/* ── Ticker bar ─────────────────────────────────────────── */
.pr-ticker {
  background: var(--pr-primary);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.pr-ticker-track {
  display: flex;
  animation: pr-ticker-scroll 32s linear infinite;
  white-space: nowrap;
}
.pr-ticker-item {
  padding: 0 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  display: inline-flex;
  align-items: center;
}
.pr-ticker-item i { margin-right: 7px; color: rgba(255,255,255,0.75); }
.pr-ticker-sep { color: rgba(255,255,255,0.35); padding: 0 8px; }
@keyframes pr-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Topbar ─────────────────────────────────────────────── */
.pr-topbar-full {
  background: rgba(6,8,18,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 8px 0;
  font-size: 13px;
  color: #9ca3af;
}
.pr-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pr-topbar-contacts {
  display: flex;
  gap: 20px;
  align-items: center;
  overflow: hidden;
}
.pr-topbar-contacts a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9ca3af;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  font-size: 13px;
}
.pr-topbar-contacts a:hover { color: #fff; }
.pr-topbar-contacts i { color: var(--pr-primary); flex-shrink: 0; }
.pr-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pr-topbar-badge {
  background: rgba(200,16,46,0.15);
  color: var(--pr-primary);
  border: 1px solid rgba(200,16,46,0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.pr-topbar-badge i { color: var(--pr-primary); font-size: 10px; }
.pr-topbar-admin {
  color: #9ca3af;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  transition: color 0.2s;
  white-space: nowrap;
}
.pr-topbar-admin:hover { color: #d4a843; }
.pr-topbar-admin i { color: #9ca3af; }

/* ── Navbar ─────────────────────────────────────────────── */
.pr-navbar {
  background: rgba(5,8,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pr-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pr-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.pr-nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
}
.pr-nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  line-height: 1;
}
.pr-nav-logo-text span { color: var(--pr-primary); }
.pr-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.pr-nav-links li { margin: 0; padding: 0; }
.pr-nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #a1a1aa;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  display: block;
}
.pr-nav-links a:hover,
.pr-nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.pr-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pr-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #a1a1aa;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.pr-btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.15); }
.pr-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--pr-primary);
  text-decoration: none;
  border: 1px solid var(--pr-primary);
  transition: all 0.2s;
  white-space: nowrap;
}
.pr-btn-primary:hover { background: #a00d24; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,16,46,0.35); }
.pr-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.pr-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Mobile nav drawer (shared pages) ───────────────────── */
#prMobileNav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5,8,15,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#prMobileNav.open { display: flex; }
#prMobileNav a {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #a1a1aa;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 12px;
  transition: all 0.2s;
}
#prMobileNav a:hover, #prMobileNav a.active { color: #fff; background: rgba(255,255,255,0.08); }
#prMobileNav .pr-mob-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
#prMobileNav .pr-mob-book {
  margin-top: 16px;
  background: var(--pr-primary);
  color: #fff;
  padding: 14px 40px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
}

/* ── Responsive breakpoints ─────────────────────────────── */
@media (max-width: 1024px) {
  .pr-topbar-addr { display: none; }
  .pr-topbar-badge { display: none; }
}
@media (max-width: 900px) {
  .pr-nav-links { display: none; }
  .pr-nav-actions { display: none; }
  .pr-hamburger { display: flex; }
}
@media (max-width: 768px) {
  .pr-ticker { display: none; }
  .pr-topbar-full { display: none; }
  body:not([data-no-shared-header="true"]) { padding-top: 68px; }
}
@media (max-width: 480px) {
  .pr-nav-inner { padding: 0 16px; gap: 12px; }
  .pr-nav-logo-text { font-size: 16px; }
}

/* RTL support */
[dir="rtl"] .pr-topbar-inner,
[dir="rtl"] .pr-nav-inner { direction: rtl; }
[dir="rtl"] .pr-ticker-track { animation-direction: reverse; }
[dir="rtl"] .pr-nav-logo { flex-direction: row-reverse; }
[dir="rtl"] .pr-mob-close { right: auto; left: 24px; }
