/* style.css - Izvučeni stilovi */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0A1628;
  --navy-mid: #142240;
  --navy-light: #1E3358;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: rgba(201,168,76,0.15);
  --cream: #F7F3EC;
  --cream-dark: #EDE8DF;
  --white: #FFFFFF;
  --text-muted: rgba(247,243,236,0.55);
  --border: rgba(201,168,76,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* OVDJE SAM ODMAH POVEĆAO LOGO ZA 100% (sa 40px na 80px) */
.nav-logo img {
  height: 100px; 
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* HERO */
.hero {
  min-height: 120vh;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  padding: 7rem 5% 4rem;
  position: relative;
  overflow: hidden;
  gap: 0;
}
@media(max-width:900px){
  .hero { grid-template-columns: 1fr; padding: 7rem 5% 3rem; }
  .hero-mockup-img { display: none; }
}
.hero-mockup-img {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
}
.hero-mockup-img img {
  width: 120%;
  height: 120%;
  object-fit: contain;
  object-position: center right;
  display: block;
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
  margin-left: -20%;
  margin-top: -20%;
  margin-right: -10%;
  mix-blend-mode: screen;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(30,51,88,0.8) 0%, transparent 70%),
    var(--navy);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
h1 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.9rem 2rem;
  border: none; border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--cream);
  padding: 0.9rem 2rem;
  border: 1px solid rgba(247,243,236,0.2);
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  position: absolute; bottom: 3rem; right: 5%;
  display: flex; gap: 3rem; z-index: 2;
  opacity: 0; animation: fadeUp 0.8s 1s forwards;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garant', serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SECTIONS */
section { padding: 6rem 5%; }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
h2 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--gold); }
.section-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
  font-weight: 300;
}

/* SERVICES */
#usluge { background: var(--navy-mid); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.4); }
.service-icon { font-size: 2rem; margin-bottom: 1.2rem; display: block; }
.service-card h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

/* PACKAGES */
#paketi { background: var(--navy); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}
.package-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.35s;
}
.package-card.featured {
  background: linear-gradient(145deg, var(--navy-light), var(--navy-mid));
  border-color: var(--gold);
  transform: scale(1.02);
}
.package-card:hover:not(.featured) { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2px;
  white-space: nowrap;
}
.package-name {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.package-price {
  font-family: 'Cormorant Garant', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.package-price span { font-size: 1.2rem; color: var(--text-muted); }
.package-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  font-weight: 300;
}
.package-features { list-style: none; margin-bottom: 2rem; }
.package-features li {
  font-size: 0.88rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.08);
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 300;
}
.package-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.package-btn {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}
.package-btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.package-btn-outline:hover { background: var(--gold-dim); }
.package-btn-solid {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}
.package-btn-solid:hover { background: var(--gold-light); }

.maintenance-note {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.maintenance-note .mn-price {
  font-family: 'Cormorant Garant', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--gold); white-space: nowrap;
}
.maintenance-note .mn-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.maintenance-note .mn-text strong { color: var(--cream); font-weight: 500; }

/* WHY */
#zasto { background: var(--navy-mid); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.why-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--navy);
}
.why-num {
  font-family: 'Cormorant Garant', serif;
  font-size: 3.5rem; font-weight: 700;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}
.why-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.6rem; color: var(--cream); }
.why-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

/* APARTMANI / NICHE */
.niche-section { background: var(--navy); padding: 5rem 5%; }
.niche-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) { .niche-inner { grid-template-columns: 1fr; gap: 2rem; } }
.niche-visual {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  font-family: 'DM Sans', sans-serif;
}
.niche-visual h4 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--cream);
}
.booking-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.booking-label { color: var(--text-muted); }
.booking-val { color: var(--cream); }
.booking-val.bad { color: #e05555; }
.booking-val.good { color: #4dbb7e; }
.saving-box {
  margin-top: 1.2rem;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  text-align: center;
}
.saving-box .sv { font-family: 'Cormorant Garant', serif; font-size: 2rem; color: var(--gold); }
.saving-box .sl { font-size: 0.8rem; color: var(--text-muted); }

/* CONTACT */
#kontakt { background: var(--navy-mid); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3.5rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-family: 'Cormorant Garant', serif; font-size: 1.6rem; margin-bottom: 1rem; }
.contact-info p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 0.9rem; }
.contact-item-icon {
  width: 38px; height: 38px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-form {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
}
.form-row { margin-bottom: 1.3rem; }
.form-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: rgba(247,243,236,0.25); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input option { background: var(--navy-mid); }
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 1rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'DM Sans', sans-serif;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }
.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  background: #25D366;
  color: white;
  padding: 0.85rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 1rem;
  transition: all 0.3s;
}
.whatsapp-btn:hover { background: #1ebb57; transform: translateY(-2px); }

/* FOOTER */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'Cormorant Garant', serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.footer-logo span { color: var(--cream); }
footer p { font-size: 0.82rem; color: var(--text-muted); }

/* KALKULATOR */
.calc-wrapper {
  margin-top: 4rem;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.calc-header { padding: 2.5rem 2.5rem 2rem; border-bottom: 1px solid var(--border); }
.calc-body { display: grid; grid-template-columns: 1fr 280px; gap: 0; }
@media(max-width: 768px) { .calc-body { grid-template-columns: 1fr; } }
.calc-options { padding: 2rem 2.5rem; }
.calc-group { margin-bottom: 2rem; }
.calc-group-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.calc-item { display: block; cursor: pointer; margin-bottom: 0.5rem; }
.calc-item input { display: none; }
.calc-item-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 3px;
  background: var(--navy);
  transition: all 0.25s;
}
.calc-item:hover .calc-item-inner { border-color: rgba(201,168,76,0.3); }
.calc-item input:checked + .calc-item-inner { border-color: var(--gold); background: var(--gold-dim); }
.calc-item-name { font-size: 0.9rem; color: var(--cream); font-weight: 400; }
.calc-item-price { font-size: 0.88rem; color: var(--gold); font-weight: 500; margin-left: 1rem; }
.calc-result { background: var(--navy-light); border-left: 1px solid var(--border); padding: 2rem; display: flex; align-items: flex-start; }
.calc-result-price { font-family: 'Cormorant Garant', serif; font-size: 3.5rem; font-weight: 700; color: var(--gold); line-height: 1; }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(5,12,24,0.88);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%; max-width: 1200px;
  max-height: 95vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-header { padding: 1.8rem 2rem 1.2rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.modal-selected { margin: 1.2rem 2rem 0; background: var(--gold-dim); border: 1px solid var(--border); padding: 1rem 1.2rem; }
.modal-body { padding: 1.5rem 2rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }

/* DIVIDER & REVEAL */
.gold-divider { width: 50px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin: 1.5rem 0; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }