/* lubicavlkova.sk — design faithful to the original WIX site
   Raleway; white page; dark strips (#181818) for courses/contact/footer;
   full-screen photo hero; square-grid galleries; photo-backed CV strip. */
:root {
  --paper: #ffffff;
  --ink: #181818;
  --grey: #8c8c8c;
  --beige: #d4c2b9;
  --brown: #382a23;
  --brown-mid: #8e6a59;
  --sans: 'Raleway', 'Segoe UI', Arial, sans-serif;
  --maxw: 1200px;
}

@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/Raleway-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E; }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/Raleway-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF; }

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400;
  font-size: 16px; line-height: 1.875; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 0; }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center;
  justify-content: space-between; padding: 1.4rem 2rem; transition: background .3s, box-shadow .3s; }
.topbar.solid { background: rgba(255,255,255,.96); box-shadow: 0 1px 8px rgba(0,0,0,.07); }
.topbar a { text-decoration: none; }
.top-mail { color: #fff; font-size: .875rem; letter-spacing: .05em; }
.topbar.solid .top-mail { color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 1.6rem; }
.langs a { color: #fff; font-size: .82rem; letter-spacing: .12em; padding: .3rem .55rem; }
.langs a[aria-current] { border-bottom: 2px solid #fff; font-weight: 700; }
.topbar.solid .langs a { color: var(--ink); }
.topbar.solid .langs a[aria-current] { border-color: var(--ink); }
.nav-toggle { background: none; border: none; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }
.topbar.solid .nav-toggle span { background: var(--ink); }
body.menu-open .nav-toggle span { background: #fff; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- slide-in menu ---------- */
.menu-panel { position: fixed; inset: 0; z-index: 55; background: rgba(24,24,24,.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s; }
body.menu-open .menu-panel { opacity: 1; pointer-events: auto; }
.menu-panel ul { list-style: none; padding: 0; text-align: center; }
.menu-panel li { margin: .4rem 0; }
.menu-panel a { color: #fff; text-decoration: none; font-size: clamp(1.3rem, 3.2vw, 1.8rem);
  font-weight: 700; letter-spacing: .05em; }
.menu-panel a:hover { color: var(--beige); }
.menu-social { margin-top: 2.5rem; display: flex; gap: 2rem; }
.menu-social a { color: var(--grey); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }
.menu-social a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(24,24,24,.4); }
.hero-inner { position: relative; z-index: 2; color: #fff; padding: 0 2rem 0 clamp(2rem, 10vw, 9rem); }
.hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1.2; }
.hero .subtitle { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; letter-spacing: .25em;
  margin-top: 1.2rem; line-height: 1.6; }

/* ---------- sections ---------- */
section { padding: 0; }
.section-head { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) 2rem 3rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.4rem; }
.section-head .intro { max-width: 700px; color: var(--ink); margin-bottom: 1rem; }
h2.centered { text-align: center; font-size: clamp(2.2rem, 5vw, 3.5rem); }

/* ---------- galleries: square grid, full-bleed ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10px 10px; }
.g-item { display: block; aspect-ratio: 1; overflow: hidden; background: #f1f1f1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img, .g-item:focus img { transform: scale(1.04); }

/* ---------- dark strips ---------- */
.dark { background: var(--ink); color: #fff; }

/* ---------- courses ---------- */
.courses { padding: clamp(4rem, 8vw, 6.5rem) 2rem; }
.course-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 5vw, 4rem); max-width: var(--maxw); margin: 3.5rem auto 0; }
.course { text-align: center; display: flex; flex-direction: column; gap: .8rem; }
.course-no { font-size: 2.6rem; font-weight: 700; color: var(--beige); line-height: 1; }
.course h3 { font-size: 1.25rem; line-height: 1.75; }
.course p { color: #c5c5c5; font-size: .95rem; flex: 1; }
.btn { display: inline-block; align-self: center; background: var(--brown); color: #fff;
  text-decoration: none; font-size: .8rem; letter-spacing: .1em; font-weight: 500;
  padding: .75rem 1.9rem; transition: background .3s; }
.btn:hover, .btn:focus { background: var(--brown-mid); }

/* ---------- about (bio) ---------- */
.about { text-align: center; padding: clamp(4rem, 9vw, 7rem) 2rem; }
.about-portrait { width: min(440px, 80vw); height: min(440px, 80vw); object-fit: cover;
  margin: 0 auto 3rem; }
.about .bio { max-width: 700px; margin: 0 auto; }

/* ---------- CV strip: photo background + dark overlay ---------- */
.cv { background: url(/img/site/portrait-2.webp) center/cover fixed no-repeat; }
@media (hover: none) { .cv { background-attachment: scroll; } }
.cv-overlay { background: rgba(24,24,24,.82); padding: clamp(4rem, 9vw, 7rem) 2rem; color: #fff; text-align: center; }
.cv h3 { font-size: 1.5rem; margin: 2.8rem 0 1rem; }
.cv-line { max-width: 780px; margin: 0 auto; }
.exhibitions { list-style: none; padding: 0; max-width: 780px; margin: 0 auto; }
.exhibitions li { margin-bottom: .35rem; }
.exhibitions .year { color: var(--beige); font-weight: 700; margin-right: .5rem; font-variant-numeric: tabular-nums; }

/* ---------- contact ---------- */
.contact { padding: clamp(4rem, 8vw, 6.5rem) 2rem; }
.contact-intro { text-align: center; max-width: 640px; margin: 1.5rem auto 3rem; color: #c5c5c5; }
#contact-form { max-width: 940px; margin: 0 auto; }
#contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.field { display: block; margin-bottom: 1.8rem; }
.field span { display: block; font-size: .85rem; letter-spacing: .06em; margin-bottom: .2rem; color: #e9e1dc; }
.field input, .field textarea { width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.7); color: #fff; font: inherit;
  padding: .55rem 2px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--beige); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
.send-btn { display: block; width: 100%; background: #fff; color: var(--ink); border: 0;
  font: inherit; font-weight: 500; letter-spacing: .1em; padding: .8rem; cursor: pointer;
  margin-top: 1rem; transition: background .3s, color .3s; }
.send-btn:hover, .send-btn:focus { background: var(--beige); }
.form-status { margin-top: 1.2rem; text-align: center; min-height: 1.5em; }
.form-status.ok { color: #9fd8b0; }
.form-status.err { color: #f2a099; }
.hp { position: absolute !important; left: -5000px !important; }

/* ---------- footer ---------- */
footer { text-align: center; padding: 3.2rem 2rem 2.6rem; font-size: .92rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--beige); }
footer p { margin-top: 1rem; color: #c5c5c5; }
footer .social { display: flex; justify-content: center; gap: 1.4rem; margin-top: 1.4rem; }
footer .credit { font-size: .8rem; color: var(--grey); margin-top: 1.6rem; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.96);
  display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: 92vw; max-height: 92vh; display: flex; flex-direction: column; }
.lightbox img { max-width: 92vw; max-height: 76vh; width: auto; height: auto; object-fit: contain; margin: 0 auto; }
.lightbox figcaption { color: #ddd; text-align: center; padding: 1rem 1rem 0; max-width: 60rem;
  margin: 0 auto; overflow-y: auto; max-height: 16vh; }
.lightbox figcaption strong { font-size: 1.15rem; font-weight: 700; display: block; }
.lightbox figcaption em { font-style: normal; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: #aaa; display: block; margin: .25rem 0 .5rem; }
.lightbox figcaption span { font-size: .9rem; line-height: 1.6; white-space: pre-line; display: block; }
.lightbox button { position: fixed; background: none; border: none; color: #fff; cursor: pointer;
  font-size: 2.4rem; line-height: 1; padding: 1rem; opacity: .7; z-index: 101; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: .5rem; right: .8rem; }
.lb-prev { left: .4rem; top: 50%; transform: translateY(-50%); font-size: 3.2rem; }
.lb-next { right: .4rem; top: 50%; transform: translateY(-50%); font-size: 3.2rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .top-mail { font-size: .78rem; }
  .topbar { padding: 1rem 1.2rem; }
  #contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .hero-inner { padding: 0 1.5rem; }
}
