/*
Theme Name: HN Podlahy Hustopeče
Theme URI: https://podlahy-hustopece.cz/
Author: HN Podlahy Hustopeče
Description: Moderní one-page WordPress šablona pro podlahářskou firmu HN Podlahy Hustopeče s luxusním vzhledem, 3D ukázkou a vlastním logem.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: hn-podlahy
*/
:root{--bg:#0e0d0b;--panel:#171511;--panel2:#211d17;--text:#f6efe3;--muted:#bfb3a0;--gold:#d7ae62;--gold2:#f0d79b;--line:rgba(255,255,255,.12);--radius:28px;--shadow:0 30px 90px rgba(0,0,0,.35)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}.wrap{width:min(1180px,calc(100% - 36px));margin:0 auto}.nav{position:sticky;top:0;z-index:10;background:rgba(14,13,11,.72);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.navin{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}.brand{display:flex;align-items:center;gap:14px;font-weight:900;letter-spacing:-.04em}.brand img{height:54px;width:auto;display:block}.navlinks{display:flex;gap:22px;color:var(--muted);font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid rgba(215,174,98,.45);background:linear-gradient(135deg,var(--gold),#9b6c2b);color:#15100a;padding:13px 20px;border-radius:999px;font-weight:850;box-shadow:0 18px 40px rgba(215,174,98,.18);transition:.25s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 24px 60px rgba(215,174,98,.28)}.btn.ghost{background:transparent;color:var(--text);border-color:var(--line);box-shadow:none}.hero{position:relative;padding:88px 0 72px;background:radial-gradient(circle at 18% 18%,rgba(215,174,98,.22),transparent 34%),radial-gradient(circle at 92% 0,rgba(255,255,255,.08),transparent 30%),linear-gradient(180deg,#11100d,#0e0d0b);overflow:hidden}.hero:before{content:"";position:absolute;inset:auto -20% -18% -20%;height:44%;background:linear-gradient(90deg,transparent,rgba(215,174,98,.18),transparent);filter:blur(40px);transform:rotate(-4deg)}.grid{display:grid;grid-template-columns:1.04fr .96fr;gap:38px;align-items:center;position:relative}.eyebrow{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--line);background:rgba(255,255,255,.05);padding:8px 12px;border-radius:999px;color:var(--gold2);font-size:13px;margin-bottom:18px}h1{font-size:clamp(42px,6.5vw,82px);line-height:.94;margin:0 0 22px;letter-spacing:-.07em}h1 span{color:var(--gold2)}.lead{font-size:clamp(17px,2vw,22px);line-height:1.6;color:var(--muted);max-width:700px;margin:0 0 28px}.actions{display:flex;flex-wrap:wrap;gap:13px;margin-bottom:28px}.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:26px}.pill{border:1px solid var(--line);background:rgba(255,255,255,.045);padding:14px;border-radius:18px;color:var(--muted);font-size:13px}.pill strong{display:block;color:var(--text);font-size:20px;margin-bottom:2px}.visual{position:relative;min-height:580px}.photo-stack{position:absolute;inset:0;border-radius:36px;overflow:hidden;background:#241f17;box-shadow:var(--shadow);border:1px solid var(--line)}.photo-stack img{width:100%;height:100%;object-fit:cover;filter:saturate(.95) contrast(1.08)}.glass{position:absolute;left:24px;right:24px;bottom:24px;padding:22px;border-radius:26px;background:rgba(14,13,11,.68);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.16)}.glass b{display:block;font-size:22px;margin-bottom:5px}.glass p{margin:0;color:var(--muted);line-height:1.55}.section{padding:92px 0;border-top:1px solid var(--line)}.head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:32px}h2{font-size:clamp(32px,4vw,56px);line-height:1;margin:0;letter-spacing:-.055em}.sub{color:var(--muted);line-height:1.7;max-width:610px;margin:14px 0 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:var(--radius);padding:26px;min-height:250px;transition:.25s ease;position:relative;overflow:hidden}.card:before{content:"";position:absolute;inset:-1px;background:radial-gradient(circle at 20% 0,rgba(215,174,98,.17),transparent 36%);opacity:.85;pointer-events:none}.card:hover{transform:translateY(-5px);border-color:rgba(215,174,98,.35)}.ico{width:52px;height:52px;border-radius:18px;background:rgba(215,174,98,.14);display:grid;place-items:center;font-size:24px;margin-bottom:28px;position:relative}h3{position:relative;font-size:22px;margin:0 0 10px;letter-spacing:-.025em}.card p,li{position:relative;color:var(--muted);line-height:1.65;margin:0}.split{display:grid;grid-template-columns:.95fr 1.05fr;gap:28px;align-items:center}.media{border-radius:34px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);min-height:480px;background:#1e1a14}.media img{width:100%;height:100%;min-height:480px;object-fit:cover;display:block}.steps{display:grid;gap:14px}.step{display:grid;grid-template-columns:auto 1fr;gap:16px;padding:18px;border-radius:22px;background:rgba(255,255,255,.045);border:1px solid var(--line)}.num{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#15100a;font-weight:900}.viewer{background:linear-gradient(180deg,#181511,#100f0d);border:1px solid var(--line);border-radius:36px;padding:24px;box-shadow:var(--shadow)}.room{height:430px;position:relative;border-radius:26px;overflow:hidden;background:linear-gradient(180deg,#d9d2c6 0 45%,#2a2118 45% 100%);perspective:900px;border:1px solid rgba(255,255,255,.14)}.wall{position:absolute;inset:0 0 45%;background:linear-gradient(135deg,#e7e1d7,#bfb6a8)}.floor{position:absolute;left:-18%;right:-18%;bottom:-18%;height:70%;transform:rotateX(62deg);transform-origin:top;transition:.35s ease;background-size:90px 260px;box-shadow:inset 0 30px 70px rgba(0,0,0,.28)}.floor.oak{background-image:repeating-linear-gradient(90deg,#b77b3b 0 34px,#9d642c 34px 38px,#c08a49 38px 72px,#7b4a22 72px 76px)}.floor.vinyl{background-image:repeating-linear-gradient(90deg,#6f6357 0 42px,#51473e 42px 46px,#86786a 46px 86px,#4a4037 86px 90px)}.floor.dark{background-image:repeating-linear-gradient(90deg,#33271d 0 38px,#1b1510 38px 42px,#473426 42px 78px,#201812 78px 82px)}.sofa{position:absolute;width:190px;height:66px;left:11%;bottom:34%;background:#292421;border-radius:28px 28px 12px 12px;box-shadow:0 16px 30px rgba(0,0,0,.25)}.sofa:before,.sofa:after{content:"";position:absolute;bottom:-24px;width:18px;height:28px;background:#15120f;border-radius:8px}.sofa:before{left:28px}.sofa:after{right:28px}.table{position:absolute;width:150px;height:72px;right:16%;bottom:28%;border-radius:50%;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(3px);box-shadow:0 18px 35px rgba(0,0,0,.22)}.art{position:absolute;right:14%;top:13%;width:112px;height:142px;border:12px solid #2b241d;background:linear-gradient(135deg,#d7ae62,#f4ead5);box-shadow:0 20px 40px rgba(0,0,0,.18)}.controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.chip{cursor:pointer;border:1px solid var(--line);background:rgba(255,255,255,.045);color:var(--text);border-radius:999px;padding:11px 14px;font-weight:750}.chip.active{background:var(--gold);color:#15100a;border-color:var(--gold)}.gallery{display:grid;grid-template-columns:1.2fr .8fr .8fr;grid-auto-rows:260px;gap:16px}.gallery figure{margin:0;border-radius:28px;overflow:hidden;border:1px solid var(--line);position:relative;background:#211d17}.gallery figure:first-child{grid-row:span 2}.gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:.5s ease}.gallery figure:hover img{transform:scale(1.05)}.gallery figcaption{position:absolute;left:16px;right:16px;bottom:16px;padding:12px 14px;border-radius:16px;background:rgba(0,0,0,.42);backdrop-filter:blur(14px);font-weight:850}.contact{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px}.contactbox{background:linear-gradient(180deg,rgba(215,174,98,.12),rgba(255,255,255,.035));border:1px solid var(--line);border-radius:34px;padding:30px}.contactlist{display:grid;gap:13px;margin-top:22px}.contactitem{padding:16px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.035)}.form{display:grid;gap:12px;background:rgba(255,255,255,.045);border:1px solid var(--line);border-radius:34px;padding:26px}input,textarea{width:100%;border:1px solid var(--line);border-radius:18px;background:rgba(0,0,0,.22);color:var(--text);padding:15px 16px;font:inherit;outline:none}textarea{min-height:134px;resize:vertical}.footer{padding:28px 0;color:var(--muted);border-top:1px solid var(--line);font-size:14px}.muted{color:var(--muted)}@media(max-width:940px){.grid,.split,.contact{grid-template-columns:1fr}.visual{min-height:460px}.cards{grid-template-columns:1fr 1fr}.gallery{grid-template-columns:1fr 1fr;grid-auto-rows:220px}.gallery figure:first-child{grid-column:span 2;grid-row:auto}.navlinks{display:none}.brand img{height:46px}}@media(max-width:640px){.hero{padding:58px 0 52px}.section{padding:64px 0}.trust,.cards,.gallery{grid-template-columns:1fr}.gallery figure:first-child{grid-column:auto}.head{display:block}.actions{display:grid}.btn{width:100%}.room{height:360px}.brand span{display:none}}


/* Final logo sizing */
.site-logo img,
.logo img,
.brand img,
.header-logo img {
  max-width: 360px;
  height: auto;
  display: block;
}


/* Smaller logo */
.site-logo img,
.logo img,
.brand img,
.header-logo img{
    max-width:220px !important;
    height:auto !important;
}


/* Privacy consent and modal */
.privacy-consent{
  margin-top:18px;
  color:rgba(255,255,255,.82);
  font-size:14px;
}
.privacy-consent label{display:flex;gap:10px;align-items:flex-start}
.privacy-consent input{margin-top:3px;accent-color:#c99345}
.privacy-open{
  background:none;
  border:0;
  padding:0;
  color:#e5b96f;
  text-decoration:underline;
  cursor:pointer;
  font:inherit;
}
.privacy-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.privacy-modal.is-open{display:flex}
.privacy-modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
}
.privacy-modal__box{
  position:relative;
  max-width:760px;
  max-height:86vh;
  overflow:auto;
  background:#11100e;
  color:#fff;
  border:1px solid rgba(229,185,111,.32);
  border-radius:24px;
  padding:34px;
  box-shadow:0 28px 90px rgba(0,0,0,.55);
}
.privacy-modal__box h2{margin-top:0;color:#e5b96f}
.privacy-modal__box p{line-height:1.65;color:rgba(255,255,255,.82)}
.privacy-close{
  position:absolute;
  right:18px;
  top:14px;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}


/* GDPR layout fix */
.privacy-consent{
  margin:18px 0 0 0 !important;
  width:100% !important;
}
.privacy-consent label{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  text-align:center !important;
}
.privacy-consent input[type=checkbox]{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
}
.privacy-open{
  display:inline !important;
}


/* Úpravy galerie a mapy */
.gallery-full{grid-template-columns:repeat(3,1fr);grid-auto-rows:240px}
.gallery-full figure:nth-child(1),.gallery-full figure:nth-child(8){grid-row:span 2}
.gallery-full figure:nth-child(5),.gallery-full figure:nth-child(12){grid-column:span 2}
.gallery-full figcaption{display:none}
.mapbox{grid-column:1/-1;border:1px solid var(--line);border-radius:34px;overflow:hidden;min-height:360px;background:rgba(255,255,255,.045)}
.mapbox iframe{width:100%;height:380px;border:0;display:block;filter:grayscale(.25) contrast(1.05)}
@media(max-width:940px){.gallery-full{grid-template-columns:1fr 1fr;grid-auto-rows:220px}.gallery-full figure:nth-child(5),.gallery-full figure:nth-child(12){grid-column:auto}.gallery-full figure:nth-child(1),.gallery-full figure:nth-child(8){grid-row:auto}}
@media(max-width:640px){.gallery-full{grid-template-columns:1fr}.mapbox iframe{height:320px}}

.form-message{padding:14px 16px;border-radius:16px;font-weight:700}.form-message--success{background:rgba(90,180,110,.15);border:1px solid rgba(90,180,110,.45)}.form-message--error{background:rgba(220,90,90,.14);border:1px solid rgba(220,90,90,.45)}.form-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
