/* dankuchyne.sk — dizajn podľa DAN Brand Guidelines V2 (11/2025) + dan.at */

@font-face { font-family: 'GT Walsheim'; src: url('fonts/GT-Walsheim-LC-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Gazpacho'; src: url('fonts/Gazpacho-MediumItalic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --dk-black: #000;
  --dk-white: #fff;
  --dk-panna: #eae5de;
  --dk-red: #e21f26;
  --dk-tamarillo: #9a1c1f;
  --dk-karamell: #d79c79;
  --dk-tahini: #b0a8a0;
  --dk-blueberry: #2a4248;
  --dk-font-text: 'GT Walsheim', 'Inter', -apple-system, sans-serif;
  --dk-font-display: 'Gazpacho', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--dk-font-text); color: var(--dk-black); background: var(--dk-white); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2 { font-family: var(--dk-font-display); font-style: italic; font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h1 em, h2 em { color: var(--dk-red); font-style: inherit; }

.dkd-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.dkd-wrap-narrow { max-width: 760px; }
.dkd-section { padding: 72px 0; }
.dkd-section-sub { max-width: 640px; margin: -4px auto 36px; text-align: center; opacity: .75; }
.dkd-center { text-align: center; }

/* ---------- Header ---------- */
.dkd-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: var(--dk-white); box-shadow: 0 1px 0 rgba(0,0,0,.08); transition: background .25s, box-shadow .25s; }
.dkd-header-in { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 28px; }
.dkd-logo img { display: block; height: 52px; width: auto; }
@media (max-width: 860px) { .dkd-logo img { height: 40px; } }
.dkd-logo .dkd-logo-white { display: none; }
.dkd-nav { display: flex; gap: 22px; margin-left: auto; }
.dkd-nav a { color: inherit; text-decoration: none; font-size: .95rem; }
.dkd-nav a:hover { color: var(--dk-red); }
.dkd-cta-btn { background: var(--dk-black); color: var(--dk-white); padding: 11px 22px; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: background .2s; }
.dkd-cta-btn:hover { background: var(--dk-red); }
.dkd-cta-big { font-size: 1.1rem; padding: 15px 32px; display: inline-block; }

/* transparent nad hero videom */
.dkd-header--overlay:not(.scrolled) { background: transparent; box-shadow: none; }
.dkd-header--overlay:not(.scrolled) .dkd-nav a { color: var(--dk-white); }
.dkd-header--overlay:not(.scrolled) .dkd-logo-black { display: none; }
.dkd-header--overlay:not(.scrolled) .dkd-logo-white { display: block; }
.dkd-header--overlay:not(.scrolled) .dkd-cta-btn { background: var(--dk-red); }

/* ---------- Hero ---------- */
.dkd-hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--dk-white); overflow: hidden; }
.dkd-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dkd-hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)); }
.dkd-hero-content { position: relative; z-index: 2; padding: 110px 20px 60px; max-width: 780px; }
.dkd-hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.35rem); margin: 0 0 30px; opacity: .95; }
.dkd-scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--dk-white); font-size: 1.6rem; animation: dkd-bounce 1.8s infinite; }
@keyframes dkd-bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* lead form v hero + bloky */
.dkd-hero-form .dk-lead-form { background: rgba(255,255,255,.97); color: var(--dk-black); padding: 26px 24px; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.dkd-form-block { max-width: 560px; margin: 36px auto 0; background: var(--dk-panna); padding: 30px 24px; border-radius: 8px; }
.dk-form input[type=tel] { border-color: var(--dk-black) !important; }
.dk-form button { background: var(--dk-red) !important; color: var(--dk-white) !important; }
.dk-form button:hover { background: var(--dk-tamarillo) !important; }

/* ---------- Trust strip ---------- */
.dkd-trust { background: var(--dk-black); color: var(--dk-white); padding: 16px 0; }
.dkd-trust-in { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; font-size: .92rem; }

/* ---------- Modely ---------- */
.dkd-models h2, .dkd-steps h2, .dkd-showroom h2 { text-align: center; }
.dkd-models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.dkd-model-card { position: relative; display: block; border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--dk-white); aspect-ratio: 4/3; }
.dkd-model-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dkd-model-card:hover img { transform: scale(1.05); }
.dkd-model-meta { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: flex; flex-direction: column; }
.dkd-model-meta strong { font-size: 1.35rem; font-family: var(--dk-font-display); font-style: italic; }
.dkd-model-meta em { font-style: normal; font-size: .9rem; opacity: .9; }

/* ---------- Kroky ---------- */
.dkd-steps { background: var(--dk-panna); }
.dkd-steps-grid { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: none; }
.dkd-steps-grid li { background: var(--dk-white); border-radius: 8px; padding: 26px 22px; font-size: .95rem; }
.dkd-steps-grid li span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dk-red); color: var(--dk-white); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.dkd-steps-grid li strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }

/* ---------- My happy Place ---------- */
.dkd-happy-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.dkd-happy img { border-radius: 8px; }

/* ---------- Showroom ---------- */
.dkd-showroom { background: var(--dk-blueberry); color: var(--dk-white); }
.dkd-showroom .dkd-section-sub { opacity: .85; }
.dkd-showroom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 760px; margin: 0 auto; }
.dkd-showroom-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 24px; text-align: center; }
.dkd-showroom-card strong { font-size: 1.15rem; display: block; margin-bottom: 8px; }
.dkd-showroom-card p { margin: 0; opacity: .85; font-size: .95rem; }
.dkd-note { margin-top: 26px; opacity: .8; font-size: .95rem; }
.dkd-showroom .dkd-form-block { background: var(--dk-white); color: var(--dk-black); }
.dkd-showroom .dk-gdpr a { color: inherit; }

/* ---------- Model detail ---------- */
.dkd-model-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; color: var(--dk-white); background-size: cover; background-position: center; }
.dkd-model-hero .dkd-hero-content { text-align: left; padding: 140px 20px 48px; max-width: 1200px; margin: 0 auto; width: 100%; }
.dkd-model-desc { max-width: 720px; margin: 0 auto 36px; text-align: center; font-size: 1.15rem; }
.dkd-model-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.dkd-model-gallery img { border-radius: 8px; width: 100%; }
.dkd-backlink { color: inherit; }

/* ---------- Plain pages + články ---------- */
.dkd-plain-page { padding-top: 130px; }
.dkd-content a { color: var(--dk-red); }
.dkd-content img { border-radius: 8px; margin: 10px 0; }
.dkd-content h2 { font-size: 1.7rem; margin-top: 1.4em; }
.dkd-content .dk-lead-form { background: var(--dk-panna); padding: 26px 22px; border-radius: 8px; margin: 28px 0; }

/* ---------- Footer ---------- */
.dkd-footer { background: var(--dk-black); color: var(--dk-white); padding: 44px 0 96px; text-align: center; }
.dkd-footer-in p { opacity: .8; font-size: .93rem; }
.dkd-footer-nav { display: flex; gap: 20px; justify-content: center; margin: 10px 0; }
.dkd-footer-nav a { color: var(--dk-white); opacity: .8; font-size: .9rem; }
.dkd-copy { font-size: .8rem !important; opacity: .55 !important; }

/* ---------- Sticky mobile CTA ---------- */
.dkd-sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; background: var(--dk-red); color: var(--dk-white); text-align: center; padding: 15px; border-radius: 8px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,.3); display: none; }

@media (max-width: 860px) {
  .dkd-nav { display: none; }
  .dkd-happy-in { grid-template-columns: 1fr; }
  .dkd-sticky-cta { display: block; }
  .dkd-header .dkd-cta-btn { display: none; }
  .dkd-section { padding: 52px 0; }
}
