/* EKOSYS — styles shared by all pages (fonts, nav, buttons, cookie banner, ...).
   Page-specific styles live in css/<page>.css, loaded after this file. */

/* ── Fonts (self-hosted, latin + latin-ext for Czech) ── */
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:300 900; font-display:swap; src:url(../fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:300 900; font-display:swap; src:url(../fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Open Sans'; font-style:normal; font-weight:300 600; font-display:swap; src:url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Open Sans'; font-style:normal; font-weight:300 600; font-display:swap; src:url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Open Sans'; font-style:italic; font-weight:400; font-display:swap; src:url(../fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAewA.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Open Sans'; font-style:italic; font-weight:400; font-display:swap; src:url(../fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWV4ewJER.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scrollbar-gutter: stable; }
[id] { scroll-margin-top: 96px; }

/* ── Navigation ── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.35s, box-shadow 0.35s; }
#nav.scrolled {
  background: rgba(20,20,20,0.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 12px 40px rgba(0,0,0,0.55);
}
.nav-link {
  font-family: 'Montserrat', sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6); transition: color 0.2s; position: relative; padding-bottom: 2px; text-decoration: none;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* ── Mobile menu ── */
.menu-toggle { display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:36px; height:36px; background:none; border:none; cursor:pointer; padding:0; flex-shrink:0; }
.menu-toggle .bar { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.2s; }
.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display:none; flex-direction:column; max-height:0; overflow:hidden; background: rgba(15,15,15,0.98); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top:0px solid rgba(255,255,255,0.06); transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.mobile-menu.open { max-height: 520px; border-top-width: 1px; }
.mobile-link { padding:15px 20px; font-family:'Montserrat',sans-serif; font-size:14px; font-weight:600; color:rgba(255,255,255,0.72); text-decoration:none; display:block; border-bottom:1px solid rgba(255,255,255,0.05); transition: color 0.2s, background 0.2s; }
.mobile-link:hover, .mobile-link:focus-visible { color:#fff; background:rgba(229,35,42,0.08); }
@media (max-width: 767px) { .menu-toggle { display:flex; } .mobile-menu { display:flex; } }
.btn-red:active { transform: translateY(0); }

/* ── Footer link ── */
.flink { color: rgba(255,255,255,0.70); text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500; transition: color 0.2s; }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 760px; margin: 0 auto; background: rgba(28,28,28,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,0.45); padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; transform: translateY(140%); opacity: 0; transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.35s; }
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 12.5px; line-height: 1.65; color: rgba(255,255,255,0.72); margin: 0; flex: 1 1 380px; }
.cookie-banner a { color: #ffffff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-ghost { font-family: 'Montserrat',sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 11px 22px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); border-radius: 4px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.cookie-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.cookie-btn-ghost:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ── Page-to-page swap (language toggle, nav links): cross-fade instead of a hard reload
      flash. Chrome/Edge 126+, Safari 18.2+; other browsers simply navigate. ── */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
}
