/* Cyprus Real Estate - glavni stil */
:root {
  --sea: #0b3d5c;
  --sea-dark: #072a40;
  --sea-light: #e8f1f6;
  --sand: #c9a35f;
  --sand-light: #f6efe2;
  --ink: #1d2730;
  --muted: #5d6b77;
  --line: #e3e8ec;
  --white: #ffffff;
  --viber: #7360f2;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 42, 64, .10);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; color: var(--sea-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--sand-light); }
.section--sea { background: var(--sea); color: #dbe7ef; }
.section--sea h2, .section--sea h3 { color: var(--white); }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); font-weight: 600; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Dugmad */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--sand); color: var(--sea-dark); }
.btn--primary:hover { background: #d6b373; }
.btn--sea { background: var(--sea); color: var(--white); }
.btn--outline { border-color: currentColor; color: var(--white); background: transparent; }
.btn--viber { background: var(--viber); color: var(--white); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sea-dark); }
.logo svg { width: 36px; height: 36px; }
.logo__text { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.logo__text small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--sand); }
.lang { font-weight: 600; font-size: .85rem; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.header .btn { padding: 10px 20px; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--sea-dark); }

/* Hero */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    linear-gradient(100deg, rgba(7,42,64,.92) 0%, rgba(7,42,64,.70) 55%, rgba(7,42,64,.35) 100%),
    url("img/hero-limasol-obala.jpg") center/cover no-repeat, var(--sea);
}
.hero__inner { padding: 110px 0 120px; max-width: 720px; }
.hero h1 { color: var(--white); }
.hero p { font-size: 1.2rem; color: #d7e4ec; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; font-size: .95rem; color: #cfdde7; }
.trust span::before { content: "✓"; color: var(--sand); font-weight: 700; margin-right: 8px; }

/* Kartice nekretnina */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card__img { position: relative; aspect-ratio: 4/3; background: var(--sea-light); overflow: hidden; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__tag { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--sea-dark); font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__loc { font-size: .85rem; color: var(--sand); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.card__meta { display: flex; gap: 16px; font-size: .9rem; color: var(--muted); margin: 6px 0 16px; flex-wrap: wrap; }
.card__price { font-weight: 700; color: var(--sea-dark); font-size: 1.1rem; margin-bottom: 16px; }
.card .btn { margin-top: auto; justify-content: center; }
.more-note { text-align: center; margin-top: 44px; font-size: 1.1rem; }

/* Prednosti / koraci */
.feature { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature__icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.step__num { font-family: "Playfair Display", serif; font-size: 2.4rem; color: var(--sand); line-height: 1; margin-bottom: 10px; }
.step p { margin: 0; }

/* Lokacije */
.loc { padding: 26px; border-left: 3px solid var(--sand); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.loc p { color: var(--muted); margin: 0; font-size: .97rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; color: var(--sea-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact__direct { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.contact__direct .btn { justify-content: center; }
.form { background: var(--white); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--sea-dark); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; margin-bottom: 18px; background: #fbfcfd;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sand); border-color: transparent; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form button { width: 100%; justify-content: center; font-size: 1.05rem; }
.form small { display: block; color: var(--muted); margin-top: 12px; font-size: .82rem; }
.hidden { display: none; }

/* Članak (vodič) */
.article { max-width: 780px; margin: 0 auto; padding: 60px 20px 80px; }
.article h2 { margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.article th { background: var(--sea-light); color: var(--sea-dark); }
.note { background: var(--sand-light); border-left: 3px solid var(--sand); padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: .95rem; margin: 1.5em 0; }
.cta-box { background: var(--sea); color: #dbe7ef; padding: 34px; border-radius: var(--radius); margin: 2.5em 0; text-align: center; }
.cta-box h3 { color: var(--white); margin-top: 0; }
.cta-box .btn { margin: 6px; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }

/* Footer */
.footer { background: var(--sea-dark); color: #9fb4c3; padding: 50px 0 30px; font-size: .92rem; }
.footer a { color: #cfdde7; text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer h4 { color: var(--white); font-size: 1rem; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: .8rem; color: #7f97a8; }

/* Plutajuća dugmad za chat */
.float-chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-chat a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s; }
.float-chat a:hover { transform: scale(1.08); }
.float-chat svg { width: 30px; height: 30px; fill: #fff; }
.float-chat .viber { background: var(--viber); }
.float-chat .wa { background: var(--whatsapp); }

/* Responsive */
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); gap: 16px; }
  .nav.open { display: flex; }
  .header .btn--sea { display: none; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px; }
  .hero__inner { padding: 70px 0 80px; }
  .footer__grid { grid-template-columns: 1fr; }
  .float-chat { right: 14px; bottom: 14px; }
  .float-chat a { width: 52px; height: 52px; }
}
