
/* defaultni barvy ktere jsem zkopirovala z netu */
:root {
  --dark:       #060c0a;
  --deep:       #091210;
  --mid:        #10180b;
  --surface:    #0e1f19;
  --mist:       #122925;
  --swamp:      #15302c;
  --murk:       #183d37;
  --pale:       #f7f2b9;
  --ghost:      #8a9e6a;
  --foam:       #d4ddb8;
  --khaki:      #7a8a52;
  --gold:       #b89a3a;
  --amber:      #9a7e2a;
  --rust:       #28585a;
  --algae:      #205044;
  --slime:      #143e35;
  --ph-border:  rgba(154,126,42,0.35);
  --ph-text:    rgba(154,126,42,0.5);
  --ph-line:    rgba(154,126,42,0.06);
}
/* kdyz kliknu navigovaci menu nehopsa to k sekci */
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--pale);
  font-family: Montserrat Regular;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  
}


/* placeholder obrazku s pripravenym formatem obrazku, dala jsem to tam pred tvorbou obrazku */
.img-ph {
  position: relative;
  background: var(--deep);
  border: 1px dashed var(--ph-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  
}
.hra1 {
    background-image: url(https://doanova.soskolin.eu/maturita/web/images/divka2.png);
    background-size: cover;
}
.hra2 {
    background-image: url(https://doanova.soskolin.eu/maturita/web/images/vodnik.png);
    background-size: cover;
}
.hra3 {
    background-image: url(https://doanova.soskolin.eu/maturita/web/images/vesnice.png);
    background-size: cover;
}
.predprodej {
    background-image: url(/images/vesnice.png);
    background-size: cover;
}





/* menu*/
nav { 
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column; 
    align-items: flex-end;
    z-index: 100;
    
  }
  

  /* aby byla vertikalni */
  .nav-links {
    display: flex;
    flex-direction: column; 
    gap: 1.5rem;
    list-style: none;
    align-items: flex-end;
  }
  
  .nav-links a {
    font-family: Typeka;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--khaki);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s, color 0.3s;
  }
  .nav-links a.active {
    opacity: 1;
    color: var(--pale);
  }
  /* na hoveru zmena barvy */
  .nav-links a:hover { 
    opacity: 1; 
    color: var(--pale); 
  }
/* citace z basne a menu se po stredni obrazovce neobjevi */
  @media (max-width: 768px) {
    nav {
      display: none;
    }
    .erben-bg{
        display: none;
      }
  }
/* landing cast stylizace */
.hero {
    min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
  
    background-image: url('https://doanova.soskolin.eu/maturita/web/images/pexels-evelin-34155543.png');
    background-size: cover;       
    background-position: center;   
    background-repeat: no-repeat;
  }

.hero-bg-img .img-ph {
  width: 100%;
  height: 100%;
  border: none;
  background: #0a0f07;
}

.hero-bg-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 70%, rgba(42,62,20,0.6) 0%, transparent 55%),
      linear-gradient(180deg, rgba(8,12,6,0.5) 0%, rgba(8,12,6,0.2) 50%, rgba(8,12,6,0.88) 100%);
    z-index: 1;
  }


/* cast basne */
.erben-bg {
  position: absolute;
  top: 10%; right: 5%;
  font-family: Typeka;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.637);
  line-height: 1.8;
  text-align: right;
  pointer-events: none;
  z-index: 3;
  max-width: 280px;
}


.hero-content {
  position: relative;
  z-index: 4;
  max-width: 720px;
}

.hero-pre {
  font-family: 'Typeka';
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #6a7a3a;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-quote {
  font-family: P22 Declaration Pro;
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: 1.15;
  color: var(--foam);
  margin-bottom: 1.5rem;
  animation: flicker 14s infinite;
}

.hero-quote em { color: var(--gold); font-style: normal; }

.hero-sub {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 3rem;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pale);
  cursor: pointer;
  transition: opacity 0.3s;
  background: none;
  border: none;
  font-family: 'Typeka';
}

.hero-scroll:hover { opacity: 0.85; }

.scroll-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
  animation: sp 2.5s ease-in-out infinite;
}

@keyframes sp {
  0%,100% { width: 40px; opacity: 0.4; }
  50%      { width: 65px; opacity: 0.9; }
}

@keyframes flicker {
  0%,93%,100% { opacity: 1; }
  94%  { opacity: 0.82; }
  95%  { opacity: 1; }
  97%  { opacity: 0.88; }
  98%  { opacity: 1; }
}

.logo {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5; /* above everything */
  
    display: block;
  }
  
  .logo img {
    height: 60px; /* adjust size */
    width: auto;
  }
/* ── SECTIONS COMMON ── */
section { padding: 6rem 3rem; position: relative; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: Typeka;
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #6a7a3a;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.section-title {
  font-family: Montserrat Regular;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--foam);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(154,126,42,0.18),
    rgba(122,138,82,0.1),
    transparent
  );
}

/* ── NARRATIVE ── */
.narrative {
  background: linear-gradient(180deg, var(--dark) 0%, var(--deep) 50%, var(--dark) 100%);
}

.narrative-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.narrative-poem {
  font-family: Typeka;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 2;
  color: var(--foam);
  margin-bottom: 2.5rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(154,126,42,0.25);
}

.narrative-text { font-size: 1.05rem; color: var(--khaki); line-height: 1.9; }
.narrative-text strong { color: var(--pale); font-weight: 600; }
.narrative-text span {font-style: italic;}

.narrative-img .img-ph {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  background-image: url(https://doanova.soskolin.eu/maturita/web/images/divka.png);
  background-size: cover;
}



/* ── SCREENSHOTS ── */
.screens { background: var(--dark); }

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 2rem;
}

.screen-wrap { position: relative; }

.screen-wrap .img-ph { width: 100%; }

.screen-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem 1rem;
  
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(154,126,42,0.6);
  background: linear-gradient(to top, rgba(8,12,6,0.92), transparent);
  z-index: 2;
  pointer-events: none;
}

.screen-wrap.wide { grid-column: 1 / -1; }
.screen-wrap.wide .img-ph { aspect-ratio: 21 / 9; }
.screen-wrap:not(.wide) .img-ph { aspect-ratio: 16 / 9; }



/* ── PREORDER ── */
.preorder {
  background: var(--dark);
  text-align: center;
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}

.preorder-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.preorder-bg-img .img-ph {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--dark);
  opacity: 0.35;
}

.preorder-bg-img .img-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8,12,6,0.2) 0%, rgba(8,12,6,0.97) 65%);
  z-index: 2;
}

.preorder-content { position: relative; z-index: 3; }

.preorder-date {
  font-family: 'Montserrat Regular';
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #6a5a1a;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.preorder-title {
  font-family: Typeka;
  
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--foam);
  margin-bottom: 1rem;
}

.preorder-price {
  font-family: Montserrat Regular;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: block;
}

.preorder-price span {
  font-size: 1rem;
  color: #5a6a38;

}

.btn-preorder {
  display: inline-block;
  padding: 1rem 3rem;
  border: 1px solid rgba(154,126,42,0.35);
  color: var(--pale);
  font-family: 'Typeka';
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, color 0.4s;
  background: transparent;
}

.btn-preorder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(154,126,42,0.07);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.btn-preorder:hover { border-color: rgba(184,154,58,0.7); color: var(--foam); }
.btn-preorder:hover::before { transform: scaleX(1); }

.preorder-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #4a5a28;
  opacity: 0.8;
  font-style: italic;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(122,138,82,0.08);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}


.footer-label {
  font-family: 'Montserrat Regular';
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #6a5a1a;
  margin-bottom: 1rem;
  opacity: 0.8;
  
}
.footer-label {
    text-decoration: none;
}



.footer-copy {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid rgba(122,138,82,0.06);
  font-size: 0.72rem;
  color: rgba(74,90,40,0.45);
  letter-spacing: 0.1em;
}
