* {
    box-sizing: border-box;
    font-family: 'Segoe UI', "Tahoma", "Geneva", "Verdana", sans-serif;
}

body {
    margin: 0;
    background: url('pozadina.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

h1 {
    text-align: center;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.proizvod {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    transition: transform 0.2s;
    max-width: 300px;
    margin: 1rem;
}

.proizvod:hover {
    transform: scale(1.03);
}

.ime {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.opis {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cijena {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.gumb {
    background: #f8a100;
    color: black;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.gumb:hover {
    background: #5efc82;
}

.sekcija {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.natpis {
    font-size: 1.8rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 1);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    display: inline-block;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dropdown {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.dropdown > button {
    background: #f8a100;
    color: black;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.dropdown button:hover {
    background: #5efc82;
}

.dropdown-sadrzaj {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background-color: #000;
    min-width: 250px;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    color: #fff;
}

.dropdown:hover .dropdown-sadrzaj {
    display: block;
}

.dropdown-sadrzaj form button {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 5px;
}

.dropdown-sadrzaj hr {
    margin: 0.5rem 0;
}

.dropdown-sadrzaj form[name="reset"] button {
    background: #f8a100;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    width: 100%;
}

.dropdown-sadrzaj form[name="reset"] button:hover {
    background: #5efc82;
}

.dostava-gumb {
    position: fixed;
    top: 20px;
    right: 150px;
    z-index: 1000;
}

.dostava-gumb button {
    background: #f8a100;
    color: black;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    right: 200px;
    transition: background 0.3s;
}

.dostava-gumb button:hover {
    background: #5efc82;
}

.logo-kut {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo-kut img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-kut img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.jezik-gumb {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.jezik-gumb button {
    background: #f8a100;
    color: black;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.jezik-gumb button:hover {
    background: #5efc82;
}

.sekcija-potvrda{
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    text-align: center;
    max-width: 600px;
    width: 90%;
    font-size: 1.2rem;
}

.centar{
    justify-content: center;
    align-items: center;
}

.potvrda-gumb button {
    background: #00bfff;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.potvrda-gumb button:hover {
    background: #009fcc;
    transform: scale(1.05);
}

.potvrda-gumb {
    position: fixed;
    top: 20px;
    right: 320px;
    z-index: 1000;
}

.potvrda-gumb button {
    background: #f8a100;
    color: black;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.potvrda-gumb button:hover {
    background: #5efc82;
}

.glavnisadrzaj{
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0.5rem auto;
    text-align: center;
    font-family: 'Segoe UI', "Tahoma", "Geneva", "Verdana", sans-serif;
    background-color: rgba(0, 0, 0, 0.8);
}

.recenzija {
    font-style: italic;
    background-color: rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f8a100;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 700px;
    color: #ddd;
    border-radius: 6px;
}

.kolacic-popup {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 9999;
}

.kolacic-box {
    background-color: rgba(5, 5, 5, 0.95);
    color: #f5f5f5;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    max-width: 600px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}

.kolacic-box button {
    background-color: #f8a100;
    color: black;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.kolacic-box button:hover {
    background-color: #5efc82;
}

form textarea, form input[type="text"] {
    width: 100%;
    max-width: 500px;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #111;
}

form button {
    background: #f8a100;
    color: black;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    background: #5efc82;
}

.komentari-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 12px;
    max-width: 600px;
}

.logo-kut a img {
    cursor: pointer;
}

.jezik-gumb:nth-of-type(1) {
    margin-right: 5rem;
}




@media screen and (max-width: 600px) {
  body {
    background: url('pozadina-mobitel.png') no-repeat center center fixed;
    background-size: cover;
    padding: 1rem;
  }

  h1 {
    font-size: 1.3rem;
    padding: 0.4rem;
    margin-bottom: 0.4rem;
    text-align: center;
  }

  .grid {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .proizvod {
    max-width: 95%;
    margin: 0.5rem auto;
  }

  .ime,
  .opis,
  .cijena {
    text-align: center;
  }

  .sekcija {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .natpis {
    font-size: 1.2rem;
    padding: 0.6rem 0.8rem;
  }

  .navbar {
    flex-direction: column;
  }

  .dostava-gumb,
  .potvrda-gumb {
    position: fixed;
    top: 5px;
    z-index: 1000;
  }

  .dostava-gumb {
    right: 120px;
  }

  .potvrda-gumb {
    right: 10px;
  }

  .jezik-gumb {
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 1000;
  }
    .jezikgumb {
    position: fixed;
    bottom: 5px;
    left: 5px;
    z-index: 1000;
}

.jezikgumb button {
    background: #f8a100;
    color: black;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.jezikgumb button:hover {
    background: #5efc82;
}

  .dostava-gumb button,
  .potvrda-gumb button,
  .jezik-gumb button,
    .jezikgumb button,
  .dropdown > button {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

  .logo-kut {
    position: fixed;
    top: 10px;
    left: 10px;
  }

  .logo-kut img {
    height: 70px;
    width: 70px;
  }

  .sekcija-potvrda {
    padding: 1rem;
    font-size: 1rem;
    max-width: 95%;
  }

  .glavnisadrzaj {
    font-size: 1rem;
    line-height: 1.5;
    padding: 1rem;
    margin: 0.5rem auto;
    width: 95%;
  }

  .recenzija {
    padding: 0.8rem;
    font-size: 0.9rem;
    margin: 0.8rem auto;
  }

  .kolacic-box {
    font-size: 0.9rem;
    padding: 1rem;
    width: 90%;
  }

  form textarea,
  form input[type="text"] {
    max-width: 100%;
  }

  .komentari-box {
    width: 95%;
  }

  .dropdown {
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 1000;
  }
}