/* Realitní Linka – jednotný „živý“ vzhled podstránek (galerie, Rádce, zásady).
   Stejná luxusní šedá, zlaté detaily, běžící pruh a reakce na myš jako na hlavní stránce. */

/* --- hlavička, patička a tlačítka (stejné jako na hlavní stránce) --- */
/* Realitní Linka – styly pro Rádce prodávajícího (sdíleno všemi články) */
@media (min-width: 769px) { html { scroll-padding-top: 100px; } }
footer { margin-top: 60px; padding: 24px 16px 30px; border-top: 1px solid #333; color: #888; text-align: center; }
footer a { color: #d5bc6a; text-decoration: none; }
.hlavicka { position: relative; z-index: 50; background: rgba(13,13,13,0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #222; }
@media (min-width: 769px) { .hlavicka { position: sticky; top: 0; } }
.hl-in { max-width: 1240px; margin: 0 auto; padding: 6px 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px 28px; flex-wrap: wrap; }
.hl-logo { align-self: center; }
.hl-logo img { height: 88px; width: auto; display: block; border-radius: 6px; border: 1px solid rgba(213,188,106,0.45); transition: height 0.35s ease; }
.hlavicka.zmensena .hl-logo img { height: 52px; }
.hl-postup { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: #d5bc6a; transition: width 0.1s linear; }
.hl-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.hl-nav a { color: #e0e0e0; text-decoration: none; padding: 6px 0; position: relative; }
.hl-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: #d5bc6a; transition: right 0.3s ease; }
.hl-nav a:hover { color: #d5bc6a; }
.hl-nav a:hover::after { right: 0; }
.hl-tel { display: grid; grid-template-columns: auto auto; column-gap: 12px; row-gap: 0; align-items: baseline; text-align: right; }
.hl-tel .jm { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #9a9a9a; text-align: left; }
.hl-tel a { color: #d5bc6a; font-weight: 700; font-size: 21px; letter-spacing: 1px; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hl-tel a:hover { filter: brightness(1.15); }
.tlacitko-obrys { display: inline-block; margin-top: 16px; border: 1px solid #d5bc6a; color: #d5bc6a; padding: 11px 20px; border-radius: 6px; text-decoration: none; font-weight: bold; }
.tlacitko-obrys:hover { background: #d5bc6a; color: #111; }
.hl-logo { align-self: center; }
.volat-mobil { display: none; }
.karta-akce { display: block; margin-top: 10px; font-style: normal; font-size: 13px; font-weight: bold; color: #d5bc6a; }
footer a { text-decoration: underline; text-underline-offset: 3px; }
.hl-tel a, footer a[href^="tel:"], footer a[href^="mailto:"], footer a[href$=".html"] { display: inline-flex; align-items: center; gap: 7px; }
.hl-tel a::before, footer a[href^="tel:"]::before { content: ""; width: 17px; height: 17px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5bc6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E") center / contain no-repeat; }
footer a[href^="mailto:"]::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5bc6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22m3 7 9 6 9-6%22/%3E%3C/svg%3E") center / contain no-repeat; }
footer a[href$=".html"]::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5bc6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 3v5h5%22/%3E%3C/svg%3E") center / contain no-repeat; }
.hl-tel a { justify-content: flex-end; }
.tlacitko-obrys, .btn, .volat-mobil a, .karta-odkaz { transition: transform 0.15s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.tlacitko-obrys:active, .btn:active, .volat-mobil a:active, .karta-odkaz:active { transform: scale(0.97); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid #d5bc6a; outline-offset: 3px; }
@media (max-width: 768px) {
            .volat-mobil { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px; transform: translateY(140%); transition: transform 0.4s ease; }
            .volat-mobil.ukaz { transform: none; }
            .volat-mobil a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; background: #d5bc6a; color: #111; font-weight: bold; font-size: 16px; text-decoration: none; border-radius: 30px; box-shadow: 0 6px 20px rgba(0,0,0,0.6); }
            .volat-mobil svg { width: 18px; height: 18px; fill: none; stroke: #111; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
            footer { padding-bottom: 90px; }
        }

footer p { margin-bottom: 6px; }
footer .pat-mala { font-size: 13px; }
.hl-nav a[aria-current="page"] { color: #d5bc6a; }
.hl-nav a[aria-current="page"]::after { right: 0; }
@media (max-width: 768px) {
  .hl-in { justify-content: center; text-align: center; }
  .hl-logo { align-self: center; }
  .hl-logo img { margin-bottom: 0; height: 80px; }
  .hl-nav { justify-content: center; }
}


/* --- luxusní šedá místo černé --- */
html { background: #26272B; scroll-behavior: smooth; }
body { background: transparent !important; color: #F2F1EE; font-family: sans-serif; }
.hlavicka { background: rgba(38,39,43,.86); border-bottom-color: #3A3B40; }
.hl-nav a { color: #E6E4DF; }
.hl-tel .jm { color: #B4B5BA; }
footer { border-top: 1px solid #3A3B40 !important; color: #A9AAAF !important; text-align: center; margin-top: 60px; padding: 24px 16px 30px; font-size: 15px; }
footer p { margin: 0 0 6px; }
footer .pat-mala { font-size: 13px; }
footer .pat-vymezeni { max-width: 760px; margin-left: auto; margin-right: auto; }

/* --- barevné skvrny, které pomalu plují v pozadí --- */
.pozadi { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.pozadi i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .22; will-change: transform; }
.pozadi i:nth-child(1) { width: 640px; height: 640px; background: #E2C275; top: -180px; left: -160px; animation: plyne1 20s ease-in-out infinite; }
.pozadi i:nth-child(2) { width: 560px; height: 560px; background: #C9A85A; top: 30%; right: -200px; animation: plyne2 24s ease-in-out infinite; }
.pozadi i:nth-child(3) { width: 520px; height: 520px; background: #F1E2B8; bottom: -160px; left: 10%; opacity: .16; animation: plyne1 28s ease-in-out infinite reverse; }
.pozadi i:nth-child(4) { width: 480px; height: 480px; background: #A88B4A; top: 55%; left: 45%; opacity: .12; animation: plyne2 30s ease-in-out infinite; }
@keyframes plyne1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(120px,90px) scale(1.15); } }
@keyframes plyne2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-130px,-80px) scale(1.1); } }

/* --- běžící pruh se zlatými okraji pod hlavičkou --- */
.pruh { background: #1E1F22; border-top: 1px solid #d5bc6a; border-bottom: 1px solid #d5bc6a; box-shadow: 0 0 18px rgba(213,188,106,.18); margin: 0 0 28px; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 1.6; }
.pruh-jizda { display: inline-flex; width: max-content; animation: jizda 96s linear infinite; }
.pruh:hover .pruh-jizda { animation-play-state: paused; }
.pruh-sada { display: inline-flex; }
.pruh-sada > span { display: inline-flex; align-items: center; gap: 26px; padding: 11px 26px 11px 0; color: #ECEAE4; }
.pruh-sada > span::after { content: "✦"; color: #E2C275; }
.pruh-jizda b { color: #E2C275; }
@keyframes jizda { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- název: „Realitní“ bílá, „Linka“ zlatá, barvy se pomalu prolnou jako kouř --- */
        .nazev { position: relative; display: inline-block; }
        .nazev .b { color: #ffffff; } .nazev .g { color: #d5bc6a; }
        .nazev-vrch { display: none; }
        @supports ((mask-image: none) or (-webkit-mask-image: none)) {
            .nazev-vrch { display: block; position: absolute; inset: 0; white-space: nowrap; pointer-events: none;
                -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='200' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0.36' stop-color='%23000' stop-opacity='1'/%3E%3Cstop offset='0.64' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='f' x='-20%' y='-50%' width='140%' height='200%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.008 0.03' numOctaves='3' seed='7'%3E%3C/feTurbulence%3E%3CfeDisplacementMap in='SourceGraphic' scale='170' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='5'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-200' y='-60' width='2000' height='320' fill='url(%23g)' filter='url(%23f)'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='200' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0.36' stop-color='%23000' stop-opacity='1'/%3E%3Cstop offset='0.64' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='f' x='-20%' y='-50%' width='140%' height='200%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.008 0.03' numOctaves='3' seed='7'%3E%3C/feTurbulence%3E%3CfeDisplacementMap in='SourceGraphic' scale='170' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='5'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-200' y='-60' width='2000' height='320' fill='url(%23g)' filter='url(%23f)'/%3E%3C/svg%3E");
                -webkit-mask-size: 400% 100%; mask-size: 400% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
                -webkit-mask-position: 100% 50%; mask-position: 100% 50%;
                animation: prolnuti 32s ease-in-out infinite; }
        }
        @keyframes prolnuti {
            0%, 34%    { -webkit-mask-position: 100% 50%; mask-position: 100% 50%; }
            50%, 84%   { -webkit-mask-position: 0% 50%;   mask-position: 0% 50%; }
            100%       { -webkit-mask-position: 100% 50%; mask-position: 100% 50%; }
        }


/* --- galerie prodejů --- */
.lux-container { background: rgba(50,51,56,.88) !important; border: 1px solid #46474D !important; border-radius: 18px !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.lux-container:hover { border-color: #E2C275 !important; box-shadow: 0 18px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(226,194,117,.35), 0 0 28px rgba(226,194,117,.18); }
.sold-header { border-bottom-color: #46474D !important; }
.photo-grid img { border-color: #46474D !important; border-radius: 12px !important; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease !important; }
.photo-grid img:hover { transform: translateY(-4px) scale(1.02) !important; border-color: #E2C275 !important; box-shadow: 0 12px 26px rgba(0,0,0,.35), 0 0 18px rgba(226,194,117,.25); }
.gal-nav a, .vice-fotek, .btn-back { transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease !important; }
.gal-nav a:hover, .vice-fotek:hover, .btn-back:hover { transform: translateY(-2px); box-shadow: 0 0 18px rgba(226,194,117,.3); }
.lightbox { background: rgba(30,31,34,.96) !important; }
.lb-btn { background: rgba(38,39,43,.85) !important; border-radius: 10px !important; }
.lb-btn:hover { background: #d5bc6a !important; }
.lightbox img { border-radius: 12px !important; }
.pozn { color: #BDBEC3 !important; }

/* --- zásady ochrany osobních údajů --- */
.obsah { background: rgba(50,51,56,.88) !important; border: 1px solid #46474D !important; border-radius: 18px !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.obsah h2 { border-bottom-color: #46474D !important; }

/* --- Rádce prodávajícího --- */
.radce-karta { background: rgba(50,51,56,.88) !important; border: 1px solid #46474D !important; border-radius: 18px !important;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, background .35s ease !important; }
.radce-karta:hover { transform: translateY(-6px) !important; border-color: #E2C275 !important; background: #393A3F !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(226,194,117,.45), 0 0 28px rgba(226,194,117,.25) !important; }
.radce-karta-vizual, .clanek-vizual { background: #2E2F34 !important; border-color: #46474D !important; border-radius: 14px; }
.clanek-vizual { border-radius: 16px !important; }
.clanek-cta { border: 2px solid transparent !important; border-radius: 20px !important;
  background: linear-gradient(#303136, #303136) padding-box, linear-gradient(120deg, #8C7334, #E9D592, #B8994A, #F3E4B0, #8C7334) border-box !important;
  background-size: 100% 100%, 300% 300% !important; animation: ramecek 10s linear infinite; }
@keyframes ramecek { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 100% 50%; } }
.clanek-telo .upozorneni { background: #35322A !important; }
.clanek-telo .tip { background: rgba(226,194,117,.09) !important; }
.drobky, .clanek-meta, .pravni-pozn { color: #BDBEC3 !important; }
.pravni-pozn, .dalsi-clanky li { border-color: #46474D !important; }
.tlacitko-obrys, .tlacitko-plne { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease, color .35s ease !important; }
.tlacitko-obrys:hover, .tlacitko-plne:hover { transform: translateY(-4px) !important; box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 26px rgba(226,194,117,.3) !important; }

@media (prefers-reduced-motion: reduce) {
  .pozadi i { animation-duration: 60s; }
  .pruh-jizda { animation-duration: 160s; }
}

/* --- mobil: vypnout náročné efekty, které na telefonu zpomalují posouvání --- */
@media (max-width: 768px) {
  * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .pozadi { display: none !important; }
  html { background: radial-gradient(120% 60% at 0% 0%, rgba(226,194,117,.10), transparent 60%), radial-gradient(120% 60% at 100% 55%, rgba(201,168,90,.08), transparent 60%), #26272B !important; background-attachment: scroll !important; }
  .hlavicka { background: rgba(32,33,37,.97) !important; }
}
