/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: #fff;
  background: linear-gradient(-45deg, #0f2027, #0c57c8, #2b799b, #011f41);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === Gradient Animation === */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;
}

.logo span {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.navbar {
  position: relative;
  
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.dropbtn {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dropbtn:hover {
  color: #b6c9ff;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  min-width: 250px;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin-top: 10px;
  animation: fadeIn 0.25s ease;
  
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-content.show {
  display: flex;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(25, 30, 43, 0.843);
    backdrop-filter: blur(20px);
    text-align: center;
    padding: 1.5rem 0;
    gap: 1rem;
    min-width: 200px;
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    display: none;
  }

  .dropdown-content.show {
    display: flex;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
} 
/* === MAIN CONTENT (the link block) === */
a {
  text-decoration: none;
}

a div {
  max-width: 900px;
  margin: 10rem auto;
  padding: 3rem;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
  transition: all 0.4s ease;
  cursor: pointer;
}

a div:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #70e1f5;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 3rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #70e1f5;
}

footer h3 {
  font-size: 1.1rem;
  color: #e8f1f8;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

footer ul li {
  margin: 0.3rem 0;
  color: #dce7ef;
  font-size: 0.95rem;
}

footer p {
  font-size: 0.85rem;
  color: #aac7da;
}

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 2rem;
  }

  header ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  a div {
    margin: 6rem 1rem;
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  header img {
    width: 50px;
  }

  #ime {
    font-size: 1.1rem;
  }

  header ul li a {
    font-size: 0.9rem;
  }

  a div {
    font-size: 1.2rem;
    padding: 2rem 1rem;
    border-radius: 18px;
  }

  footer {
    padding: 2rem 1rem;
  }
}
.vesti-section {
  max-width: 1200px;
  margin: 10rem auto 4rem;
  padding: 2rem;
  text-align: center;
}

.vesti-section h2 {
  font-size: 2rem;
  color: #70e1f5;
  margin-bottom: 2.5rem;
}

.vesti-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.vest-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.vest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.5);
}

.vest-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.vest-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin: 1rem;
}

.vest-card p {
  color: #dce7ef;
  margin: 0 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.vest-card a {
  display: block;
  margin: 0 1rem 1.5rem;
  color: #70e1f5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.vest-card a:hover {
  color: #a6e9ff;
}




