    body {
      margin: 0;
      background: #121212;
      color: #c8e6c9;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    /* Loader pozadina */
    #loader {
      position: fixed;
      /* Pozicionira loader na celu stranicu */
      top: 0;
      left: 0;
      width: 100vw;
      /* Širina ekrana */
      height: 100vh;
      /* Visina ekrana */
      background: rgba(0, 0, 0, 0.7);
      /* Poluprovidna pozadina */
      display: flex;
      justify-content: center;
      /* Centriranje spinnera horizontalno */
      align-items: center;
      /* Centriranje spinnera vertikalno */
      z-index: 9999;
      /* Osiguraj da loader bude ispred drugih elemenata */
    }

    /* Definicija spinnera */
    .spinner {
      border: 8px solid #f3f3f3;
      /* Svetla boja pozadine */
      border-top: 8px solid #76ff03;
      /* Boja spinnera */
      border-radius: 50%;
      /* Zaokružen oblik */
      width: 50px;
      /* Širina spinnera */
      height: 50px;
      /* Visina spinnera */
      animation: spin 1s linear infinite;
      /* Animacija rotacije */
    }

    /* Animacija za spinner */
    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    .image-container {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
    }

    .image-container img {
      display: block;
      width: 100%;
      height: auto;
      transition: transform 0.4s ease, filter 0.4s ease;
    }

    .image-container:hover img {
      filter: blur(5px) brightness(70%);
      transform: scale(1.1);
    }

    .overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
      opacity: 0;
      transition: opacity 0.4s ease;
      width: 80%;
    }

    .image-container:hover .overlay {
      opacity: 1;
    }

    .overlay h3 {
      font-size: 1.5em;
      margin-bottom: 10px;
    }

    .overlay p {
      font-size: 1em;
    }



    .tech-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 10px;
    }

    .tech-list span {
      background: #1e1e1e;
      padding: 8px 14px;
      border-radius: 8px;
      font-size: 15px;
      color: #fff;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.6s forwards;
    }

    .tech-list span:nth-child(1) {
      animation-delay: 0.2s;
    }

    .tech-list span:nth-child(2) {
      animation-delay: 0.4s;
    }

    .tech-list span:nth-child(3) {
      animation-delay: 0.6s;
    }

    .tech-list span:nth-child(4) {
      animation-delay: 0.8s;
    }

    .tech-list span:nth-child(5) {
      animation-delay: 1s;
    }

    .tech-list span:nth-child(6) {
      animation-delay: 1.2s;
    }

    .tech-list span:nth-child(7) {
      animation-delay: 1.4s;
    }

    .tech-list span:nth-child(8) {
      animation-delay: 1.6s;
    }

    .tech-list span:nth-child(9) {
      animation-delay: 1.8s;
    }

    .tech-list span:nth-child(9) {
      animation-delay: 2s;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .tech-list span:hover {
      background: #2e7d32;
      transform: scale(1.05);
      transition: transform 0.3s ease, background 0.3s ease;
    }


    /* Kontakt forma */
    #contact form {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      margin-top: 1.5rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-group label {
      margin-bottom: 0.4rem;
      font-weight: 600;
      color: #76ff03;
      font-size: 0.95rem;
    }

    .input-wrapper {
      display: flex;
      align-items: center;
      background: #1c1c1c;
      border: 2px solid #333;
      border-radius: 8px;
      padding: 0.6rem 1rem;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .input-wrapper i {
      color: #76ff03;
      margin-right: 0.8rem;
      font-size: 1.1rem;
    }

    .input-wrapper input,
    .input-wrapper textarea {
      flex: 1;
      border: none;
      background: transparent;
      color: #e0f2f1;
      font-size: 1rem;
      resize: none;
    }

    .input-wrapper input:focus,
    .input-wrapper textarea:focus {
      outline: none;
    }

    .input-wrapper:focus-within {
      border-color: #76ff03;
      box-shadow: 0 0 8px #76ff03aa;
    }

    /* Dugme */
    .btn-submit {
      background: linear-gradient(135deg, #1b5e20, #3ddc84);
      border: none;
      padding: 0.9rem 1.5rem;
      border-radius: 25px;
      color: #121212;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-submit:hover {
      background: linear-gradient(135deg, #2e7d32, #66cc00);
      transform: translateY(-2px);
    }

    .form-message {
      margin-top: 1rem;
      font-size: 0.95rem;
      font-weight: 600;
      color: #76ff03;
      text-align: center;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 1.5rem 0;
      color: #76ff03aa;
      font-size: 0.9rem;
      letter-spacing: 0.05em;
      border-top: 1px solid #333;
    }

    .social-links {
      margin-top: 1rem;
      display: flex;
      justify-content: center;
      gap: 1.5rem;
    }

    .social-links a {
      color: #76ff03;
      font-size: 1.6rem;
      transition: color 0.3s ease, transform 0.2s ease;
    }

    .social-links a:hover {
      color: #b9f6ca;
      transform: translateY(-3px);
    }

    /* Kontakt forma */
    #contact form {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      margin-top: 1.5rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-group label {
      margin-bottom: 0.4rem;
      font-weight: 600;
      color: #76ff03;
      font-size: 0.95rem;
    }

    /* Omot za ikone + inpute */
    .input-wrapper {
      display: flex;
      align-items: center;
      background: #1c1c1c;
      border: 2px solid #333;
      border-radius: 8px;
      padding: 0.6rem 1rem;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .input-wrapper i {
      color: #76ff03;
      margin-right: 0.8rem;
      font-size: 1.1rem;
    }

    .input-wrapper input,
    .input-wrapper textarea {
      flex: 1;
      border: none;
      background: transparent;
      color: #e0f2f1;
      font-size: 1rem;
      resize: none;
    }

    .input-wrapper input:focus,
    .input-wrapper textarea:focus {
      outline: none;
    }

    .input-wrapper:focus-within {
      border-color: #76ff03;
      box-shadow: 0 0 8px #76ff03aa;
    }

    /* Dugme */
    .btn-submit {
      background: linear-gradient(135deg, #1b5e20, #3ddc84);
      border: none;
      padding: 0.9rem 1.5rem;
      border-radius: 25px;
      color: #121212;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-submit:hover {
      background: linear-gradient(135deg, #2e7d32, #66cc00);
      transform: translateY(-2px);
    }

    .form-message {
      margin-top: 1rem;
      font-size: 0.95rem;
      font-weight: 600;
      color: #76ff03;
      text-align: center;
    }

    .btn-submit {
      background: linear-gradient(135deg, #1b5e20, #3ddc84);
      border: none;
      padding: 0.9rem 1.5rem;
      border-radius: 25px;
      color: #121212;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
    }

    .btn-submit:hover {
      background: linear-gradient(135deg, #2e7d32, #66cc00);
      transform: translateY(-2px);
    }

    .form-message {
      margin-top: 1rem;
      font-size: 0.95rem;
      font-weight: 600;
      color: #76ff03;
      text-align: center;
    }


    /* Dark Mode */
    .dark-mode {
      background: #121212;
      color: #c8e6c9;
    }

    /* Resursi */
    #resources {
      background: #1e1e1ecc;
      border-radius: 12px;
      padding: 1.8rem 2rem;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
      opacity: 0;
      transform: translateY(25px);
      transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #resources.visible {
      opacity: 1;
      transform: translateY(0);
    }

    #resources ul {
      list-style-type: none;
      padding: 0;
    }

    #resources li {
      margin-bottom: 1rem;
    }

    #resources a {
      font-size: 1.1rem;
      font-weight: 600;
      color: #76ff03;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    #resources a:hover {
      color: #b9f6ca;
      text-decoration: underline;
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: linear-gradient(135deg, #1b5e20, #3ddc84);
      color: #e0f2f1;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
      border-radius: 0 0 15px 15px;
      z-index: 100;
      padding: 0.8rem 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 90px;
      box-sizing: border-box;
    }

    .header-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
    }

    .profile-pic {
      width: 65px;
      height: 65px;
      border-radius: 50%;
      border: 3px solid #a5d6a7;
      object-fit: cover;
      box-shadow: 0 0 10px #3ddc84aa;
      background: #222;
    }

    .header-text {
      margin-left: 1rem;
      color: #c8e6c9;
    }

    .header-text h1 {
      font-size: 1.6rem;
      font-weight: 700;
      color: #a5d6a7;
      margin: 0;
    }

    .header-text p {
      font-size: 0.9rem;
      margin: 0;
    }

    /* Nav u headeru */
    nav {
      display: flex;
      gap: 2rem;
    }

    /* Nav linkovi bez underline */
    nav a {
      font-weight: 600;
      font-size: 1rem;
      color: #e0f2f1;
      position: relative;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      text-decoration: none;
      pointer-events: auto;

    }

    /* Hover efekat */
    nav a:hover {
      color: #76ff03;
      text-decoration: none;
    }

    nav a::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: #76ff03;
      transition: width 0.3s ease;
    }

    nav a:hover::after {
      width: 100%;
    }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 28px;
      height: 22px;
      cursor: pointer;
      z-index: 110;
    }

    .hamburger div {
      width: 100%;
      height: 3px;
      background: #a5d6a7;
      border-radius: 3px;
      transition: all 0.4s ease;
      transform-origin: center;
    }

    /* Kada je aktivan meni */
    .hamburger.active div:nth-child(1) {
      transform: rotate(45deg) translate(4px, 5px);
    }

    .hamburger.active div:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
      transform: rotate(-45deg) translate(4px, -5px);
    }

    @media (max-width: 700px) {
      .hamburger {
        display: flex;
        position: fixed;
        right: 2rem;
      }
    }


    @media (max-width: 700px) {
      nav {
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background: #1b1b1b;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        max-height: 0;
        /* Početna visina kad je meni zatvoren */
        overflow: hidden;
        /* Sakriva sadržaj kad je meni zatvoren */
        visibility: hidden;
        /* Meni je nevidljiv kad je zatvoren */
        opacity: 0;
        /* Meni je potpuno transparentan kad je zatvoren */
        transition: max-height 0.4s ease, visibility 0.4s ease, opacity 0.4s ease;
        /* Animacija visine, vidljivosti i opaciteta */
        border-radius: 0 0 15px 15px;
      }

      /* Kada je meni otvoren */
      nav.open {
        max-height: 500px;
        /* Visina menija kad je otvoren */
        visibility: visible;
        /* Meni je vidljiv */
        opacity: 1;
        /* Meni je potpuno neprozirno */
      }


      nav a {
        font-weight: 600;
        font-size: 1rem;
        color: #e0f2f1;
        position: relative;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        text-decoration: none;
        opacity: 0;
        /* Početno skrivamo linkove */
        transition: opacity 0.4s ease;
      }

      nav.open a {
        opacity: 1;
      }

      nav a:hover {
        color: #76ff03;
        text-decoration: none;
      }

      nav a::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: #76ff03;
        transition: width 0.3s ease;
      }

      nav a:hover::after {
        width: 100%;
      }

      .hamburger {
        display: flex;
        position: fixed;
        right: 2rem;
        z-index: 110;
      }
    }

    /* Main */
    main {
      max-width: 900px;
      margin: 110px auto 3rem;
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
      padding: 0 1rem;
    }

    .card {
      background: #1e1e1ecc;
      border-radius: 12px;
      padding: 1.8rem 2rem;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
      opacity: 0;
      transform: translateY(25px);
      transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    h2 {
      margin-top: 0;
      color: #76ff03;
      letter-spacing: 0.05em;
      font-weight: 700;
    }

    p,
    ul {
      font-weight: 400;
      line-height: 1.6;
    }

    #about {
      padding: 20px;
    }

    .about-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .about-left {
      flex: 1;
      padding-right: 30px;
    }

    .about-right {
      flex: 0.5;
      padding-right: 30px;
    }

    .about-left img {
      width: 100%;
      max-width: 200px;
      border-radius: 50%;
    }

    /* Progress Bar */
    .progress-bar {
      background: #292929;
      border-radius: 10px;
      height: 20px;
      width: 100%;
      margin: 1rem 0;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    }

    .progress-bar .progress {
      background: #76ff03;
      height: 100%;
      border-radius: 10px;
      width: 0;
      transition: width 2s ease-in-out;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 1rem 0;
      color: #76ff03aa;
      font-size: 0.9rem;
      letter-spacing: 0.05em;
    }

    /* Light/Dark mode button */
    .theme-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      cursor: pointer;
      background-color: #76ff03;
      border: none;
      padding: 10px 20px;
      color: #121212;
      font-size: 1rem;
      border-radius: 25px;
    }

    .theme-toggle:hover {
      background-color: #66cc00;
    }

    </style>