/* Reset i osnovno */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #222;
    color: #fff;
    flex-wrap: wrap;
}

header .logo h1 {
    font-size: 2rem;
}

header nav a {
    margin-left: 20px;
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav a:hover {
    color: #fff;
}
/* Glavna navigacija */
nav {
  background-color: #333;
  padding: 10px 0;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  transition: background 0.3s;
}

nav ul li a:hover {
  background-color: #555;
  border-radius: 5px;
}

/* Responsive meni za mobitel */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}
/* HERO SECTION */
.hero {
    position: relative;
    display: flex;               /* flex centriranje */
    justify-content: center;     /* horizontalno centriranje */
    align-items: center;         /* vertikalno centriranje */
    overflow: hidden;
    height: 80vh;                /* visina hero sekcije */
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;           /* slika popuni prostor */
    display: block;
    filter: brightness(0.6);
    transition: transform 0.5s;
}

.hero img:hover {
    transform: scale(1.05);
}

.overlay {
    text-align: center;
    color: #fff;
    padding: 30px 20px;
    max-width: 600px;
    width: 90%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    animation: fadeInUp 1s ease forwards;
}

.overlay h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.overlay p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.overlay a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}

.overlay a:hover {
    text-decoration: underline;
}

/* ANIMACIJA HERO TEKSTA */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* USLUGE */
.usluge {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.usluge h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.usluge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.usluga {
    background-color: #222;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.usluga:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* FOOTER */
footer {
    padding: 20px;
    background-color: #222;
    color: #fff;
    text-align: center;
}
/* KONTAKT STRANICA */
.kontakt-section {
  background-color: #111;
  color: #ffd700;
  text-align: center;
  padding: 80px 20px;
}

.kontakt-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.kontakt-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.kontakt-info {
  text-align: left;
}

.kontakt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.kontakt-item i {
  color: #ffd700;
  font-size: 1.5rem;
}

.kontakt-item a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s;
}

.kontakt-item a:hover {
  color: #fff;
}

.kontakt-ikone {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
}

.kontakt-ikone a {
  color: #ffd700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  transition: transform 0.3s, color 0.3s;
}

.kontakt-ikone a:hover {
  transform: translateX(5px);
  color: #fff;
}

.kontakt-ikone i {
  font-size: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kontakt-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .kontakt-info, .kontakt-ikone {
    align-items: center;
  }

  .kontakt-item {
    justify-content: center;
  }
}
/* ============================= */
/* USLUGE STRANICA (Taxi Diz)   */
/* ============================= */
.usluge-dark {
  background-color: #111;
  color: #ffd700;
  text-align: left;
  padding: 80px 20px;
}

.usluge-dark h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #ffd700;
}

.usluge-lista {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.usluga-blok {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #ffd700;
  padding: 25px 30px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.usluga-blok:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.usluga-blok h3 {
  color: #ffd700;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.usluga-blok p {
  color: #ddd;
  line-height: 1.6;
}

.lokacije {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.lokacije a {
  color: #ffd700;
  text-decoration: none;
  font-weight: bold;
  background-color: rgba(255,255,255,0.05);
  padding: 8px 15px;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.lokacije a:hover {
  background-color: #ffd700;
  color: #111;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .usluge-dark {
    text-align: center;
  }
  .usluga-blok {
    padding: 20px;
  }
  .lokacije {
    justify-content: center;
  }
}
/* ============================= */
/* POČETNA STRANICA (Taxi Diz)   */
/* ============================= */
.pocetna-dark {
    background-color: #111;
    color: #ffd700;
    text-align: center;
    padding: 150px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.welcome-box {
    max-width: 700px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    border-left: 4px solid #ffd700;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.welcome-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.welcome-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.welcome-box p {
    color: #ddd;
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-usluge {
    display: inline-block;
    background-color: #ffd700;
    color: #111;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-usluge:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .pocetna-dark {
        padding: 100px 15px;
    }

    .welcome-box h2 {
        font-size: 2rem;
    }

    .welcome-box p {
        font-size: 1rem;
    }
}
/* Hamburger meni */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: #fff;
  border-radius: 2px;
}

.nav-list {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  transition: background 0.3s;
}

.nav-list li a:hover {
  background-color: #555;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background-color: #333;
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-list li {
    margin: 10px 0;
  }
}