@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  background-color: #0e0d0b;

}


::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #0e0d0b;
}

::-webkit-scrollbar-thumb {
  background: #c9a84c;
}


/*********/
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pozadina {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0e0d0b;
  background-position: center;
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(72, 70, 70, 0.365) 45%, rgba(0, 0, 0, 0.582));
}

.nav {
  position: relative;
  z-index: 21;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-right: 40px;
  padding-bottom: 14px;
  padding-left: 40px;
}

.nav-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.nav-linkovi {
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #f2ede3;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 12px;
  padding-right: 12px;
}

.nav a:hover {
  color: #c9a84c;
}

.uvod {
  position: relative;
  z-index: 21;
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-top: 0;
  padding-right: 80px;
  padding-left: 80px;
  max-width: 850px;
  padding-bottom: 0;
}

.uvod h1 {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 96px;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1;
  color: #c9a84c;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.uvod p {
  margin-top: 25px;
  font-size: 20px;
  opacity: 0.75;
  letter-spacing: 3px;
  color: #f2ede3;

}


/****************/


.djela {
  background-color: #1a1814;
  padding-top: 83px;
  box-shadow: inset 0 120px 120px -20px #0e0d0b;
}

.djela h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 60px;
  letter-spacing: 6px;
  margin-bottom: 75px;
  text-transform: uppercase;
  color: #c9a84c;
  text-align: center;
  opacity: 0.8;


}

.djela2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.okvir {
  position: relative;
  height: 400px;
  display: flex;
  text-decoration: none;
  overflow: hidden;
  background: #3d3830;
}

.djelo-pozadina {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: opacity 0.5s ease, transform 0.6s ease;
}



.drcl {
  background-image: url('slike/bg.webp');
  background-color: #2a2018;
}

.ilustr {
  background-color: #1a2028;
  background-image: url('slike/shin.avif');
}

.ost {
  background-color: #201a28;
  background-image: url('slike/climber3.png');
}

.okvir:hover .djelo-pozadina {
  opacity: 0.65;
}


.djelo-naziv {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.djelo-naziv::before {
  content: '';
  opacity: 0;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 13, 11, 0) 0%, rgba(14, 13, 11, 0.85) 75%);
  transform: translate3d(0, 50%, 0);
  transition: opacity 0.35s, transform 0.35s;
}

.okvir:hover .djelo-naziv::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.djelo-naziv h3 {
  position: relative;
  z-index: 1;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 55px;
  letter-spacing: 16px;
  text-transform: uppercase;
  color: #f2ede3;
  transition: transform 0.35s, color 0.25s;
}

.okvir:hover .djelo-naziv h3 {
  color: #c9a84c;
  transform: translate3d(0, -40px, 0);
}


/***************/
.about {
  position: relative;
  padding-bottom: 60px;
  padding-left: 80px;
  padding-top: 60px;
  padding-right: 80px;
  background-color: #f2ede3;
  overflow: hidden;
}

.about::before {
  content: '';
  z-index: 0;
  position: absolute;
  background-image: url('slike/red3.png');
  background-size: cover;
  background-position: center;
  rotate: calc(180);
  inset: 0;

}

.cloud {
  position: absolute;
  background: url('slike/red2.png') no-repeat center;
  height: 100%;
  top: 0;
  width: 100%;
  background-size: auto 100%;
  animation: cloudMove 39s linear infinite;
  rotate: calc(90deg);
  z-index: 1;
}

.cloud-slow {
  top: 0;
  position: absolute;
  background: url('slike/red2.png') no-repeat center;
  width: 100%;
  height: 100%;
  background-size: auto 100%;
  animation: cloudMoveSlow 34s linear infinite;
  rotate: calc(90deg);
  z-index: 1;
}

.cloud-brz {
  top: 0;
  position: absolute;
  background: url('slike/red2.png') no-repeat center;
  width: 100%;
  height: 100%;
  background-size: auto 100%;
  animation: cloudMoveFast 29s linear infinite;
  rotate: calc(90deg);
  z-index: 1;
}




@keyframes cloudMove {
  0% {
    left: -500px;
  }

  100% {
    left: 100%;
  }
}

@keyframes cloudMoveSlow {
  0% {
    left: -400px;
  }

  100% {
    left: 100%;
  }
}

@keyframes cloudMoveFast {
  0% {
    right: -700px;
  }

  100% {
    right: 100%;
  }
}




.about h2,
.aboutin {
  position: relative;
  z-index: 1;
}

.about h2 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
  text-align: left;
  line-height: 2;
  margin-bottom: 16px;
}


.about-podnaslov {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  position: relative;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.55);
  z-index: 1;
  line-height: 1.7;
  font-size: 20px;
  margin-bottom: 50px;
  padding-left: 2px;
  border-left: 2px solid rgba(120, 20, 20, 0.5);
  padding-left: 20px;

}

.aboutin {
  max-width: 1200px;

  margin: 0 auto;
  display: grid;
  gap: 50px;
  align-items: start;
  grid-template-columns: 3fr 2fr;
}

.abouttekst {
  background: rgba(10, 9, 7, 0.55);
  padding: 40px;
}


.abouttekst p {
  line-height: 1.55;
  font-size: 19px;
  color: #fff;
  margin-bottom: 24px;
}

.tablica {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}


.tabtekst h3 {
  font-family: 'Cinzel', serif;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 22px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #c9a84c;
}

.tabtekst p {
  font-size: 17px;
  line-height: 1.75;
  color: #fff;
}

.autor {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.autor img {
  display: block;
  width: 100%;
  height: 460px;
  filter: grayscale(20%);
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(201, 168, 76, 0.3);
}


/**************/

.social {
  background-color: #1a1814;
  padding-top: 60px;
  padding-right: 80px;
  padding-bottom: 60px;
  padding-left: 80px;
}

.socrow {
  max-width: 900px;
margin: 0 auto;
  display: flex;
  gap: 2px;
}

.link {
  flex-grow: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 40px;
  padding-right: 20px;
  padding-bottom: 40px;
  padding-left: 20px;
  text-decoration: none;
  background: #0e0d0b;
  overflow: hidden;
}

.link::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  left: 16px;
  border: 1px solid #c9a84c;
  box-shadow: 0 0 0 16px rgba(201, 168, 76, 0.05);
  opacity: 0;
  transform: scale3d(1.35, 1.35, 1);
  transition: opacity 0.35s, transform 0.35s;
  z-index: 2;
  pointer-events: none;
}

.link:hover::before {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}

.link:hover img {
  opacity: 0.5;
}

.linkbg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}


.linkbg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.web .linkbg {
  background-image: url('slike/DRCL.jpg');
}

.insta .linkbg {
  background-image: url('slike/drcl2.jpg');
}

.x .linkbg {
  background-image: url('slike/climber.webp');
}

.link:hover .linkbg {
  opacity: 1;

}

.link img,
.link span {
  position: relative;
  z-index: 1;

}


.link img {
  width: 32px;
  height: 32px;
  object-fit: contain;

}


.social-name {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 4px;

  text-transform: uppercase;
  color: #c9a84c;
}

.social-handle {
  font-size: 13px;
  color: rgba(242, 237, 227, 0.5);
}


/*****************/

.footer {
  text-align: center;
  padding: 28px;
  background-color: #1a1814;

  color: rgba(242, 237, 227, 0.874);
  font-size: 13px;
  letter-spacing: 2px;
  border-top: 1px solid #3d3830;
}





/*BTT*/



#button {
  display: flex;
  width: 100px;
  height: 100px;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 67;

}


#button img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  rotate: calc(180deg);
}


#button:hover {
  cursor: pointer;
  opacity: 0.7;
}


#button.show {
  opacity: 1;
  visibility: visible;
}



/**********/

@media (max-width: 900px) {
  .uvod h1 {
    font-size: 68px;
  }


  .uvod {
    padding-top: 0;
    padding-right: 40px;
    padding-bottom: 60px;
    padding-left: 40px;

  }


  .djela {
    padding-top: 60px;
    padding-right: 30px;
    padding-bottom: 0;
    padding-left: 30px;

  }

  .about {
    padding-top: 70px;
    padding-right: 30px;
    padding-bottom: 70px;
    padding-left: 30px;

  }

  .about h2 {
    color: #ad0b0c;

  }
.djelo-naziv h3 {
  font-size: 42px;
}
  .aboutin {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .autor img {
    height: 400px;
  }

  .tablica {
    gap: 30px;
  }

  .social {
    padding-top: 40px;
    padding-right: 30px;
    padding-bottom: 40px;
    padding-left: 30px;
  }
  
}

@media (max-width: 600px) {
  .uvod h1 {
    font-size: 48px;
    letter-spacing: 2px;
  }

  .uvod {
    padding-top: 0;
    padding-bottom: 50px;
    padding-left: 24px;
    padding-right: 24px;

  }

  .djela2 {
    flex-direction: column;
    height: auto;
  }

  .tablica {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .socrow {
    flex-direction: column;
    gap: 2px;
  }

  .djelo-naziv h3 {
 
  font-size: 32px;
}

.about h2 {
    color: #ad0b0c;
    
  }
}