
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary-color: #007bff;
      --primary-hover: #0056b3;
      --text-light: #ffffff;
      --text-dark: #333333;
      --bg-light: #f8f9fa;
      --bg-alt: #e9ecef;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: var(--text-dark);
      line-height: 1.6;
      overflow-x: hidden;
    }

  
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.25);
      backdrop-filter: blur(4px);
      z-index: 1000;
      transition: all 0.4s ease;
    }

    header.scrolled {
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    nav {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 2rem 2rem;
      transition: padding 0.4s ease;
    }

    header.scrolled nav {
      padding: 0.8rem 2rem;
    }

    .logo {
      color: var(--text-light);
      font-size: 1.5rem;
      font-weight: bold;
      text-decoration: none;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
    }

    .nav-links a {
      color: var(--text-light);
      text-decoration: none;
      font-size: 1rem;
      transition: color 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--primary-color);
    }

   
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 28px;
      height: 21px;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 1001;
    }

    .hamburger span {
      width: 100%;
      height: 3px;
      background-color: var(--text-light);
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }

    
    section {
      width: 100%;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 5rem 2rem 2rem;
      text-align: center;
    }

    #naslovna {
      background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                  url('../img/hemikalije.jpg') no-repeat center center/cover;
      color: var(--text-light);
    }

    .hero-content {
      max-width: 1200px;
    }

    
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-content h1,
    .hero-content p,
    .hero-content .btn-container {
      opacity: 0;
      animation: fadeInUp 0.8s ease-out forwards;
    }

    .hero-content h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      animation-delay: 0.2s;
      opacity: 0;
    }

    .hero-content p {
      font-size: 1.25rem;
      margin-bottom: 2rem;
      opacity: 0;
      animation-delay: 0.5s;

    }

    .hero-content .btn-container {
      animation-delay: 0.8s;
      opacity: 0;
    }

    .btn-container {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn {
      padding: 0.8rem 1.8rem;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 5px;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .btn-primary {
      background-color: var(--primary-color);
      color: var(--text-light);
      border: 2px solid var(--primary-color);
    }

    .btn-primary:hover {
      background-color: var(--primary-hover);
      border-color: var(--primary-hover);
    }

    .btn-secondary {
      background-color: transparent;
      color: var(--text-light);
      border: 2px solid var(--text-light);
    }

    .btn-secondary:hover {
      background-color: var(--text-light);
      color: var(--text-dark);
    }

    /* OSTALE SEKCIJE */
    #usluge { background-color: var(--bg-light); }
    #propisi { background-color: var(--bg-alt); }
    #kontakt { background-color: var(--bg-light); }


    /*USLUGE*/

    .container {
  max-width: 80%;
  width: 100%;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  font-size: 2.3rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
}

/* GRID ZAL USLUGE */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  margin: auto;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  text-align: center;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* Jednak razmak između stavki */
  padding: 0;
  margin: 0;
}

.service-card li {
  align-items: flex-start; /* Ikonica ostaje na vrhu prve linije */
  gap: 0.8rem; /* Stalan i malen razmak između ikonice i teksta */
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  text-align: left; /* Osigurava prirodan prikaz teksta */
}

.service-card li i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0; /* Sprječava izobličenje ikonice */
}

.service-card li strong {
  color: #222;
  font-weight: 600;
}

/* GRID ZA PROPISE */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  text-align: left;
}

.rule-box {
  background: #ffffff;
  padding: 1.8rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.rule-box.warning-box {
  border-left-color: #dc3545; /* Crvena ivica za zabrane */
}

.rule-box.warning-box .rule-header i {
  color: #dc3545;
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.rule-header i {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.rule-header h4 {
  font-size: 1.15rem;
  color: var(--text-dark);
}

.rule-box p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}


.official-link-wrapper {
  margin-top: 3.5rem;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.official-link-wrapper p {
  color: #444;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* UPADLJIVO DUGME SA ANIMACIJOM */
.btn-attention {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 50px; /* Zaobljeno dugme za moderan izgled */
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-attention i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

/* HOVER EFEKAT (Podizanje i blagi sjaj) */
.btn-attention:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 123, 255, 0.5);
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.btn-attention:hover i {
  transform: translateX(3px) translateY(-3px); /* Ikonica se blago pomjeri u gornji desni ugao */
}

/* RESPONZIVNOST ZA MOBILNE */
@media (max-width: 600px) {
  .btn-attention {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
}

    /*KONTAKT*/

    #kontakt {
  background-color: var(--bg-light);
  padding: 6rem 2rem 4rem;
}

.contact-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.contact-info .badge {
  display: inline-block;
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-info .qualification {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.5;
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item span {
  display: block;
  font-size: 0.85rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-color);
}

/* KONTAKT FORMA */
.contact-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.input-group {
  margin-bottom: 1.2rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--primary-color);
}

.btn-block {
  width: 100%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

    /* MOBILNI PRIKAZ (ISPOD 768px) */
    @media (max-width: 768px) {

      section{
        padding: 20px;
      }
      .container {
        max-width: 90%;
        margin: 0 auto;
      }
      .hamburger {
        display: flex;
      }

      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
      }

      .nav-links.active {
        right: 0;
      }

      .nav-links a {
        font-size: 1.25rem;
      }

      .hero-content h1 { font-size: 2rem; }
      .hero-content p { font-size: 1rem; }
      .btn-container { flex-direction: column; width: 100%; }
      .btn { width: 100%; }


      /* KONTAKT SEKCIJA MOBILNI PRIKAZ */
      .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info .qualification {
    border-left: none;
    border-bottom: 2px solid var(--primary-color);
    padding-left: 0;
    padding-bottom: 1rem;
  }

  .contact-item {
    justify-content: center;
    text-align: left;
  }
  .service-card{
    width: 100%;
    margin: 0 auto;
    padding: 10px;
  } 
    }
