* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #333;
}

/* HEADER */
header {
  background: rgba(0, 64, 128, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
}

.logo {
  color: white;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ffd166;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url("Slike/pozadinska.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: white;
}

.hero-content {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 25px;
  font-size: 18px;
}

.btn {
  background: #ffd166;
  padding: 12px 25px;
  color: #333;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #ffb703;
}

/* SECTIONS */
section {
  padding: 120px 50px 80px;
}

.apartman {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.alt-bg {
  background: #ffffff;
}

/* INFO CARD */
.apartman-info {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.apartman-info h2 {
  margin-bottom: 20px;
  color: #004080;
}

.apartman-info li {
  margin: 10px 0;
}

/* GALLERY */
.apartman-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.apartman-gallery img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.4s;
}

.apartman-gallery img:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
}

/* LOCATION */
#lokacija h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #004080;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border-radius: 15px;
}

/* CONTACT */
.kontakt {
  text-align: center;
}

.kontakt h2 {
  margin-bottom: 20px;
  color: #004080;
}

.kontakt ul {
  list-style: none;
}

.kontakt li {
  margin: 15px 0;
  font-size: 18px;
}

.kontakt a {
  color: #004080;
  text-decoration: none;
  font-weight: 600;
}

.kontakt a:hover {
  color: #ffb703;
}

/* FOOTER */
footer {
  background: #00264d;
  color: white;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .apartman {
    grid-template-columns: 1fr;
  }

  nav {
    padding: 15px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }
}