@charset "UTF-8";

@font-face {
	font-family: Enw;
	src: url(fontovi/enwallowify/Enwallowify-Regular.ttf);
}


@font-face {
	font-family: Fin;
	src: url(fontovi/finlikless/Finlikless-Regular.ttf);
}


* {
	margin: 0;
	padding: 0;
  overflow-x: hidden;
}

body {
	font-family: Enw;
    background-color: #111111;
}


header a {
  text-decoration: none;
  color: white;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

header a:hover {
  color: #E43A56; 
}

header{
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  padding: 0px 20px;
  border-top: 1px solid #E43A56;
  border-bottom: 1px solid #707070;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(17, 17, 17, 0.9);
  height: 7vh;
  min-height: 50px;
  overflow:visible;
  z-index: 100; 
  backdrop-filter: blur(4px); 

}

#links{
    display: flex;                
    gap: 25px;   
    margin-right: 50px;       
    align-items: center;          
}

#links nav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;                    
}

#menu-button{
    display: none;
}

.menu a {
  display: block;
  color: #E43A56;
  font-size: 40px;
  font-family: Fin;
}

.menu {
    position: absolute;
    top: 60px;
    right: 100px;
    background: #111111;
    z-index: 20;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    display: flex;
    transition: 0.5s ease-in-out;
}


.square {
    width: max-content;             
    background-color: #111111;
    border: 1px solid #E43A56;
    border-radius: 15px 0 15px 0;
    display: flex;
    align-items: center;
    height: fit-content;
    overflow: hidden;
    justify-content: center;
    transition: width 0.8s ease;
}

.square input {
    width: 100%;
    display: flex;
    align-items: center;
}

.square .search {
    width: 0px;              /* pre klika */
    border: none;
    outline: none;
    background: transparent;
    color: white;
    padding-left: 5px;
    transition: width 0.8s ease;
    cursor: pointer;
}

.square:hover .search{
  width: 140px;
}


.square .search:focus {
    width: 140px;             /* proširena širina */
    cursor: text;
}

/* ICON lupa */
.search-icon{
  color: white;
  width: 25px;
  margin: 2px 7px;
}



.first-page {
    display: flex; 
    flex-direction: row-reverse;            
    color: white;
    justify-content: flex-start;
    position: relative;
    height: 93vh;
    min-height: 500px;
}


.first-page .hello {
    padding: 140px 80px;
    max-width: 1200px;  
    position:absolute;
    left: 0;

}

.hello h1  {
    font-family: Fin;
    padding-top: 20vh;   
    padding-bottom: 5vh;
    font-size: 9vw;
}

.hello h3{
  font-family: Fin;
  padding: 0 0 20px 30px;
  font-size: 2vw;  
}

.sub-title {
    font-family: Fin;
    padding: 0 0 20px 30px;
    font-size: 4.7vw;  
}

.naslovna h3{
    font-family: Fin;
    font-size: 30px;
}

.dugme{
    font-family: Fin;
    width: 148px;
    min-width: 148px;
    height: 48px;
    background-color: #E43A56;
    border-radius: 15px 0 15px 0;
    position: relative;
    left: 30vw;
    top: 70vh;
    border: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.dugme a {
  text-decoration: none;
}

.dugme p{
    color: #111111;
    box-sizing: border-box;
    display: inline;
    font-size: 1.7rem;
    
}

.dugme:hover{
  background: #111;
  border: #E43A56 2px solid;
}

.dugme:hover p{
  color:white;
}

img #rs{
    position: relative;
    
}



/* About me page */

.me{
    color: white;
    height: 85vh;
    display: flex;
    flex-direction: row;
    gap: 15vw;
    margin-right: 9vw;
    overflow:hidden
}



.me h1{
    margin: 30px 50px;
    font-size: 5vw;
    font-family: Fin;
}

.about-me-info{
    display: flex;
    flex-direction: column;
    width: 40%;
    min-width: 400px;
    min-height: 700px;
    gap: 1%;
    overflow: hidden;
}

.me #text{
    padding-bottom: 3vh;
}

.title{
    display:flex;
}

h1 span{
    color: #E43A56;
}

.me img{
    top:5%;
    left:-3%;
    position:relative;
    width:100%;
    height: auto;
    z-index: 1;
}

.about-me-text{
    line-height:35px;
    font-size: 1.3vw;
    padding:3vh;
    min-height: fit-content;
    border-top: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-top-color: #E43A56;
    border-bottom-color: #E43A56;
}

.my-photo{
    display: inline-block;
    margin-left:5vw;
    margin-top:10vh;
    position: relative;
    height: fit-content;
    width: fit-content;
    min-width: 200px;
    width: 550px;
}


.contact-about-me{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    line-height: 30px;
    margin-top: 5px;
    font-size: 1vw;
    min-height: fit-content;
}




/* Service */

.sub-section-title{
  color: white;
  margin-left: 5vw;
  font-family: Fin;
  font-size: 6vw;
  display: inline-block;
  padding: 5px;
  overflow: hidden;
}

.service-title-div{
  height: fit-content;
  min-height: fit-content;
}

.service{
    display: flex;
    flex-direction: column;
    height: fit-content;
    margin-top: 100px;
}


.icon-field a {
   text-decoration: none;
   color: #111111;
}

.icon-field {
  display: grid;
  min-height: fit-content;
  grid-template-columns: repeat(2, 1fr);
  gap: 10vh 0px; 
  align-items: center; 
  min-height: fit-content;
  margin: 5vh 5vw;
}
.icon-tab {
  font-weight: bold;
  font-size: 20px;
  background-color: #E43A56;
  padding: 4vw 3vw;
  border-radius: 16px 0;
  align-items: start;
  justify-content: start;
  transition: all 0.4s ease;
  width: 30vw;
  border: 2px solid transparent;
  min-height: fit-content;
}

.icon-tab img {
  width: 70px;
  height: auto;
  margin: 0 auto 1rem;
}

.icon-tab img:hover{
   filter: brightness(0) invert(1);
}


.icon-tab:hover {
  background-color: #111111;
  border: 2px solid #E43A56;
  color: white;
  padding: 4vw 3vw;
  border-radius: 16px 0;
  align-items: start;
  justify-content: start;
  width: 30vw;
}




/* RECENT WORK */


.work {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 
}

.work h1 {
  font-size: 6vw;
  font-family: Fin;
  color: white;
  display: block;
  padding-bottom: 60px;
}

.work h1 span {
  color: #e63946;
}


.work p {
  font-size: 1.5vw;
  color: white;
  overflow:hidden;
}

.work p::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #e63946;
  margin: 10px auto 0;
}

#photo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

#photo img {
  width: 40vw; 
  height: 60vh;
  object-fit: contain;
  filter: brightness(60%);
  transition: all 0.4s ease;
}

#photo img:hover {
  filter: brightness(100%);
  transform: scale(1.05);
}

.me,
.service,
.work {
  margin-top: 5vh;
  margin-bottom: 5vh;
}

/*ABOUT ME */
@media (max-width: 1024px) {
  .me {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 4vh;
    margin: 3vh 0;
  }

  .my-photo {
    order: 1;
    width: 65vw;
    margin: 0 auto;
  }

  .about-me-info {
    order: 2;
    width: 85%;
    text-align: center;
  }

  .about-me-text {
    font-size: 2.3vw;
    line-height: 1.5em; 
    padding: 2vh 4vw;
  }

  .contact-about-me {
    flex-direction: column;
    align-items: center;
    gap: 1.5vh;
    font-size: 2.3vw;
  }
}

@media (max-width: 700px) {
  .my-photo {
    width: 85vw;
  }

  .about-me-info {
    width: 95%;
  }

  .about-me-text {
    font-size: 3.8vw;
  }

  .me h1 {
    font-size: 7vw;
  }

  .contact-about-me p {
    font-size: 3.5vw;
  }
}

/* SERVICE */
@media (max-width: 900px) {
  .icon-field {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5vh;
  }

}

@media (max-width: 500px) {
  .icon-tab {
    width: 80vw;
    padding: 6vw 5vw;
  }

  .icon-tab img {
    width: 40px;
  }

  .icon-tab h2 {
    font-size: 5vw;
  }
}

/* RECENT WORK */
@media (max-width: 1100px) {
  #photo {
    flex-direction: column;
    align-items: center;
    gap: 3vh;
  }

  #photo img {
    width: 85vw;
    height: auto;
  }

  .work{
    display: flex;
    flex-direction: column; 
    align-items: center; 
    height: auto;
  }

  
  #photo {
    flex-direction: column;
    align-items: center;
    gap: 3vh;
  }

  #photo img {
    width: 85vw;
    height: auto;
  }

  .work h1 {
    font-size: 7vw;
    line-height: 1.1;
    overflow: visible;
    height: auto;
    margin: 0;
    padding-bottom: 30px;
  }

  .work p {
    font-size: 3vw;
  }
}


@media (max-width: 700px) {
  .me,
  .service,
  .work {
    margin-top: 3vh;
    margin-bottom: 3vh;
  }

  .work h1 {
    font-size: 7vw;

  .work p {
    font-size: 3vw;
  }
}
}






/* UI-UX DESIGN PAGE */

#ui-ux-body{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}


.video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  height: 100%;           
  box-sizing: border-box;
  overflow: hidden;
  padding-top: 10vh;
}


.video-section h1 {
  color: white;
  font-family: Fin;
  font-size: 6vw;
  margin-bottom: 30px;
  text-align: center;
  overflow: hidden;
}

.video-section span{
    color: #E43A56;
}


.video-wrapper {
  width: 70%;
  height: auto;
  padding: 30px;          
  border: 2px solid #E43A56;
  border-radius: 15px;
  box-sizing: border-box;
  overflow: hidden;
}


.video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;

}








/* UNREAL ENGINE */

#unreal-body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.unreal {
    display: flex;
    flex-direction: column;
    align-items: center;        
    justify-content: flex-start; 
    padding-top: 10vh;           
    gap: 30px;                   
    height: 100%;
    box-sizing: border-box;
    text-align: center;
}

.unreal h1 {
    font-family: Fin;
    font-size: 5vw;
    color: white;
    padding-bottom: 3vh;
}

.unreal h1 span {
    color: #E43A56;
}

/* linija ispod texta */
.unreal h1::after {
    content: "";
    display: block;
    width: 35vw; 
    height: 3px; 
    background-color: #E43A56; 
    margin: 10px auto 0; 
}

.unrela-video {
    width: 90%;
    max-width: 1200px;
}

.unrela-video video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}











/* Photography page */

.photos-section {
    display: flex;
    flex-direction: column;
    justify-content: center;   
    align-items: center;       
    min-height: 100vh;         
    padding-top: 9vh;      
    box-sizing: border-box;
}

.photos-section h1 {
    text-align: center;
    font-family: Fin;
    font-size: 6vw;
    color: white;
    padding-bottom: 5vh;
}

.photos-section h1 span {
    color: #E43A56;
}

/* kontejner za slike */
.photos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    width: 100%;
    overflow: visible; /* da se ne seku slike */
    box-sizing: border-box;
}

.photos img {
    width: 50vw;
    max-width: 700px;
    min-width: 250px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.photos img:hover {
    transform: translateY(-10px) scale(1.05);
}



/* Sekcija za ambientalne fotografije */
.ambiental-photos {
  padding-top: 5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
  gap: 100px;
  flex-wrap: nowrap;
  flex-direction: row;
}

.ambiental-photos h1{
  color: white;
  font-size: 5vw;
  font-family: Fin;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
}

/* Kontejner za slike */
.amb-photos {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
}


.amb-photos img {
  width: 40vw;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.amb-photos img:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .ambiental-photos {
    flex-direction: column;      
    gap: 40px;
  }

  .ambiental-photos h1 {
    writing-mode: horizontal-tb; /* tekst ide normalno */
    transform: none;             /* uklanja rotaciju */
    font-size: 10vw;
    order: -1;                   /* naslov ide na vrh */
  }

  .amb-photos img {
    width: 50vw;                 
    max-width: 100%;
  }
}





#carousel {
 
  text-align: center;
  font-size: 6vw;
  margin-bottom: 1vh;
  font-family: Fin;
  color: white;
}

#carousel span {
  color: #E43A56;
}

.carousel-container-css {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 3vh;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  width: 300%; /* 3 slike */
  height: 80vh;
  transition: transform 0.6s ease;
}

.slide {
  width: 33.3333%; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  height: 70vh;
  width: auto;
  border-radius: 15px;
  object-fit: cover;
}

input[type="radio"] {
  display: none;
}

/* Pomeri traku u zavisnosti od inputa */

#slide1:checked ~ .carousel-slides { transform: translateX(33.3333%); }
#slide2:checked ~ .carousel-slides { transform: translateX(0%); }
#slide3:checked ~ .carousel-slides { transform: translateX(-33.3333%); }


.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 2vh;
}

/* Navigacione tačkice */
.nav-dot {
  width: 14px;
  height: 14px;
  background: #aaa;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Aktivna tačkica */
#slide1:checked ~ .carousel-nav label[for="slide1"],
#slide2:checked ~ .carousel-nav label[for="slide2"],
#slide3:checked ~ .carousel-nav label[for="slide3"] {
  background: #E43A56;
}



/* LOGO DESIGN */



#first-picture {
  width: 100%;
  height: fit-content;
  overflow: hidden;
}

#first-picture img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* NASLOV + LOGO */
.logo-header{
  min-height: 40px;
}
.logo-header h1{
  display: block;
  min-height: 40px;
}
#logo {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  gap: 5vh;
}

#logo h1 {
  font-family: Fin;
  font-size: 7vw;
  color: white;
}


.logo-elem img {
  width: 80vw;
  height: auto;
}

/*COLOR SEKCIJA */
.color{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5vh;
}

.color h1{
  color: white;
  font-family: Fin;
  font-size: 7vw;
}

.color img{
  width: 80vw;
  height: auto;
}

.mockups-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.mockups-container h1 {
  color: white;
  font-family: Fin;
  font-size: 7vw;
  margin-bottom: 30px;
}

.mockup-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  width: 80%;
  height: 80vh;
  overflow: hidden;
}

.mockup-images img {
  opacity: 0.6;
  border-radius: 15px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  height: 60vh; 
  width: auto;
  object-fit: contain;
  cursor: pointer;
}


.mockup-images img:hover {
  opacity: 1;
  transform: scale(1.03);
}



@media (max-width: 1024px) {
  #logo h1 {
    font-size: 7vw;
  }
  
}








/* KONTAKT */

#contact-body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact{
    display: flex;
    flex-direction: column;
    color: white;
}

.contact h1 {
    margin-top: 130px;
    margin-left: 5vw;
    font-size: 100px;
	  font-family: Fin;
    border-bottom: 2px solid #E43A56;
    
}

.contact h3{
    margin-left: 5vw;
    padding-top: 20px;
}

.contact p{
    font-size: 2vw;
    margin-top: 150px;
}

p span {
    color: #E43A56;
}

.form-info{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

.contact-info{
    display: flex;
    flex-direction: column;
    margin-right: 10vw;
}

#contact-form{
    width: 40vw;
    margin-left: 5vw;
    margin-right: 4vw;
}

form{
    margin-top: 80px;
    margin-right: 5vw;
    
}

#contact-form input, textarea{
    padding: 15px 30px;
    background-color: #111111;
    border: solid 2px #E43A56;
    border-radius: 30px 0 30px 0;
    display: block;
    width: 100%;
    margin-top: 50px;
    padding-left:30px;  
    font-size: 18px;
    box-sizing: border-box;
    min-width: 200px;
    color: white;
}

#contact-form input{
    height: 10%;
}

#contact-form textarea{
    resize: none;
}


#contact-form textarea::placeholder{
    color: #E43A56;
}

#contact-form input::placeholder{
    color: #E43A56;
}

#contact-form input:focus,
textarea:focus {
  outline: none; /* uklanja standardni plavi okvir */
  border:2px solid white;
}

button{
    width: 15%;
    min-width: 40px;
    background-color: #E43A56;
    border: 2px solid #E43A56;
    border-radius: 30px 0 30px 0;
    color: black;
    font-weight: bold;
    font-size: 25px;
    text-transform: uppercase;
    display: block;
    justify-content: center;
    height: 5vh;
    margin-top: 2vh;
    overflow: hidden;
    
}

button:hover{
    width: 15%;
    background-color:#111111;
    border: 2px solid #E43A56;
    border-radius: 15px 0 15px 0;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    justify-content: center;
    height: 5vh;
}

.submit-button{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}


 /* POPUP KONTEJNER */
 
.popup {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); 
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background-color: #111;
  color: white;
  padding: 30px 60px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #E43A56;
  animation: fadeIn 0.4s ease; 
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}


/* TEKST UNUTAR POPUPA */

p#thank-you {
    font-family: Fin;
    font-size: 2.5vw;
    margin-top: 30px;
    margin-bottom: 20px;
}
#comment{
    font-size: 0.8vw;
}

/*DUGME OK */
.popup-content button {
  display: inline-block;
  background-color: #E43A56;
  border: none;
  color: white;
  font-size: 0.8vw;
  width: 5vw;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 120px;
}

.popup-content button:hover {
  background-color: #c12b44;
  transform: scale(1.05);
}

/* ANIMACIJA POPUP*/
@keyframes fadeIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}












/* FOOTER */



.footer {
    margin-top: 15vh;
    width: 100vw;
    border-top: 2px solid #E43A56;
    color: white; 
    display: flex;
    justify-content: space-between;
    position: relative;
}

.footer img[alt="logo"] {
    height: 8vh;
    margin: 55px 0 0 30px;
}



.footer-bg {
    position: absolute;
    width: 100%;
    height: 100%; /* pokriva tačno visinu footera */
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}

.contact-info {
    margin: 2vw; 
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5px; /* razmak između p tagova i social-insta */
}

#email-footer, #phone-footer {

    font-size: 110%;
    font-family: Enw;
   
}

#email-footer span,
#phone-footer span {
    color: #E43A56; 
    font-weight: bold;
}

.footer p {
    margin: 10px 0;
   
}

.social a img {
    width: 2vh;
    height: auto;
    object-fit: contain;
    margin: 15px 0 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 2px;
}

.social a {
  display: block;
  width: fit-content;
}

.social a img:hover {
    transform: scale(1.1);
}

.footer .social {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1;
    overflow: hidden;
}

/* smanjenje opaciteta pozadine */
.footer-bg {
  opacity: 1;
  transition: opacity 0.6s ease; 
}

@media (max-width: 1200px) {
  .footer-bg {
    opacity: 0.8;
   
  }
}

@media (max-width: 900px) {
  .footer-bg {
    opacity: 0.5;
    
  }
}

@media (max-width: 600px) {
  .footer-bg {
    opacity: 0.2;
   
  }
}

@media (max-width: 450px) {
  .footer-bg {
    opacity: 0;
    
  }
}


@media screen and (max-width: 1024px){
  .icon-field {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center; 
  margin: 5vh 5vw;
  gap: 0px
}

.icon-tab{
  height: 8vh;
  margin-bottom: 15px;
  width: 70vw;
}

.video-wrapper{
  width: 100vw;
}

#logo{
  height: auto;
  margin: 20vh 0
}

.color{
  height: auto;
  margin: 20vh 0
}

.mockups-container{
  flex-direction: column;
  height: auto;
}
}


@media (max-width: 1024px) {
  .mockup-images {
    flex-direction: column;
    height: auto;
  }

  .mockup-images img,
  .mockup-images img.main-mockup {
    height: auto;
    width: 80%;
  }

  /* Hamburger meni */
#menu-button{
    display: block;
    width: 50px;
    height: auto;
    margin:0;
    padding:3px;
    border-radius: 15px 0 15px 0;
}

#menu-button:hover{
    padding:5px;
    border-radius: 15px 0 15px 0;
    background:#E43A56
    
}

.square{
  display: none;
}

#links nav {
  display: none;
}

}





/* Scrolling */

html {
  scroll-behavior: smooth;
}

#about-me-section{
  scroll-margin-top: 30px;
  
}