/* Global */
*{
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  /* background-color: #111; */
  color: #f5f5f5;
}

/* Font */
.sofia-regular {
    font-family: "Sofia", cursive;
    font-weight: 400;
    font-style: normal;
  }

  .lilita-one-regular {
    font-family: "Lilita One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }  

 .big-shoulders {
    font-family: 'Big Shoulders';
    font-weight: 400;
 } 

  .big-shoulders-stencil {
    font-family: 'Big Shoulders Stencil';
    font-weight: 900;
    font-size: 18px;
 } 
  
.white-txt{
    color: white;
}

.txt-glow-white{
    text-shadow:1px 1px 10px #fff, 1px 1px 10px #ccc;
}

/* end of of font class */


/* Header */
header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid #d4af37;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    height: 5vh;
}

.header-label strong {
  font-size: 1.5rem;
  color: #d4af37; /* gold */
}

.header-right {
  display: flex;
  gap: 20px;
}

.btn-header {
  padding: 10px 18px;
  color: #f5f5f5;
  font-weight: 700;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #d4af37; /* gold line hover */
  transition: width 0.3s ease;
}

.btn-header:hover::after {
  width: 100%;
}

.btn-header:hover {
  color: #d4af37; /* gold text hoover */
}

.hamburder{
  width: 20px;
  height: 20px;
  display: none;
}

.hamburder-svg{
    width: 20px;
  height: 20px;
  display: none;
}

.header-label{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.header-right {
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.header-right.is-hidden {
    opacity: 0;
    visibility: hidden;
    display: none;
}

section{

    width: 100%;
    height: 92vh;
    padding: 0px;
}

.section-grey{
    background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
    color: #d4af37;
    
}

.section-red {
  background: linear-gradient(135deg, #b22222, #8b0000, #5c0000);
  color: #fff;
 
}

.mha{
  min-height: fit-content;
}

.section-overview{
  display: flex;
  flex-direction: row;
}

.section-overview div{
  /* height: 50%; */
  width: 50%;
  padding: 10px;
  max-height: fit-content;
}

.section-overview-div-img {
  width: 30% !important;
  padding-top: 5% !important;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: fit-content;
}

#profil-img{
        border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
       transition: transform 0.4s ease;
       width: 80%;
       max-height: 500px;
       max-width: 500px;
}

#profil-img:hover{
    transform: scale(1.03);
}

.center-txt {
  font-size: 30px;
  width: 65% !important;
  text-align: justify;
  padding-right: 0px !important;
  padding-top: 7% !important;
  min-height: fit-content;
}

.btn-main {
  width: 300px;
  height: 50px;
  color: #2b2b2b;
  background: linear-gradient(135deg, #d4af37, #b8860b); 
  font-family: 'Big Shoulders', sans-serif;
  font-weight: 900;
  font-size: 24px;
  border: 2px solid #cc9e09;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-main:hover {
  color: #fff;
  background: linear-gradient(135deg, #8b0000, #5c0000); 
  border: 2px solid #4b0000;
  box-shadow: 0 8px 18px rgba(139, 0, 0, 0.6);
  transform: scale(1.05);
}

.btn-main-inverse {
  width: 400px;
  height: 50px;
  color: #fff;
  background: linear-gradient(135deg, #8b0000, #5c0000); 
  border: 2px solid #4b0000;
  font-family: 'Big Shoulders', sans-serif;
  font-weight: 900;
  font-size: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-main-inverse:hover {

    color: #2b2b2b;
    background: linear-gradient(135deg, #d4af37, #b8860b); 
  border: 2px solid #cc9e09;

  box-shadow: 0 8px 18px rgba(139, 0, 0, 0.6);
  transform: scale(1.05);
}

#cv {
  /* margin-left: 10px; */
  margin-top: 50px;
}

a{
  text-decoration: none;
  color: inherit;
}

.buttons-cont {
  margin-top: 40px;
  margin-left: 200px;
  display: flex;
  float: right;
  gap: 30px;
}

.ardown {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(0); 
  transition: filter 0.3s ease;
}

.btn-main:hover .ardown {
  filter: brightness(0) invert(1); 
}

.padding-experience{
 padding-top: 30px;
}

.expTitle {
  margin-left: 40px;
  font-size: 40px;
  text-decoration: underline;
  font-weight: 900;
  margin-bottom: 20px;
}

.experience-hub{
  margin-left: 40px;
  padding-top: 20px;
  margin-bottom: 20px;
  width: 90%;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

#exhubfrst001{
  margin-top: 60px;
}

.expImgComp{
  max-width: 100px;
  max-height: 100px;
  min-height: 100px;
  min-width: 100px;
      background-color: white;
    border: 2px solid #d4af37; 
    border-radius: 12px; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.expImgComp:hover {
      background-color: #fff8dc; 
    transform: scale(1.15);
    border-color: #b8860b; 
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.6);
}

#experiencesect{
  min-height: fit-content;
}

.underline-link{
  text-decoration: underline;
}

.skill-hub {
  display: flex;
  align-items: center;
  width: 33%;
  gap: 20px;
}

.group-of-two{
  width: 100%;
  display: flex;
  flex-direction: row;
}

.recomm_name{
  text-decoration: underline;
  font-size: xx-large;
  margin-bottom: 8px;
  color: #d4af37;
}

.recomm_title{
  text-decoration: underline;
  margin-bottom: 10px;
  
}

.recomm_date{
  text-decoration: dotted;
  margin-bottom: 7px;
}

.recomm_txt{
  margin-bottom: 7px;
}

.recomm_link{
   color: #d4af37;

}

.sml-pic{
  min-height: 102px;
  min-width: 98px;
}

/* RESPONSIVE DESIGN */

/* Za tablete i manje (max širina 1024px) */
@media (max-width: 1024px) {
  .section-overview {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    /* padding: 40px 20px; */
  }

  .section-overview div {
    width: 100% !important;
    padding: 0 !important;
  }

  .section-overview-div-img {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 !important;
  }

  #profil-img {
    max-width: 250px;
    width: 80%;
    margin-bottom: 20px;
  }

  #cv {
    margin: 20px 0 0 0;
    width: 250px;
  }

  /* .center-txt {
    max-width: 30% ;
    font-size: 20px;
    padding: 20px;
    padding-right: 0;
    
  } */

  .buttons-cont {
    margin: 40px auto 0 auto;
    justify-content: center;
    float: none;
    gap: 15px;
    flex-wrap: wrap;
  }

  .btn-main,
  .btn-main-inverse {
    width: 250px;
    font-size: 20px;
  }

  .main-text{
    font-size: 24px ;
    padding: 10px 20px 0 10px;
  }

  .buttons-cont{
    margin-bottom: 20px;
  }

}



/* Za mobilne uređaje (max širina 768px) */
@media (max-width: 768px) {

    header {
    flex-direction: column;
    text-align: center;
    min-height: fit-content;
  }

    .hamburder{
  width: 20px;
  height: 20px;
  display: block;
}

.hamburder-svg{
    width: 20px;
  height: 20px;
  display: block;
}

  .header-right {
    flex-direction: column;
    gap: 10px;
  }

  .center-txt {
    font-size: 18px;
    text-align: left;
    padding: 10px !important;
    max-height: fit-content !important;
    min-height: fit-content !important;
  }

  .justh{
    max-height: fit-content;
  }

  

  .buttons-cont {
    margin-top: 30px;
  }

  .pb-20{
    padding-bottom: 20px;
  }

  .expTitle{
    margin-left: 15px;
  }

  .btn-main,
  .btn-main-inverse {
    width: 200px;
    font-size: 18px;
  }

  #profil-img {
    max-width: 200px;
  }
  .eduh2{
    font-size: 20px;
  }
  .md-small{
    margin-bottom: 20px;
  }
}

@media (max-width: 700px){
  .group-of-two{
    flex-direction: column;
  }
  .experience-hub{
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .main-text{
    font-size: 20px ;
  }
  .header-label strong{
    font-size: 1.3rem;
  }
}

/* Za vrlo male ekrane (max širina 480px) */
@media (max-width: 480px) {
  .center-txt {
    font-size: 16px;
  }

  .btn-main,
  .btn-main-inverse {
    width: 180px;
    height: 45px;
    font-size: 16px;
  }
  .ardown{
    display: none;
  }
}

@media (max-width:400px) {
  .big-shoulders-stencil{
    font-size: 1rem !important;
    margin-bottom: 10px;
  }
  header{
    padding: 15px 30px;
  }
  .expImgComp{
    max-width: 80px;
    max-height: 80px;
        min-width: 80px;
    min-height: 80px;
  }
  .experience-hub{
    margin-left: 20px;
  }
}