:root {
  color-scheme: light;
  --bg: #f7f1e7;
  --surface: rgba(255,255,255,0.88);
  --surface-strong: #ffffff;
  --text: #1f1f1b;
  --muted: #6f6a61;
  --accent: #1c6f8b;
  --accent-soft: #a8dbe3;
  --border: rgba(31,31,27,0.12);
  --shadow: 0 24px 70px rgba(15, 18, 19, 0.08);
  --radius: 28px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(168,219,227,0.28), transparent 35%), #fbf4eb;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

button,
a {
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.top-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.top-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  gap: 0.85rem;
}

/* HERO ISPRAVLJEN */

.hero {
  min-height: 92vh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 5rem 0 6rem;
  color: #fff;

  background:
    linear-gradient(rgba(10,20,30,.58), rgba(10,20,30,.72)),
    url('webp/suncani-breg-vrdnik-kompleks.webp');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.hero h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 1.6rem auto 2.4rem;
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(28, 111, 139, 0.18);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: rgba(255,255,255,0.92);
  color: var(--text);
}

.btn-outline {
  border: 1px solid rgba(31,31,27,0.12);
  background: rgba(255,255,255,0.92);
  color: var(--text);
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 1.35rem;
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.05;
}

.align-center {
  align-items: center;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.about-features,
.benefit-grid,
.testimonial-grid,
.card-grid,
.gallery-grid {
  display: grid;
  gap: 1.5rem;
}

.about-features {
  grid-template-columns: 1fr;
}

.feature-card,
.room-card,
.benefit-card,
.testimonial-card,
.map-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card {
  padding: 1.5rem;
}

.feature-card h3,
.benefit-card h3 {
  margin-top: 0;
}

.feature-card p,
.benefit-card p,
.testimonial-card p,
.card-body p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.room-card {
  overflow: hidden;
  background: #fff;
}

.room-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin: 0 0 0.45rem;
}

.card-body ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.card-body li {
  margin-bottom: 0.55rem;
}

.wellness {
  background: rgba(255,255,255,0.84);
}

.wellness-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.wellness-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.wellness-list li {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(28,111,139,0.08);
  color: var(--text);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
}

.gallery-grid img:nth-child(1) {
  grid-column: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.benefit-card {
  padding: 1.7rem;
}

.benefit-card p {
  margin-top: 0.9rem;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.96);
}

.testimonial-card strong {
  display: block;
  margin-top: 1.35rem;
  color: var(--text);
}

.contact {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), #f8f1e6);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-list div {
  display: grid;
  gap: 0.25rem;
  padding: 1.35rem 1.25rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-list a,
.contact-list span {
  color: var(--accent);
}

.map-card iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 26px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 30px 60px rgba(15, 18, 19, 0.12);
  border-radius: 999px;
  z-index: 30;
}

.sticky-cta a {
  min-width: 110px;
}

@media (max-width: 920px) {
  .split-grid,
  .page-header .header-inner {
    grid-template-columns: 1fr;
  }

  .top-nav {
    justify-content: center;
  }

  .top-nav a {
    font-size: 0.92rem;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 80vh;
    padding-top: 4rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    justify-content: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 180px;
  }

  .gallery-grid img:nth-child(1) {
    grid-column: auto;
  }

  .sticky-cta {
    width: calc(100% - 2rem);
    left: 1rem;
    transform: none;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .section h2 {
    font-size: 2rem;
  }
}
