/* Osnovni reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    line-height: 1.6;
    background-color: #2A0800;
    color: #333;
}

/* Kontejner za centriranje vsebine */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    background-color: #222526;
    color: #fff;
    padding: 2rem 0;
}

.headline-line{
    border-bottom: #ff9203 5px solid;
    width: 30%;
    display: block;
}

/* HERO */
.hero {
    color: #fff;
    text-align: left;
    padding: 100px 20px;
    background-color: #1A1A1A;
    position: relative;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 100;
    color:#797979;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-weight: 100;
}

.hero-image{
	 background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("Slike/Tadej.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width:300px;
  height: 400px;
  border: none;
  margin: 0 auto
}

.hero-tab{
    background-color: #353A3E;
    position: absolute;
    bottom: -36px;
    height: 80px;
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.hero-tab-item-wrap{
    width: 200px;
    height: 50px;
    background-color: #222526;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.hero-tab-item{
    margin: 10px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    
}

.btn {
    background: #fff;
    color: #007BFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* SEKCIJE */
section {
    padding: 100px 20px;
    text-align: center;
}
section:nth-child(even)  {
    background-color: #1A1A1A;
    color:#E0E0E0; 
}

section:nth-child(odd)  {
    background-color: #222526;
    color:#E0E0E0; 

}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* STORITVE GRID */
.portfolio-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
  }
  .portfolio-grid a, .portfolio-grid a:hover{
 text-decoration: none;
 color: #fff;
  } 
  .portfolio-card {
    padding: 20px;
    margin: 30px;
    width: 300px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.5s ease;
    box-shadow: rgba(26, 26, 26, 0.4) 0px 0px 0px 2px, rgba(26, 26, 26, 0.65) 0px 4px 6px -1px, rgba(26, 26, 26, 0.08) 0px 1px 0px inset;
  }
  
  .portfolio-card h2 {
    color: #fff;
    font-size: 2rem;
    position: relative;
    z-index: 2;
  }
  
  .portfolio-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
      0deg, 
      transparent, 
      transparent 30%, 
      rgba(255,146,3,0.5)
    );
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    opacity: 0;
  }
  
  .portfolio-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,146,3,0.9);
  }
  
  .portfolio-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
  }

/*Izkusnje*/

  .timeline {
    display: flex;
    align-items: column;
    position: relative;
    border-top: 2px solid #ccc;
    padding-top: 3rem;
  }

  .timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
    min-width: 150px;
  }

  .timeline-year {
    font-weight: bold;
    margin-bottom: 0.5rem;
  }

  .timeline-dot {
    width: 16px;
    height: 16px;
    background: #007BFF;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #007BFF;
  }

  .timeline-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
  /*izkusnje*/

  .skill-container {
    width: 150px;
    height: 150px;
    position: relative;
    margin: 20px;
  }

  .circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#ff9203 var(--percent), #e0e0e0 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .inner-circle {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: #222526;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 24px;
    color: #fff;
  }

  .skill-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
  }
  .skill-wrap{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
/* KONTAKTNI OBRAZEC */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #007BFF;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}



/* FOOTER */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
}

/* RESPONSIVE NAV POPRAVEK */
@media (max-width: 768px) {
    header .logo, header nav {
        float: none;
        text-align: center;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }
}
