/* cottage.sk - staticke styly zmrazenych stranok (nahrada Elementoru) */

/* skryt sidebar a titulky na zmrazenych strankach, obsah na plnu sirku */
.page-id-31 #sidebar, .page-id-203 #sidebar, .page-id-3 #sidebar { display: none; }
.page-id-31 article[class*="col-"], .page-id-203 article[class*="col-"], .page-id-3 article[class*="col-"], .page-id-3 div[class*="col-md-9"] { width: 100%; float: none; }
.page-id-31 h1.entry-title, .page-id-203 h1.entry-title { position: absolute; clip: rect(1px,1px,1px,1px); }
.page-id-31 .futurio-content, .page-id-203 .futurio-content { padding-left: 0; padding-right: 0; }

.ct-wrap { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.ct-full { width: 100vw; margin-left: calc(50% - 50vw); }
.ct-sec { padding: 50px 0; }
.ct-h {
  font-family: 'Roboto Slab', Georgia, serif; font-weight: 400;
  font-size: 38px; color: #333; text-align: center; margin: 0 0 40px; line-height: 1.3;
}

/* HERO slider s typing efektom */
.ct-hero { position: relative; height: calc(100vh - 110px); min-height: 480px; overflow: hidden; margin-top: -1px; }
.ct-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease;
}
.ct-hero-bg.on { opacity: 1; }
.ct-hero-bg.a { background-image: url('/wp-content/uploads/cottage/hero/hero-a.webp'); }
.ct-hero-bg.b { background-image: url('/wp-content/uploads/cottage/hero/hero-b.webp'); }
.ct-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.ct-hero-inner { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 0 15px; height: 100%; display: flex; align-items: center; }
/* nadpis na hero fotke je skryty (ostava v DOM ako H1 pre SEO) */
.ct-hero-title { position: absolute; clip: rect(1px,1px,1px,1px); margin: 0; }

/* MOZNOSTI - icon boxy */
.ct-cols3 { display: flex; flex-wrap: wrap; gap: 30px; }
.ct-cols3 > div { flex: 1 1 0; min-width: 240px; }
.ct-ibox { text-align: center; }
.ct-ibox .ct-icon { width: 52px; height: 52px; transition: transform .3s; }
.ct-ibox:hover .ct-icon { transform: scale(1.15); }
.ct-ibox h3 { font-family: 'Roboto', Arial, sans-serif; font-weight: 600; font-size: 22px; color: #333; margin: 18px 0 12px; }
.ct-ibox p { color: #7A7A7A; font-size: 15px; line-height: 1.7; margin: 0; }

/* MODRA sekcia */
.ct-blue {
  background-image: linear-gradient(140deg, #0c0707 0%, #2642D3 100%);
  margin-top: 50px; padding: 70px 15px; text-align: center; color: #fff;
}
.ct-blue-in { max-width: 800px; margin: 0 auto; }
.ct-blue h2 { font-family: 'Roboto Slab', Georgia, serif; color: #fff; font-size: 34px; line-height: 1.4; margin: 0 0 25px; font-weight: 400; }
.ct-blue h2 b { font-weight: 700; }
.ct-blue p { color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.8; margin: 0 0 35px; }
.ct-btn {
  display: inline-block; background: #fff; color: #222 !important; text-decoration: none !important;
  padding: 14px 38px; border-radius: 30px; font-size: 16px; font-weight: 500; transition: transform .3s, box-shadow .3s;
}
.ct-btn:hover { transform: scale(.96); box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.ct-btn .ct-arr { margin-left: 8px; }

/* CENNIKY */
.ct-grey { background: #ededed; padding: 50px 0; margin-top: 0; }
.ct-cols2 { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.ct-cols2 > div { flex: 1 1 0; min-width: 280px; }
.ct-price-h { font-family: 'Roboto Slab', Georgia, serif; font-weight: 400; font-size: 30px; color: #333; text-align: center; margin: 0 0 25px; }
.ct-price { list-style: none; margin: 0; padding: 0; }
.ct-price li { padding: 12px 0; }
.ct-price .ct-row { display: flex; align-items: baseline; gap: 8px; }
.ct-price .ct-t { font-weight: 600; color: #333; font-size: 17px; white-space: nowrap; }
.ct-price .ct-dots { flex: 1; border-bottom: 2px dotted #6EC1E4; transform: translateY(-4px); }
.ct-price .ct-p { font-weight: 600; color: #6EC1E4; font-size: 17px; white-space: nowrap; }
.ct-price .ct-d { color: #999; font-size: 13px; margin-top: 3px; }

/* GALERIA */
.ct-gal-h { font-family: 'Roboto', Arial, sans-serif; font-weight: 600; font-size: 24px; color: #333; margin: 30px 0 15px; }
.ct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ct-grid a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; }
.ct-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ct-grid a:hover img { transform: scale(1.07); }

/* LIGHTBOX */
.ct-lb { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.ct-lb img { max-width: 92vw; max-height: 90vh; box-shadow: 0 0 40px rgba(0,0,0,.6); }
.ct-lb button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 46px;
  cursor: pointer; padding: 10px 18px; opacity: .75; line-height: 1;
}
.ct-lb button:hover { opacity: 1; }
.ct-lb .ct-x { top: 10px; right: 14px; }
.ct-lb .ct-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.ct-lb .ct-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* TIPY NA VYLETY */
.ct-tips { background: #f4f4f4; padding: 60px 0 50px; }
.ct-tips .ct-sub { text-align: center; color: #999; font-size: 14px; margin: -30px 0 40px; }
.ct-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; padding: 28px 24px; text-align: center; }
.ct-card p { color: #7A7A7A; font-size: 14px; line-height: 1.75; margin: 0 0 18px; text-align: left; }
.ct-card .ct-who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ct-card .ct-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ct-card .ct-who a, .ct-card .ct-who span { font-weight: 600; font-size: 15px; color: #6EC1E4; }
.ct-video { display: block; position: relative; margin: 0 0 18px; border-radius: 4px; overflow: hidden; }
.ct-video img { width: 100%; display: block; }
.ct-video::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 62px; height: 62px; background: rgba(0,0,0,.65) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>') center/28px no-repeat;
  border-radius: 50%; transition: background-color .3s;
}
.ct-video:hover::after { background-color: rgba(221,51,51,.85); }

/* KONTAKT pruh */
.ct-cta { background: #000; padding: 55px 15px; text-align: center; }
.ct-cta h2 { color: #fff; font-family: 'Roboto', Arial, sans-serif; font-weight: 600; font-size: 22px; letter-spacing: 8px; text-transform: uppercase; margin: 0 0 18px; }
.ct-cta-tel { margin: 0 0 28px; font-size: 17px; }
.ct-cta-tel a { color: rgba(255,255,255,.9); text-decoration: none; }
.ct-cta-tel a:hover { color: #6EC1E4; }

/* FORMULAR (kontakt stranka) */
.ct-kontakt { max-width: 900px; }
.ct-form { max-width: 100%; }
.ct-form label { display: block; font-weight: 600; font-size: 15px; color: #333; margin: 0 0 6px; }
.ct-form .ct-field { margin-bottom: 20px; }
.ct-form input[type=text], .ct-form input[type=email], .ct-form textarea {
  width: 100%; border: 1px solid #ccc; border-radius: 3px; padding: 10px 12px;
  font-size: 15px; color: #333; background: #fff; box-sizing: border-box;
}
.ct-form textarea { min-height: 140px; resize: vertical; }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: #6EC1E4; }
.ct-form .ct-hp { position: absolute; left: -9999px; }
.ct-form button {
  width: 100%; background: #000; color: #fff; border: 0; border-radius: 3px;
  padding: 15px; font-size: 16px; cursor: pointer; transition: transform .3s;
}
.ct-form button:hover { transform: scale(.98); }
.ct-gdpr { font-size: 13px; color: #999; line-height: 1.6; margin: 0 0 18px; }
.ct-gdpr a { color: #6EC1E4; }
.ct-contact { margin-bottom: 35px; }
.ct-contact p { color: #686868; font-size: 16px; line-height: 1.8; }
.ct-contact a { color: #6EC1E4; }
.ct-privacy { max-width: 900px; }
.ct-privacy h2 { font-family: 'Roboto', Arial, sans-serif; font-weight: 600; font-size: 24px; color: #333; margin: 30px 0 12px; }
.ct-privacy p { color: #686868; line-height: 1.8; }
.ct-msg { padding: 14px 16px; border-radius: 3px; margin-bottom: 24px; font-size: 15px; }
.ct-msg.ok { background: #e7f6e7; color: #2e7d32; border: 1px solid #b6dfb6; }
.ct-msg.err { background: #fdeaea; color: #c0392b; border: 1px solid #f2c0c0; }

/* responsive */
@media (max-width: 900px) {
  .ct-grid { grid-template-columns: repeat(3, 1fr); }
  .ct-hero-title { font-size: 38px; }
}
@media (max-width: 600px) {
  .ct-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-hero-title { font-size: 30px; }
  .ct-h { font-size: 30px; }
  .ct-blue h2 { font-size: 26px; }
  .ct-hero { height: 65vh; min-height: 380px; }
}
