/*
Theme Name: Sekání trávy Praha
Theme URI: https://sekanitravypraha.cz/
Author: Sekání trávy Praha
Description: Moderní responzivní jednostránková šablona pro zahradní služby a sekání trávy v Praze a okolí.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: sekani-travy-praha
*/

:root {
  --green-950: #123322;
  --green-800: #1c5635;
  --green-650: #2f7d4b;
  --green-500: #56a85f;
  --lime: #c9e265;
  --cream: #f7f5ed;
  --paper: #fffef9;
  --ink: #183126;
  --muted: #607267;
  --line: rgba(24, 49, 38, .13);
  --shadow: 0 20px 60px rgba(20, 56, 36, .12);
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section--soft { background: var(--paper); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--green-650);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--green-500); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.1rem); }
h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: 1.35rem; }
.lead { max-width: 640px; color: #dfeadd; font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-950);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .14); }
.button--ghost { border-color: rgba(255,255,255,.42); background: transparent; color: #fff; }
.button--dark { background: var(--green-950); color: #fff; }
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(18,51,34,.96); box-shadow: 0 8px 30px rgba(0,0,0,.14); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 850; text-decoration: none; line-height: 1.05; }
.brand-logo { display: block; width: 56px; height: 56px; flex: 0 0 auto; object-fit: contain; }
.brand span:last-child { max-width: 130px; }
.brand-wrap .custom-logo-link { display: inline-flex; align-items: center; }
.brand-wrap .custom-logo { display: block; width: auto; max-width: 210px; max-height: 58px; object-fit: contain; }
.site-footer .brand-logo { width: 64px; height: 64px; }
.site-footer .brand-wrap .custom-logo { max-height: 70px; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #fff; font-size: .93rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover { color: var(--lime); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 26px; height: 2px; margin: 5px; background: currentColor; }
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 820px;
  overflow: hidden;
  padding: 150px 0 90px;
  color: #fff;
  background: radial-gradient(circle at 82% 25%, rgba(201,226,101,.22), transparent 28%), linear-gradient(125deg, #102f20 0%, #1f6439 62%, #39784b 100%);
  background-position: center;
  background-size: cover;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -25vw;
  width: 62vw;
  height: 62vw;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025);
}
.hero-content { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 58px; color: #dce9df; font-size: .92rem; }
.hero-proof span { display: flex; align-items: center; gap: 9px; }
.hero-proof span::before { content: "✓"; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(201,226,101,.18); color: var(--lime); font-weight: 900; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 34px rgba(22,55,38,.05); }
.card-number { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 30px; border-radius: 16px; background: #eaf2d0; color: var(--green-800); font-weight: 900; }
.card p { margin-bottom: 0; color: var(--muted); }
.process { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.process-panel { position: relative; min-height: 480px; overflow: hidden; border-radius: 40px; background: linear-gradient(145deg, #cde476, #4d9a5c); box-shadow: var(--shadow); }
.process-panel::before { content: ""; position: absolute; inset: 14% 12%; border: 2px dashed rgba(255,255,255,.6); border-radius: 48% 52% 41% 59%; transform: rotate(-9deg); }
.process-panel::after { content: "PRAHA"; position: absolute; right: 7%; bottom: 2%; color: rgba(255,255,255,.35); font-size: clamp(4rem, 9vw, 8rem); font-weight: 950; letter-spacing: -.08em; }
.steps { display: grid; gap: 28px; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; padding-left: 68px; counter-increment: steps; }
.steps li::before { content: "0" counter(steps); position: absolute; left: 0; top: -4px; color: var(--green-500); font-weight: 900; }
.steps h3 { margin-bottom: 7px; }
.steps p { margin: 0; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 220px; gap: 18px; }
.gallery-item { grid-column: span 4; overflow: hidden; margin: 0; border-radius: 24px; background: #dfe8da; box-shadow: 0 12px 34px rgba(22,55,38,.08); }
.gallery-item:first-child, .gallery-item:nth-child(5) { grid-column: span 8; }
.gallery-item:only-child { grid-column: 1 / -1; }
.gallery-item a { display: block; width: 100%; height: 100%; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { position: relative; }
.price-card.featured { border-color: var(--green-500); background: var(--green-950); color: #fff; transform: translateY(-12px); }
.price-card.featured p, .price-card.featured li { color: #dce9df; }
.price-label { color: var(--green-650); font-size: .8rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.price { margin: 18px 0 8px; font-size: 2.55rem; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.price small { font-size: .95rem; font-weight: 600; letter-spacing: 0; }
.price-list { display: grid; gap: 10px; margin: 25px 0 0; padding: 0; color: var(--muted); list-style: none; }
.price-list li::before { content: "✓"; margin-right: 9px; color: var(--green-500); font-weight: 900; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-stars { color: #df9f24; letter-spacing: .12em; }
.review blockquote { margin: 18px 0 26px; font-size: 1.06rem; }
.review cite { color: var(--muted); font-style: normal; font-weight: 750; }
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 30px; padding: 25px 0; font-size: 1.1rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::after { content: "+"; color: var(--green-650); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; padding: 0 0 25px; color: var(--muted); }
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-radius: 38px; background: var(--green-950); color: #fff; box-shadow: var(--shadow); }
.contact-copy { padding: clamp(36px, 6vw, 72px); background: radial-gradient(circle at 20% 100%, rgba(201,226,101,.2), transparent 45%); }
.contact-copy p { color: #dce9df; }
.contact-details { display: grid; gap: 14px; margin-top: 36px; }
.contact-details a { color: #fff; font-weight: 750; text-decoration: none; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 9px; width: fit-content; }
.whatsapp-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #25d366; color: #fff; font-size: 14px; line-height: 1; }
.contact-form { display: grid; gap: 17px; padding: clamp(32px, 5vw, 64px); background: var(--paper); color: var(--ink); }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { margin: 0; color: var(--muted); font-size: .8rem; }
.site-footer { padding: 52px 0 26px; background: #0d271a; color: #d7e4da; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-copy { max-width: 470px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.footer-nav a { color: #d7e4da; text-decoration: none; }
.copyright { margin: 24px 0 0; color: #9eb1a4; font-size: .86rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 82px 0 auto; display: none; padding: 28px 20px 34px; background: var(--green-950); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 20px; }
  .service-grid, .pricing-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .gallery-item, .gallery-item:first-child, .gallery-item:nth-child(5) { grid-column: span 6; }
  .process, .contact-wrap { grid-template-columns: 1fr; gap: 42px; }
  .contact-wrap { gap: 0; }
  .process-panel { min-height: 350px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 76px 0; }
  .hero { min-height: 740px; }
  .service-grid, .pricing-grid, .reviews { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 240px; }
  .gallery-item, .gallery-item:first-child, .gallery-item:nth-child(5) { grid-column: 1 / -1; }
  .price-card.featured { transform: none; }
  .footer-grid { flex-direction: column; }
  .hero-proof { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.lightbox-dialog {
	position: fixed;
	inset: 0;
	width: min(1200px, calc(100% - 40px));
	height: min(90vh, 900px);
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

.lightbox-dialog::backdrop {
	background: rgba(5, 20, 12, 0.9);
	backdrop-filter: blur(5px);
}

.lightbox-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.lightbox-close {
	position: absolute;
	z-index: 2;
	top: -18px;
	right: -18px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #123322;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox {
	cursor: zoom-in;
}
