@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:ital,wght@0,400;0,500;0,600;0,700;1,600&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --ink:#1c2b2c;
  --ink-soft:#3d5052;
  --teal-deep:#123b41;
  --teal:#1f6e78;
  --teal-light:#4f9aa3;
  --sand:#e8dfc7;
  --sand-deep:#dccfaa;
  --paper:#f7f2e6;
  --terracotta:#c1592f;
  --terracotta-soft:#e8ceb9;
  --olive:#707c43;
  --olive-soft:#dfe2c6;
  --white:#ffffff;
  --line:#c9bd9d;
  --shadow: 0 10px 30px -12px rgba(18,59,65,0.35);
  --radius: 14px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Work Sans',sans-serif;
  color:var(--ink);
  background:var(--sand);
  line-height:1.55;
}
h1,h2,h3,h4{
  font-family:'Zilla Slab',serif;
  color:var(--teal-deep);
  margin:0 0 .4em;
  line-height:1.12;
}
p{margin:0 0 1em;}
a{color:var(--teal-deep);}
.mono{
  font-family:'IBM Plex Mono',monospace;
  letter-spacing:.02em;
}
img{max-width:100%;display:block;}

/* ---------- Layout shell ---------- */
.shell{
  display:grid;
  grid-template-columns: 260px 1fr;
  min-height:100vh;
}
@media (max-width:900px){
  .shell{grid-template-columns:1fr;}
}

/* ---------- Sidebar nav ---------- */
.sidenav{
  background:var(--teal-deep);
  color:var(--sand);
  padding:2rem 1.6rem;
  position:sticky;
  top:0;
  height:100vh;
  overflow-y:auto;
}
.sidenav .brand{
  font-family:'Zilla Slab',serif;
  font-weight:700;
  font-size:1.25rem;
  color:var(--white);
  margin-bottom:.15rem;
}
.sidenav .brand-sub{
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--teal-light);
  margin-bottom:1.8rem;
  display:block;
}
.sidenav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:.15rem;
}
.sidenav a{
  display:flex;
  align-items:baseline;
  gap:.55rem;
  color:var(--sand);
  text-decoration:none;
  font-size:.92rem;
  padding:.5rem .5rem;
  border-radius:8px;
  opacity:.82;
  transition:background .15s, opacity .15s;
}
.sidenav a:hover, .sidenav a.active{
  background:rgba(255,255,255,0.08);
  opacity:1;
}
.sidenav a .idx{
  font-family:'IBM Plex Mono',monospace;
  font-size:.72rem;
  color:var(--terracotta);
  min-width:1.4em;
}
.sidenav .foot-note{
  margin-top:2rem;
  font-size:.78rem;
  color:var(--teal-light);
  border-top:1px solid rgba(255,255,255,0.14);
  padding-top:1rem;
}

/* mobile nav toggle */
.mobile-bar{
  display:none;
  position:sticky;
  top:0;
  z-index:50;
  background:var(--teal-deep);
  color:var(--white);
  padding:.9rem 1.2rem;
  align-items:center;
  justify-content:space-between;
  font-family:'Zilla Slab',serif;
  font-weight:700;
}
.mobile-bar button{
  background:none;
  border:1px solid rgba(255,255,255,0.4);
  color:var(--white);
  border-radius:8px;
  padding:.4rem .7rem;
  font-family:'Work Sans',sans-serif;
  font-size:.85rem;
}
@media (max-width:900px){
  .mobile-bar{display:flex;}
  .sidenav{
    position:static;
    height:auto;
    display:none;
  }
  .sidenav.open{display:block;}
}

/* ---------- Main content ---------- */
main{min-width:0;}

.hero{
  background:
    radial-gradient(circle at 85% 15%, rgba(79,154,163,0.35), transparent 55%),
    linear-gradient(160deg, var(--teal-deep), #0d2a2e 75%);
  color:var(--sand);
  padding:5.5rem 3rem 4.5rem;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  right:-60px; bottom:-90px;
  width:320px; height:320px;
  border:1.5px solid rgba(232,223,199,0.18);
  border-radius:50%;
}
.hero .eyebrow{
  font-family:'IBM Plex Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.76rem;
  color:var(--terracotta);
  margin-bottom:1rem;
}
.hero h1{
  color:var(--white);
  font-size:clamp(2.6rem,6vw,4.4rem);
  font-weight:700;
  letter-spacing:-.01em;
}
.hero .lede{
  max-width:36em;
  font-size:1.12rem;
  color:var(--sand);
  opacity:.92;
}
.factrow{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin-top:2.2rem;
}
.fact{
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(232,223,199,0.25);
  border-radius:10px;
  padding:.7rem 1.1rem;
}
.fact .label{
  display:block;
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--teal-light);
  margin-bottom:.2rem;
}
.fact .value{
  font-family:'IBM Plex Mono',monospace;
  font-weight:600;
  color:var(--white);
  font-size:1rem;
}

section{
  padding:4rem 3rem;
  border-bottom:1px solid var(--line);
}
@media (max-width:640px){
  section{padding:3rem 1.3rem;}
  .hero{padding:3.5rem 1.3rem 3rem;}
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1.5rem;
  flex-wrap:wrap;
  margin-bottom:2.2rem;
}
.section-head .eyebrow{
  font-family:'IBM Plex Mono',monospace;
  text-transform:uppercase;
  font-size:.74rem;
  letter-spacing:.14em;
  margin-bottom:.4rem;
  display:block;
}
.section-head h2{font-size:clamp(1.7rem,3.2vw,2.35rem);}
.section-intro{
  max-width:42em;
  color:var(--ink-soft);
  font-size:1.02rem;
}

/* accent colors per section */
#cesta .eyebrow, #cesta .stepnum{color:var(--teal);}
#technika .eyebrow{color:var(--terracotta);}
#odpad .eyebrow{color:var(--olive);}
#drobnosti .eyebrow{color:var(--terracotta);}
#nakupy .eyebrow{color:var(--teal);}
#plaze .eyebrow{color:var(--teal);}
#restaurace .eyebrow{color:var(--terracotta);}
#vylety .eyebrow{color:var(--olive);}

/* ---------- Arrival timeline (signature element) ---------- */
.timeline{
  position:relative;
  max-width:56em;
}
.timeline::before{
  content:"";
  position:absolute;
  left:23px;
  top:10px;
  bottom:10px;
  width:2px;
  background-image: linear-gradient(var(--terracotta) 60%, transparent 0%);
  background-size: 2px 12px;
  background-repeat: repeat-y;
  opacity:.55;
}
.step{
  position:relative;
  padding-left:64px;
  margin-bottom:3rem;
}
.step:last-child{margin-bottom:0;}
.step .stepnum{
  position:absolute;
  left:0; top:0;
  width:48px; height:48px;
  border-radius:50%;
  background:var(--paper);
  border:2px solid var(--terracotta);
  color:var(--terracotta-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'IBM Plex Mono',monospace;
  font-weight:600;
  font-size:1.05rem;
  color:var(--terracotta);
  z-index:2;
}
.step h3{font-size:1.28rem;margin-bottom:.5rem;}
.step p{color:var(--ink-soft);}
.step .photo{
  margin-top:1rem;
  max-width:380px;
}
.step.final{padding-bottom:0;}
.step.final p{
  font-family:'Zilla Slab',serif;
  font-style:italic;
  font-size:1.2rem;
  color:var(--teal-deep);
}

/* ---------- Photo cards ---------- */
.photo{
  background:var(--white);
  border-radius:10px;
  padding:.5rem .5rem .9rem;
  box-shadow:var(--shadow);
  transform:rotate(-0.6deg);
  cursor:zoom-in;
}
.photo:nth-of-type(even){transform:rotate(0.6deg);}
.photo img{
  border-radius:6px;
  width:100%;
}
.photo .cap{
  font-size:.82rem;
  color:var(--ink-soft);
  padding:.55rem .35rem .1rem;
}

/* ---------- Utility / tech cards ---------- */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:1.6rem;
}
.card{
  background:var(--paper);
  border:1px solid var(--sand-deep);
  border-radius:var(--radius);
  padding:1.5rem 1.5rem 1.7rem;
}
.card h3{font-size:1.12rem;margin-bottom:.55rem;display:flex;align-items:center;gap:.5rem;}
.card p{color:var(--ink-soft);font-size:.96rem;margin-bottom:.9rem;}
.card .photo{margin-top:.8rem;}
.card ul{padding-left:1.1rem;margin:0 0 .9rem;color:var(--ink-soft);font-size:.96rem;}
.card ul li{margin-bottom:.35rem;}

.icon{
  width:20px;height:20px;
  flex-shrink:0;
  color:var(--teal);
}
#technika .icon{color:var(--terracotta);}
#odpad .icon{color:var(--olive);}

.callout{
  background:var(--terracotta-soft);
  border-left:4px solid var(--terracotta);
  border-radius:0 8px 8px 0;
  padding:1rem 1.2rem;
  font-size:.95rem;
  color:#5a2c15;
  margin:1rem 0;
}

/* ---------- Two column media block ---------- */
.media-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1.6rem;
  align-items:start;
  margin-top:1rem;
}
@media (max-width:700px){
  .media-row{grid-template-columns:1fr;}
}

/* ---------- Beach / restaurant cards ---------- */
.place-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:1.5rem;
}
.place{
  background:var(--paper);
  border:1px solid var(--sand-deep);
  border-radius:var(--radius);
  padding:1.5rem;
  position:relative;
  display:flex;
  flex-direction:column;
}
.place.top::before{
  content:"TOP TIP";
  position:absolute;
  top:-11px; right:16px;
  background:var(--terracotta);
  color:var(--white);
  font-family:'IBM Plex Mono',monospace;
  font-size:.66rem;
  letter-spacing:.1em;
  padding:.28rem .6rem;
  border-radius:20px;
}
.place h3{font-size:1.14rem;margin-bottom:.6rem;}
.place ul{padding-left:1.1rem;margin:0 0 1rem;color:var(--ink-soft);font-size:.94rem;flex:1;}
.place ul li{margin-bottom:.4rem;}
.place .quote{
  font-style:italic;
  color:var(--teal-deep);
  font-size:.9rem;
  border-left:3px solid var(--sand-deep);
  padding-left:.7rem;
  margin:0 0 1rem;
}
.linkrow{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:auto;}
.btn{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-size:.84rem;
  font-weight:600;
  text-decoration:none;
  padding:.5rem .85rem;
  border-radius:8px;
  background:var(--teal-deep);
  color:var(--white) !important;
}
.btn.secondary{
  background:transparent;
  color:var(--teal-deep) !important;
  border:1px solid var(--teal-deep);
}
#restaurace .btn{background:var(--terracotta);}
#restaurace .btn.secondary{
  background:transparent;
  color:var(--terracotta) !important;
  border-color:var(--terracotta);
}
#vylety .btn{background:var(--olive);}
#vylety .btn.secondary{
  background:transparent;
  color:var(--olive) !important;
  border-color:var(--olive);
}

/* ---------- Footer ---------- */
footer{
  background:var(--teal-deep);
  color:var(--sand);
  padding:3.5rem 3rem;
  text-align:center;
}
footer .sign{
  font-family:'Zilla Slab',serif;
  font-style:italic;
  font-size:1.3rem;
  color:var(--white);
  margin-top:.6rem;
}
footer p{color:var(--sand);opacity:.85;max-width:34em;margin:0 auto 0;}

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed;inset:0;
  background:rgba(12,30,33,0.92);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem;
  z-index:200;
}
.lightbox[hidden]{display:none;}
.lightbox img{
  max-width:min(90vw,900px);
  max-height:88vh;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
}
.lightbox button{
  position:absolute;
  top:1.2rem; right:1.6rem;
  background:none;
  border:1px solid rgba(255,255,255,0.5);
  color:var(--white);
  border-radius:50%;
  width:40px;height:40px;
  font-size:1.1rem;
  cursor:pointer;
}
