/* ============================================================
   K.K.Events — kkevents.cz
   Elegantní svatební one-page · ivory / šalvěj / zlatá
   ============================================================ */

:root {
  --bg:        #FAF8F4;
  --bg-soft:   #F3EFE7;
  --ink:       #26241F;
  --ink-soft:  #5C574D;
  --sage:      #6E7D60;
  --sage-dark: #56624A;
  --gold:      #B08D57;
  --line:      #E5DFD2;
  --white:     #FFFFFF;
  --shadow:    0 18px 50px -22px rgba(38, 36, 31, .28);
  --radius:    18px;
  --header-h:  72px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.28rem; font-weight: 560; }

p { margin: 0 0 1em; }
a { color: var(--sage-dark); }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.container.narrow { width: min(760px, 100% - 2.5rem); }

.center { text-align: center; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow.light { color: #D9C29A; }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.desktop-br { display: none; }
@media (min-width: 720px) { .desktop-br { display: inline; } }

/* ---------- Scroll reveal (jen s aktivním JS — bez něj zůstává vše viditelné) ---------- */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.js-ready .reveal.d1 { transition-delay: .12s; }
.js-ready .reveal.d2 { transition-delay: .24s; }
.js-ready .reveal.d3 { transition-delay: .36s; }
.js-ready .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 12px 28px -12px rgba(110, 125, 96, .55);
}
.btn-primary:hover { background: var(--sage-dark); }

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.btn.big { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(250, 248, 244, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(38,36,31,.18);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--white);
  transition: color .3s ease;
}
.brand-mark { font-style: italic; font-weight: 560; }
.brand-name { font-weight: 330; letter-spacing: .04em; }
.scrolled .brand, .scrolled .site-nav a { color: var(--ink); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  transition: color .25s ease;
}
.site-nav a:hover { color: var(--gold); }

.site-nav .nav-cta {
  color: var(--white);
  background: var(--sage);
  padding: .55rem 1.15rem;
  border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--sage-dark); color: var(--white); }
.scrolled .site-nav .nav-cta { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.scrolled .nav-toggle span, body.nav-open .nav-toggle span { background: var(--ink); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(320px, 86vw);
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.8rem;
    gap: 1.3rem;
    background: var(--bg);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
  }
  body.nav-open .site-nav { transform: none; }
  .site-nav a { color: var(--ink) !important; font-size: 1.08rem; }
  .site-nav .nav-cta { color: var(--white) !important; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  isolation: isolate;
}

.hero-bg, .hero-bg img, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(20,19,16,.42) 0%, rgba(20,19,16,.18) 38%, rgba(20,19,16,.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
  max-width: 56rem;
}
.hero h1 em {
  font-style: italic;
  color: #E8D5B0;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  max-width: 38rem;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: .5rem; }

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.22);
  background: rgba(20,19,16,.30);
  backdrop-filter: blur(8px);
}
.strip-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .9rem 1.1rem;
  padding: 1rem 0;
  font-size: .88rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
}
.strip-items .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 600px) {
  .strip-items .dot { display: none; }
  .strip-items { flex-direction: column; gap: .35rem; }
}

/* ============================================================
   O nás
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 5fr 6fr; gap: 4.5rem; }
}

.about-photo {
  margin: 0;
  position: relative;
}
.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.photo-tag {
  position: absolute;
  left: 1.1rem; bottom: 1.1rem;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(6px);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.about-text h2 .amp {
  font-style: italic;
  color: var(--gold);
  font-weight: 330;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: .85rem;
}
.checklist li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .18rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--sage) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m5 13 4 4 10-10"/></svg>') center / 60% no-repeat;
}

/* ============================================================
   Služby
   ============================================================ */
.services { background: var(--bg-soft); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
  margin-top: 2.8rem;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--sage-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; }

.card-badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .28rem .7rem;
}

.card p { color: var(--ink-soft); }
.card ul {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: .5rem;
  font-size: .95rem;
}
.card li {
  padding-left: 1.4rem;
  position: relative;
}
.card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.services-note {
  text-align: center;
  margin: 2.6rem auto 0;
  max-width: 44rem;
  color: var(--ink-soft);
}

/* ============================================================
   Foto pás
   ============================================================ */
.photo-band {
  position: relative;
  height: clamp(340px, 55vh, 560px);
  overflow: hidden;
}
.photo-band img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.band-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 19, 16, .38);
}
.band-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  line-height: 1.35;
  color: var(--white);
  text-align: center;
  margin: 0;
}

/* ============================================================
   Jak to probíhá
   ============================================================ */
.steps {
  list-style: none;
  counter-reset: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 1.8rem;
}
.step {
  position: relative;
  padding-top: 1.4rem;
  border-top: 2px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 56px; height: 2px;
  background: var(--gold);
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: .5rem;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* ============================================================
   Reference
   ============================================================ */
.testimonials { background: var(--bg-soft); }

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2.8rem;
}

.quote {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem 1.7rem;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: .2rem; left: 1.4rem;
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 1;
  color: var(--gold);
  opacity: .35;
}
.quote p {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.55;
}
.quote footer {
  font-size: .88rem;
  font-weight: 600;
  color: var(--sage-dark);
}

/* ============================================================
   Galerie
   ============================================================ */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-top: 2.8rem;
}
@media (min-width: 760px) {
  .grid-gallery { grid-template-columns: repeat(4, 1fr); }
}

.g-item {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform .5s ease;
}
.g-item:hover img { transform: scale(1.045); }
.g-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.gallery-note {
  text-align: center;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: 1.6rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 19, 16, .92);
  display: grid;
  place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(255,255,255,.85);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  padding: .6rem 1rem;
  transition: color .2s ease, transform .2s ease;
}
.lightbox button:hover { color: var(--white); transform: scale(1.1); }
.lb-close { top: 1rem; right: 1.2rem; }
.lb-prev  { left: .6rem; top: 50%; transform: translateY(-50%); }
.lb-next  { right: .6rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.5rem;
  margin-top: 1rem;
}
.faq .faq-item:first-of-type { margin-top: 2.6rem; }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.2rem 1.15rem 0;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: .2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding-bottom: 1.2rem; margin: 0; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact { padding-bottom: clamp(4rem, 8vw, 6rem); }

.contact-card {
  background: linear-gradient(150deg, #3D4434 0%, var(--sage-dark) 55%, #4C5840 100%);
  color: var(--white);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card h2 { color: var(--white); }
.contact-lead { color: rgba(255,255,255,.82); max-width: 40rem; margin-inline: auto; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2.4rem auto;
  max-width: 56rem;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.contact-item:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.ci-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #D9C29A;
}
.ci-value { color: var(--white); font-weight: 600; font-size: 1.05rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  font-size: .92rem;
}
.site-footer .brand-mark, .site-footer .brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.footer-tag { color: var(--ink-soft); font-size: .85rem; margin: .3rem 0 0; }
.footer-nav { display: flex; gap: 1.3rem; }
.footer-nav a { text-decoration: none; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--sage-dark); }
.footer-copy { color: var(--ink-soft); margin: 0; }

/* ---------- Anchor offset pod fixní hlavičkou ---------- */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
