/* ============================================
   Villas Zečevo — Salacija & Sunshine
   ============================================ */
:root {
  --navy: #0c2533;
  --navy-soft: #15394e;
  --sea: #1b6e8c;
  --aqua: #2ca6a4;
  --sand: #f6f1e7;
  --cream: #fdfbf6;
  --gold: #c8a24b;
  --ink: #22313c;
  --muted: #5e7280;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(12, 37, 51, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.scrolled {
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(12,37,51,.10);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-logo { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--white); letter-spacing: .5px; transition: color .35s; }
.nav-logo span { color: var(--gold); }
.nav.scrolled .nav-logo { color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.92); font-size: .92rem; font-weight: 500; letter-spacing: .3px; transition: color .25s; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 9px 20px; border-radius: 999px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(200,162,75,.45); color: var(--navy) !important; }

/* language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font: 600 .85rem var(--font-body);
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: background .25s, color .35s, border-color .35s;
}
.nav.scrolled .lang-btn { background: rgba(12,37,51,.06); border-color: rgba(12,37,51,.18); color: var(--navy); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  list-style: none; padding: 8px; min-width: 150px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s ease;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { padding: 9px 14px; border-radius: 9px; font-size: .9rem; cursor: pointer; color: var(--ink); display: flex; gap: 9px; align-items: center; }
.lang-menu li:hover { background: var(--sand); }
.lang-menu li.active { background: var(--navy); color: #fff; }

/* burger */
.burger { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; position: relative; z-index: 1100; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: all .3s; }
.nav.scrolled .burger span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden; color: #fff;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,37,51,.55) 0%, rgba(12,37,51,.25) 45%, rgba(12,37,51,.72) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 20px 80px; max-width: 880px; }
.hero-kicker {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); color: #fff; margin-bottom: 22px; font-weight: 600; }
.hero p { font-size: clamp(1.02rem, 2vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 640px; margin: 0 auto 38px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 32px; border-radius: 999px; font-weight: 600; font-size: .97rem;
  transition: transform .22s, box-shadow .22s, background .22s; cursor: pointer; border: none;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(200,162,75,.5); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(12,37,51,.35); }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.8); font-size: 1.6rem; animation: bob 2.2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,9px); } }

/* rating badges in hero */
.hero-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.score-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px); border-radius: 999px; padding: 8px 18px 8px 8px;
  font-size: .88rem; color: #fff;
}
.score-num {
  background: var(--gold); color: var(--navy); font-weight: 800;
  border-radius: 10px; padding: 5px 10px; font-size: .95rem;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--sand); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--sea); margin-bottom: 14px; display: block; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Villa cards (landing) ---------- */
.villa-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 36px; }
.villa-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.villa-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(12,37,51,.18); }
.villa-card-img { position: relative; height: 290px; overflow: hidden; }
.villa-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.villa-card:hover .villa-card-img img { transform: scale(1.07); }
.villa-card-score {
  position: absolute; top: 16px; right: 16px;
  background: rgba(12,37,51,.85); backdrop-filter: blur(6px); color: #fff;
  border-radius: 12px; padding: 7px 12px; font-size: .82rem; display: flex; gap: 8px; align-items: center;
}
.villa-card-score b { color: var(--gold); font-size: 1rem; }
.villa-card-body { padding: 30px 30px 34px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.villa-card-body h3 { font-size: 1.75rem; }
.villa-card-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.villa-feats { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-chip {
  background: var(--sand); color: var(--navy-soft); border-radius: 999px;
  font-size: .78rem; font-weight: 600; padding: 6px 13px;
}
.villa-card .btn { align-self: flex-start; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; text-align: center; }
.stat h3 { font-size: 2.5rem; color: var(--sea); }
.stat p { color: var(--muted); font-size: .88rem; letter-spacing: .4px; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
  border-top: 4px solid var(--aqua);
}
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.review-card blockquote { font-size: .96rem; color: var(--ink); font-style: italic; flex: 1; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.review-meta b { display: block; font-size: .92rem; color: var(--navy); }
.review-meta span { font-size: .8rem; color: var(--muted); }
.review-src { font-size: .75rem; color: var(--muted); }

/* ---------- Villa page hero ---------- */
.hero-villa { min-height: 86svh; }

/* quick facts bar */
.facts-bar {
  background: var(--navy); color: #fff; padding: 26px 0;
}
.facts-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 54px; }
.fact { display: flex; align-items: center; gap: 11px; font-size: .94rem; }
.fact .ico { font-size: 1.35rem; }
.fact b { color: var(--gold); }

/* about / description */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }

/* amenities */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.amen {
  background: #fff; border-radius: 14px; padding: 20px 22px;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 4px 18px rgba(12,37,51,.07);
  font-size: .93rem; font-weight: 500;
}
.amen .ico { font-size: 1.5rem; }

/* gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 200px; gap: 12px;
}
.gallery-grid a { border-radius: 12px; overflow: hidden; position: relative; display: block; }
.gallery-grid a:nth-child(6n+1) { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid a.hidden-photo { display: none; }
.gallery-more { text-align: center; margin-top: 34px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(8, 20, 28, .96); z-index: 2000;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3);
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .9rem; }

/* location */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: stretch; }
.loc-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.loc-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.loc-list li {
  background: #fff; border-radius: 13px; padding: 15px 20px; box-shadow: 0 4px 16px rgba(12,37,51,.06);
  display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .94rem;
}
.loc-list b { color: var(--sea); white-space: nowrap; }

/* ---------- Booking CTA band ---------- */
.cta-band {
  position: relative; padding: 110px 0; text-align: center; color: #fff;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,37,51,.78), rgba(12,37,51,.82)); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 36px; }
.platform-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-booking { background: #0071c2; color: #fff; }
.btn-booking:hover { background: #0a85dd; transform: translateY(-3px); }
.btn-airbnb { background: #ff385c; color: #fff; }
.btn-airbnb:hover { background: #ff5777; transform: translateY(-3px); }
.btn-wa { background: #25d366; color: #07331a; }
.btn-wa:hover { background: #3ce47c; transform: translateY(-3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 36px 30px; text-align: center;
  box-shadow: var(--shadow); transition: transform .25s;
}
.contact-card:hover { transform: translateY(-6px); }
.contact-card .ico { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.contact-card a { color: var(--sea); font-weight: 600; word-break: break-word; }
.contact-card p { color: var(--muted); font-size: .88rem; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin-bottom: 14px; display: inline-block; }
.footer-logo span { color: var(--gold); }
.footer p, .footer a { font-size: .9rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.5);
}

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37,211,102,.45); transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .loc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-auto-rows: 160px; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: rgba(12,37,51,.97);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; visibility: hidden; transition: opacity .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { color: #fff !important; font-size: 1.25rem; }
  .section { padding: 64px 0; }
  .cta-band { background-attachment: scroll; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .facts-inner { gap: 14px 26px; }
}
