:root {
  --brown: #6e2e27;
  --accent: #ab5532;
  --gold: #daaf86;
  --red: #b60101;
  --cream: #fbf6f2;
  --muted: #f9f9f9;
  --text: #444;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: Roboto, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--serif); font-size: 15px; color: var(--text); line-height: 26px; background: #fff; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.center { text-align: center; }

/* horní lišta */
.navbar {
  position: absolute; z-index: 20; top: 30px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 60px); max-width: 1160px; min-height: 80px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding: 14px 28px; background: var(--brown); color: #fff; font-family: var(--sans);
}
.brand { color: #fff; text-decoration: none; font-size: 24px; line-height: 28px; letter-spacing: 2px; }
.navbar nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.navbar nav a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 400; letter-spacing: 2px; padding: 6px 0; }
.navbar nav a:hover, .navbar nav a.active { color: var(--gold); }
.langs { display: flex; gap: 10px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.3); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; background: #fff; }

/* úvodní plocha: logo má pevnou velikost, roztahuje se jen fotka */
.home-hero { display: flex; height: 480px; background: var(--cream); }
.home-logo { flex: 0 0 50%; display: flex; align-items: center; justify-content: center; padding-top: 110px; }
.home-logo img { width: 250px; height: auto; flex: none; }
.home-photo { flex: 1; background-size: cover; background-position: center; }

.button {
  display: inline-block; background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--sans); font-size: 16px; line-height: 40px; text-transform: uppercase; letter-spacing: 2px; padding: 0 33px;
}
.button:hover { background: #8f0101; }

.home-main { background: var(--muted); padding: 34px 0 50px; }
.subtitle { margin: 0 auto 18px; max-width: 900px; text-align: center; font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 20px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 18px; margin: 34px 0; }
.card { display: block; text-align: center; text-decoration: none; color: var(--text); }
.card-image { display: block; aspect-ratio: 400 / 267; overflow: hidden; background: #eee; }
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.card:hover img { transform: scale(1.07); }
.card-title { display: block; margin: 14px 0 6px; font-size: 24px; line-height: 28px; color: var(--accent); text-transform: uppercase; }
.card-text { display: block; }
.wide { display: block; width: 100%; margin-top: 20px; }

/* podstránky */
.banner { min-height: 420px; display: flex; align-items: center; padding: 130px 0 40px; background: #3b2a22 center / cover; position: relative; color: #fff; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(25, 15, 10, .55); }
.banner .wrap { position: relative; }
.banner h1 { font-weight: 400; font-size: 36px; line-height: 44px; margin: 12px 0 26px; }
.kicker { font-family: var(--sans); text-transform: uppercase; letter-spacing: 3px; font-size: 12px; line-height: 15px; opacity: .75; margin: 0; }

.page-main { padding: 40px 0 60px; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.text h2, .text h3 { color: var(--accent); font-weight: 400; margin: 35px 0 15px; }
.text h2 { font-size: 36px; line-height: 44px; }
.text h3 { font-size: 28px; line-height: 34px; }
.text > :first-child { margin-top: 0; }
.is-apartment .text h2, .is-apartment .text h3 { text-align: center; }
.map { width: 100%; height: 450px; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 34px 0; }
.gallery a { display: block; aspect-ratio: 400 / 267; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.06); }
.video { aspect-ratio: 16 / 9; margin-top: 30px; }
.video iframe { width: 100%; height: 100%; border: 0; }

footer { background: #2b2b2b; color: #bbb; padding: 34px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer a { color: #fff; text-decoration: none; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

/* prohlížení fotek */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; flex-direction: column; }
.lightbox img { max-width: 92vw; max-height: 84vh; }
.lightbox p { color: #fff; margin: 10px; font-family: var(--sans); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; padding: 14px; cursor: pointer; }
.lightbox .lb-close { top: 6px; right: 10px; }
.lightbox .lb-prev { left: 6px; top: 46%; }
.lightbox .lb-next { right: 6px; top: 46%; }

.cookies { position: fixed; z-index: 50; left: 20px; right: 20px; bottom: 20px; max-width: 640px; margin: 0 auto; background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.25); padding: 16px 20px; font-family: var(--sans); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookies p { margin: 0; flex: 1 1 280px; }
.cookies button { border: 1px solid #2d4156; background: #fff; color: #2d4156; padding: 8px 16px; cursor: pointer; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .navbar { top: 0; width: 100%; min-height: 60px; padding: 10px 16px; }
  .brand { font-size: 16px; letter-spacing: 1px; }
  .menu-toggle { display: block; }
  .navbar nav { display: none; width: 100%; flex-direction: column; }
  .navbar.open nav { display: flex; }
  .langs { border-left: 0; padding-left: 0; gap: 18px; }
  .home-hero { flex-direction: column; height: auto; }
  .home-logo { flex: none; padding: 96px 0 30px; }
  .home-photo { display: none; }
  .banner { min-height: 320px; padding-top: 90px; }
  .banner h1 { font-size: 26px; line-height: 34px; }
  .text h2 { font-size: 28px; line-height: 34px; }
  .text h3 { font-size: 22px; line-height: 30px; }
  .wrap { padding: 0 18px; }
  .columns { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-right { align-items: flex-start; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}
