/* Pozadinska slika je fiksirana iza sadržaja, da ostane lepo iscrtana i kad se stranica skroluje */
body.page-landing {
  min-height: 100vh;
  min-height: 100dvh;
}

body.page-landing::before {
  display: none
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../img/elada-virtuelna-kafana-hero.webp") center / cover no-repeat;
}

/*
@media (max-width: 768px) {
  .landing-bg {
    background-image: url("../img/elada-virtuelna-kafana-hero-small.webp")
  }
}
*/

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 20px 16px 40px;
}

/* prvi ekran: logo gore, kartica u sredini slobodnog prostora */
.landing-first {
  width: 100%;
  min-height: calc(100vh - 60px);
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-logo {
  display: block;
  line-height: 0;
  padding: 12px 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  animation: logo-zoom-in 2s ease-out both;
}

@keyframes logo-zoom-in {
  from {
    transform: scale(.6);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-logo {
    animation: none;
  }
}

.landing-logo img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto
}

.landing-card {
  width: 100%;
  max-width: 420px;
  padding: 28px 22px;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  background: rgba(20, 88, 122, .35);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}

.landing-first .landing-card {
  margin: auto 0;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .landing-card {
    background: rgba(20, 88, 122, .78)
  }
}

.landing-title {
  margin: 0;
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  line-height: 1.15;
}

.landing-tagline {
  margin: 6px 0 18px;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}

.landing-lead {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
}

.landing-cta {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  background: #fff;
  color: var(--pd);
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .12s, filter .12s;
}

.landing-cta:hover {
  filter: brightness(.95)
}

.landing-cta:active {
  transform: scale(.97)
}

/* drugo dugme: beli rub na staklenoj kartici (dobar kontrast na slici) */
.landing-cta-alt {
  background: transparent;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  border: 2px solid rgba(255, 255, 255, .7);
  box-shadow: none;
}

.landing-cta-alt:hover {
  background: rgba(255, 255, 255, .15);
  filter: none;
}

/* drugi red: dva manja dugmeta u istoj liniji, ispod glavnog */
.landing-actions-secondary {
  flex-wrap: nowrap;
  margin-top: 2rem;
  margin-left: 24px;
  margin-right: 24px;
  gap: 40px;
}

.landing-actions-secondary .landing-cta {
  flex: 1 1 0;
  padding: 12px 16px;
  font-size: .95rem;
  text-align: center;
}

.landing-note {
  margin: .9rem 0 0;
  font-size: .85rem;
  opacity: .75;
}

.landing-more {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: .95rem;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .9;
}

.landing-more:hover {
  opacity: 1
}

/* "Zašto Elada?" */
.landing-about {
  text-align: left;
}

.landing-about h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  text-align: center;
}

.landing-about p {
  margin: 0 0 14px;
  line-height: 1.6;
}

.landing-about .landing-actions {
  margin-top: 20px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}