/* Phuntsok Choeling – styly webu (2026) */
:root {
  --cream: #faf6ee;
  --paper: #ffffff;
  --ink: #1e1a17;
  --ink-soft: #4a423c;
  --muted: #7a6f66;
  --red: #b3261e;
  --red-deep: #7d1410;
  --gold: #c9962b;
  --gold-soft: #f1e4c3;
  --line: #e6dccb;
  --dark: #1c1715;
  --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;
  --max: 1160px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.accent { color: var(--red); }
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .8rem;
}
.rule { width: 56px; height: 2px; background: var(--gold); margin: 1rem 0 1.5rem; border: 0; }
.rule.center { margin-inline: auto; }
/* odskok pro kotvy, ať je nepřekryje horní lišta */
[id] { scroll-margin-top: 110px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Hlavička */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand img { height: 48px; width: auto; }
.brand span { font-family: var(--font-serif); letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .02em; padding: .3rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--red-deep); }
.nav a.nav-cta { background: var(--red); color: #fff; padding: .5rem 1.1rem; border-radius: 999px; border: 0; font-size: .9rem; }
@media (min-width: 861px) and (max-width: 1180px) { .nav ul { gap: 1rem; } .nav a { font-size: .88rem; } .brand span { display: none; } }
.nav a.nav-cta:hover { background: var(--red-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .45rem .7rem; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; }
  .nav a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { text-align: center; margin-top: .7rem; }
  .brand span { display: none; }
}

/* Oznamovací lišta */
.announce {
  background: var(--red-deep);
  color: #fff;
  font-size: .95rem;
}
.announce .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; justify-content: center; padding: .55rem 0; }
.announce a { color: #fff; font-weight: 700; }
.announce strong { color: var(--gold-soft); }

/* Sekce */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section.tight { padding: clamp(2rem, 5vw, 4rem) 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--dark); color: #efe8dc; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: var(--gold-soft); }
.section.gold { background: var(--gold-soft); }

/* Hero (úvod) */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero img.hero-sonam { opacity: .92; object-position: right center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,14,12,.85) 0%, rgba(20,14,12,.55) 55%, rgba(20,14,12,.25) 100%); }
.hero:has(.hero-sonam)::after { background: linear-gradient(90deg, rgba(20,14,12,.82) 0%, rgba(20,14,12,.55) 45%, rgba(20,14,12,.05) 70%, rgba(20,14,12,0) 100%); }
@media (max-width: 800px) {
  /* na mobilu fotka nahoře v plné síle, text pod ní na tmavém podkladu */
  .hero:has(.hero-sonam) { display: flex; flex-direction: column; }
  .hero img.hero-sonam { position: relative; inset: auto; height: 72vw; max-height: 420px; opacity: 1; object-position: center 22%; }
  .hero:has(.hero-sonam)::after { display: none; }
  .hero:has(.hero-sonam) .wrap { padding: 2rem 0 2.5rem; }
}
.hero .wrap { position: relative; z-index: 1; padding: clamp(4rem, 10vw, 8rem) 0; max-width: 720px; margin-left: max(1.25rem, calc((100% - var(--max)) / 2)); }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: 1.15rem; color: #f2ebdf; max-width: 560px; }
.hero .eyebrow { color: var(--gold); }

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.ghost-dark { background: transparent; color: var(--red); border-color: var(--red); }
.btn.ghost-dark:hover { background: var(--red); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* Upoutávka na návštěvu */
.visit-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(60,30,10,.4);
}
.visit-banner .txt { padding: clamp(1.8rem, 4vw, 3.2rem); }
.visit-banner .pic { position: relative; min-height: 320px; }
.visit-banner .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.visit-banner h2 { margin-bottom: .3rem; }
.visit-banner .date { font-family: var(--font-serif); font-size: 1.15rem; color: var(--red); margin-bottom: 1rem; }
@media (max-width: 800px) { .visit-banner { grid-template-columns: 1fr; } .visit-banner .pic { min-height: 260px; order: -1; } }

/* Dvousloupec text + fotka */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.rev > :first-child { order: 2; }
.split figure { margin: 0; }
.split img { border-radius: 10px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } .split img { aspect-ratio: 4/3; } }

/* Karty */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.card .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--red-deep); display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 1rem; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 2rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 2/1; }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Kontakt blok */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.map { border: 0; width: 100%; aspect-ratio: 4/3; border-radius: 10px; }

/* Formulář */
.form { display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: .3rem; }
.form input, .form textarea { width: 100%; font: inherit; padding: .7rem .9rem; border: 1px solid #cfc4b2; border-radius: var(--radius); background: #fff; }
.form textarea { min-height: 150px; resize: vertical; }

/* Program (časová osa) */
.timeline { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.event { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; }
.event.main { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.event .when { font-family: var(--font-serif); color: var(--red-deep); line-height: 1.25; }
.event .when .d { font-size: 1.7rem; display: block; }
.event .when .m { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; display: block; }
.event .when .y { font-size: .85rem; color: var(--muted); display: block; margin-top: .2rem; }
.event h3 { margin-bottom: .3rem; }
.event .where { font-size: .95rem; color: var(--muted); margin-bottom: .7rem; }
.event p { margin-bottom: .6rem; }
.event ul { margin: .4rem 0 .8rem; padding-left: 1.2rem; }
.event li { margin-bottom: .25rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: var(--gold-soft); color: var(--red-deep); margin-right: .4rem; margin-bottom: .5rem; }
.tag.grey { background: #ece7de; color: var(--ink-soft); }
@media (max-width: 600px) { .event { grid-template-columns: 1fr; gap: .6rem; } .event .when { display: flex; gap: .5rem; align-items: baseline; } .event .when .d { font-size: 1.4rem; } }

.note { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }
.note p:last-child { margin-bottom: 0; }

/* Fakta */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.fact { border-top: 2px solid var(--gold); padding-top: .8rem; }
.fact strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; }
.fact span { font-size: .95rem; color: var(--muted); }

/* Aktuality */
.news { display: grid; gap: 2rem; }
.news article { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.news article img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.news article .body { padding: 1.6rem 1.8rem 1.6rem 0; }
.news time { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.news h2 { font-size: 1.5rem; margin: .3rem 0 .6rem; }
@media (max-width: 720px) { .news article { grid-template-columns: 1fr; } .news article .body { padding: 1.4rem; } .news article img { max-height: 260px; } }

/* Stránkový hero (podstránky) */
.page-hero { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; object-position: center 35%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,12,.2) 0%, rgba(20,14,12,.85) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero p { color: #efe8dc; max-width: 640px; font-size: 1.15rem; }
.page-hero.plain .wrap { padding: clamp(2.5rem, 6vw, 4rem) 0; }

/* Patička */
.site-footer { background: var(--dark); color: #cfc5b8; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; align-items: start; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 700; margin-bottom: .8rem; }
.site-footer a { color: #efe8dc; }
.site-footer img { height: 70px; width: auto; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #9b9083; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* Anglické shrnutí */
details.en { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 1rem 1.4rem; margin-top: 2rem; }
details.en summary { cursor: pointer; font-weight: 700; font-family: var(--font-serif); font-size: 1.1rem; }
details.en[open] summary { margin-bottom: .8rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .announce, .site-footer, .btn { display: none !important; } body { background: #fff; } }
