* { box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html, body { 
    background:#fff; 
    color:#0b0b0b; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: "Urbanist", sans-serif; 
}

/* Back strelica */
.back-home{
  position: fixed; 
  top: 16px; 
  right: 16px;
  width: 44px; 
  height: 44px; 
  display: grid; 
  place-items: center;
  background: rgba(255,255,255,0.75); 
  backdrop-filter: blur(6px);
  border-radius: 999px; 
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
  color: #111; 
  text-decoration: none; 
  z-index: 120;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.back-home:hover{ 
    transform: translateY(-2px); 
    box-shadow: 0 12px 28px rgba(0,0,0,.18); 
    background:#fff; 
}

.back-home:active{ 
    transform: translateY(0); 
}

.material-symbols-rounded{
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  font-size: 15px; line-height: 1;
}

/* Intro */
.Intro{
  position: fixed; 
  inset: 0; 
  background:#fff; 
  z-index: 9999;
  display: grid; 
  place-items: center;
}

.Intro .letters{ 
    position: relative; 
    width: 120px; 
    height: 120px; 
}

.Intro .letter{
  position:absolute; 
  top:50%; 
  transform:translateY(-50%);
  font-family:"Urbanist", sans-serif; 
  font-weight:300; 
  font-size:24px; 
  color:#111; opacity:0;
}

.Intro .letter.m{ 
    left:20px; 
}

.Intro .letter.g{ 
    right:20px; 
}

.Intro.fadeout{ 
    transition: opacity 500ms ease, visibility 500ms ease; 
    opacity:0; 
    visibility:hidden; 
}

/* Viewport1 */

.lang-switch {
  position: fixed;
  top: 16px;
  right: 70px; 
  display: flex;
  gap: 10px;
  z-index: 130;
}

.lang-switch .lang-btn {
  border: 1px solid rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.lang-switch .lang-btn:hover { 
  transform: translateY(-1px); 
}


.lang-switch .lang-btn.is-active { 
  border-color: #111; 
  font-weight: 600; 
}


.hero{
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 56px 40px 72px;
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 28px;
}

.hero-title{
  justify-self: start; 
  font-family: "Outfit", sans-serif; 
  font-weight: 400;
  font-size: 24px; 
  letter-spacing: 0.01em; 
  line-height: 1.05;
  display: flex; 
  gap: 10px; 
  align-items: baseline;
}

.hero-title .divider{ 
    opacity:100; 
    font-weight:300; 
}

/* Slideshow */
.slideshow{
  position: relative; 
  width: min(1024px, 100%);
  margin: 6px auto 0;
  aspect-ratio: 16 / 9; 
  background: #e8eaed; 
  border-radius: 14px; 
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.slideshow .slide{
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  opacity: 0; 
  filter: blur(4px); 
  transform: scale(1.02);
  transition: opacity 900ms ease, filter 900ms ease, transform 900ms ease;
  pointer-events: none;
}

.slideshow .slide.is-active{
  opacity: 1; 
  filter: blur(0); 
  animation: kburns 3600ms ease-out forwards;
}

@keyframes kburns{ from { 
    transform: scale(1.02); 
} to { 
    transform: scale(1.06); 
} 
}


.details-button{
  justify-self: center; 
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  font-family: "Outfit", sans-serif; 
  text-decoration: none; 
  color:#0b0b0b;
  border-radius: 999px; 
  padding: 10px 14px;
  background: rgba(255,255,255,0.8); 
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.details-button:hover{ 
    transform: translateY(-2px); 
    box-shadow:0 12px 28px rgba(0,0,0,.16); 
    background:#fff; 
}

.details-button:active{ 
    transform: translateY(0); 
}

/* Responsive*/
@media (max-width: 990px){
  .hero-title{ 
    font-size:22px; 
}

  .details-button{ 
    font-size:14px; 
    padding: 8px 12px; 
}

  .material-symbols-rounded{ 
    font-size:20px; 
    font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 20; 
}
  .Intro .letter{ 
    font-size:22px; 
}
}

@media (max-width: 745px){
  .hero-title{ 
    font-size:20px; 
}

  .details-button{ 
    font-size:13px; 
    padding: 7px 11px; 
}

  .material-symbols-rounded{ 
    font-size:18px; 
    font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 18; 
}

  .Intro .letter{ 
    font-size:20px; 
}
}

@media (max-width: 560px){
  .hero-title{ 
    font-size:18px; 
}

  .details-button{ 
    font-size:12px; 
    padding: 6px 10px; 
}

  .material-symbols-rounded{ 
    font-size:16px; 
    font-variation-settings:'FILL' 0,'wght' 350,'GRAD' 0,'opsz' 16; 
}

  .Intro .letter{ 
    font-size:18px; 
}
}

@media (max-width: 400px){
  .hero-title{ 
    font-size:14px; 
}

  .details-button{ 
    font-size:11px; 
    padding: 5px 9px; 
}

  .material-symbols-rounded{ 
    font-size:14px; 
    font-variation-settings:'FILL' 0,'wght' 300,'GRAD' 0,'opsz' 14; 
}

  .Intro .letter{ 
    font-size:16px; 
}
}

@media (max-width: 350px){
  .hero-title{ 
    font-size:12px; 
}
  .details-button{ 
    font-size:11px; 
    padding: 5px 9px; 
}
  .material-symbols-rounded{ 
    font-size:12px; 
    font-variation-settings:'FILL' 0,'wght' 300,'GRAD' 0,'opsz' 14; 
}

  .Intro .letter{ 
    font-size:14px; 
}
}

/*  Viewport 2  */
.description{
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 40px 72px;
  display: grid;
  place-items: center;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.description p{
  max-width: 1000px;
  width: 100%;
  text-align: left;     
  margin: 0 auto;       
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
}

.description p::after{
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(0%);
  z-index: 2;
  pointer-events: none;
}

.description.show-curtain p{
  opacity: 1;
  filter: blur(0);
}

.description.show-curtain p::after{
  animation: curtainDown 1.2s ease forwards;
}

@keyframes curtainDown{
  from { 
    transform: translateY(0%); 
  }
  to   { 
    transform: translateY(100%); 
  }
}

/* Responsive */
@media (max-width: 1030px){
  .description { 
    padding: 48px 32px 72px; 
  }
  .description p { 
    font-size: 18px; 
    line-height: 1.55; 
    max-width: 800px; 
  }
}

@media (max-width: 835px){
  .description { 
    padding: 40px 28px 60px; 
  }
  .description p { 
    font-size: 16px; 
    line-height: 1.5; 
    max-width: 680px; 
  }
}

@media (max-width: 750px){
  .description { 
    padding: 36px 24px 56px; 
  }
  .description p { 
    font-size: 14px; 
    line-height: 1.5; 
    max-width: 600px; 
  }
}

@media (max-width: 655px){
  .description { 
    padding: 32px 20px 52px; 
  }
  .description p{
    font-size: 14px; 
    line-height: 1.6;
    white-space: normal; 
    text-wrap: pretty;
    hyphens: none; 
    max-width: 58ch;
    word-break: normal; 
    overflow-wrap: break-word;
  }
}

@media (max-width: 400px){
  .description { 
    padding: 28px 16px 44px; 
  }
  .description p{
    font-size: 13px; 
    line-height: 1.6;
    width: min(58ch, 92vw); 
    margin: 0 auto;
    white-space: normal;
    text-wrap: balance;
    hyphens: none; 
    word-break: normal; 
    overflow-wrap: break-word;
  }
}

/* Viewport 3  */
.video-viewport{
  width: 100%;
  padding:72px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.video-wrap{
  position: relative;
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
}
.video-viewport__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.50);
  display: block;
}

/* Sound dugme (gore desno) */
#viewport3 .sound-toggle{
  position: absolute;
  top: 12px; 
  right: 12px;
  z-index: 3;
  width: 44px; 
  height: 44px;
  display: grid; 
  place-items: center;
  border: 0; 
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

#viewport3 .sound-toggle:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.26);
  background:#fff;
}

#viewport3 .sound-toggle .icon{ 
    width: 20px; 
    height: 20px; 
    color:#111; 
}

#viewport3 .sound-toggle .icon-on{ 
    display: none; 
}

#viewport3 .sound-toggle.is-on .icon-off{ 
    display: none; 
}

#viewport3 .sound-toggle.is-on .icon-on{ 
    display: block; 
}

/* Responsive */
@media (max-width: 745px){
  .video-viewport{ 
    padding: 28px 0; 
}

  .video-wrap{ 
    width: 94vw; 
}

  .video-viewport__video{ 
    border-radius: 10px; 
    box-shadow: 0 6px 22px rgba(0,0,0,.40); 
}
}

@media (max-width: 480px){
  .video-viewport{ 
    padding: 22px 0; 
}

  .video-wrap{ 
    width: 96vw; 
}

  .video-viewport__video{ 
    border-radius: 8px; 
    box-shadow: 0 4px 16px rgba(0,0,0,.35); 
}
}


/*Selekcija teksta*/
::selection {
  background:#68392a;
  color: #f4eee0;
}
::-moz-selection {
  background: #68392a;
  color: #f4eee0;
}
