/* =============================================
   DJ LIBOR VELEK — Light, airy, editorial
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --white:      #ffffff;
  --cream:      #f8f5f0;
  --warm-gray:  #ede9e2;
  --border:     #ddd8ce;
  --text-dark:  #18181b;
  --text-body:  #52525b;
  --text-light: #a1a1aa;
  --accent:     #b8933f;
  --accent-l:   #d4ae6a;
  --accent-bg:  #faf6ee;
  --nav-h:      72px;
  --radius:     6px;
  --t:          0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
  color: var(--text-dark);
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Utility ---- */
.accent      { color: var(--accent); }
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-py  { padding: 7rem 0; }
.section-sm  { padding: 4rem 0; }

.section-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--accent-l);
  margin: 1.25rem 0 1.75rem;
}
.divider.center { margin-left: auto; margin-right: auto; }

.text-muted  { color: var(--text-light) !important; }
.text-body-c { color: var(--text-body); }

/* ---- Buttons ---- */
.btn-dark-c {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text-dark);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.btn-dark-c:hover { background: #3d3733; transform: translateY(-1px); color: #fff; }

.btn-outline-c {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t);
}
.btn-outline-c:hover {
  border-color: var(--text-dark);
  background: var(--text-dark);
  color: #fff;
}

/* ---- Navbar ---- */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t), box-shadow var(--t);
  background: rgba(255,255,255,0);
}
#mainNav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}
#mainNav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-brand {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}
.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  transition: color var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-dark); }
.nav-links .nav-cta a {
  background: var(--text-dark);
  color: #fff;
  padding: 0.4rem 1.1rem;
}
.nav-links .nav-cta a:hover { background: #3d3733; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  transition: all var(--t);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 0.6rem 0; }
  .nav-links .nav-cta { margin-top: 0.5rem; }
  .nav-links .nav-cta a { display: inline-block; }
}

/* ---- Hero ---- */
#hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 6rem;
}

.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.12) 0%, transparent 60%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-name {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.0;
  margin-bottom: 0.1em;
}
.hero-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.stat-val {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.3rem;
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 5rem 1.5rem 3rem; }
  .hero-right { height: 55vw; min-height: 320px; }
}
@media (max-width: 576px) {
  .hero-left { padding: 4rem 1.25rem 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-val { font-size: 1.75rem; }
}

/* ---- Services ---- */
#sluzby { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  border-color: var(--accent-l);
}

.service-num {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.1rem;
  opacity: 0.5;
}
.service-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.service-item p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---- About ---- */
#proc-ja { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 6rem;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
}
.about-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.about-badge-val {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.about-badge-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.75rem 0 2.25rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.92rem;
  color: var(--text-body);
}
.checklist li i {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .about-badge { right: 0.5rem; bottom: 0.5rem; }
  .about-img-wrap img { height: 380px; }
}

/* ---- Testimonials ---- */
#reference { background: var(--cream); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.75rem;
}
.testi-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.testi-initials {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  color: var(--accent);
  flex-shrink: 0;
}
.testi-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}
.testi-src {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1px;
}

/* ---- Clients ---- */
#klienti {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.client-logo {
  max-height: 56px;
  width: auto;
  filter: grayscale(1) opacity(0.45);
  transition: filter var(--t), transform var(--t);
}
.client-logo:hover { filter: grayscale(0) opacity(1); transform: scale(1.05); }

/* ---- Pricing ---- */
#cenik { background: var(--cream); }

.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 640px) { .pricing-wrap { grid-template-columns: 1fr; } }

.price-col {
  background: #fff;
  padding: 3rem 2.5rem;
  position: relative;
}
.price-col + .price-col {
  border-left: 1px solid var(--border);
  background: var(--text-dark);
}
.price-col + .price-col h3,
.price-col + .price-col .price-amount,
.price-col + .price-col .price-period,
.price-col + .price-col .price-list li {
  color: #fff;
}
.price-col + .price-col .price-list li { border-color: rgba(255,255,255,0.1); }
.price-col + .price-col .price-list i { color: var(--accent-l); }

.price-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}
.price-col + .price-col .price-label { color: var(--accent-l); }

.price-col h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.price-amount {
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin: 1rem 0 0.25rem;
}
.price-amount sup { font-size: 1.25rem; vertical-align: super; }
.price-period {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.price-list li:last-child { border-bottom: none; }
.price-list i { color: var(--accent); font-size: 0.65rem; flex-shrink: 0; }

.price-conditions {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 2.5rem;
  max-width: 820px;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 640px) { .price-conditions { grid-template-columns: 1fr; } }
.cond-icon { font-size: 1.25rem; color: var(--accent); margin-bottom: 0.5rem; }
.cond-text { font-size: 0.83rem; color: var(--text-body); line-height: 1.5; }

/* ---- CTA strip ---- */
.cta-strip {
  background: var(--text-dark);
  padding: 5rem 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.5rem; }
.cta-strip p { color: rgba(255,255,255,0.55); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-strip .btn-dark-c { background: #fff; color: var(--text-dark); }
.cta-strip .btn-dark-c:hover { background: var(--warm-gray); }
.cta-strip .btn-outline-c { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-strip .btn-outline-c:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* ---- Page hero (inner pages) ---- */
.page-header {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }

/* ---- Gallery ---- */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.gf-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--t);
}
.gf-btn:hover, .gf-btn.active {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #fff;
}

.gallery-masonry {
  columns: 3 260px;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 2px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.4rem; color: #fff; }

/* Lightbox */
.lb-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lb-backdrop.open { display: flex; }
.lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lb-inner img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
}
.lb-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--t);
  line-height: 1;
}
.lb-close:hover { color: #fff; }

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info-block { }
.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }
.ci-icon {
  width: 40px;
  height: 40px;
  background: var(--warm-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--accent);
}
.ci-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.ci-value { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 576px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.field input,
.field select,
.field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,111,71,0.1);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---- Footer ---- */
footer {
  background: var(--text-dark);
  padding: 2rem 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-brand-name {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.footer-brand-name span { color: var(--accent-l); }
.footer-contacts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-contacts a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--t);
}
.footer-contacts a:hover { color: #fff; }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ---- AOS subtle ---- */
[data-aos="fade-up"] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-up"].aos-animate { opacity: 1; transform: none; }
[data-aos="fade-right"] { opacity: 0; transform: translateX(-20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-right"].aos-animate { opacity: 1; transform: none; }
[data-aos="fade-left"] { opacity: 0; transform: translateX(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-left"].aos-animate { opacity: 1; transform: none; }
[data-aos="fade-in"] { opacity: 0; transition: opacity 0.7s ease; }
[data-aos="fade-in"].aos-animate { opacity: 1; }
