﻿:root {
  --bg-dark: #050609;
  --bg-darker: #020308;
  --bg-light: #f5f5f7;
  --accent: #ff6b2b;
  --accent-soft: rgba(255, 107, 43, 0.12);
  --text-light: #f9fafb;
  --text-muted: #9ca3af;
  --text-dark: #111827;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5,6,9,0.95), rgba(5,6,9,0.75));
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand span:first-child {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--accent);
}

.brand span:last-child {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
  background: rgba(148,163,184,0.18);
}

.lang-switch button {
  border: 1px solid rgba(148,163,184,0.6);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  margin-left: 0.2rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button.active {
  border-color: var(--accent);
  color: var(--text-light);
}

/* LAYOUT */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* HERO */

.hero {
  margin-top: 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  background: url("img/hero.jpg") center/cover no-repeat;
  min-height: 50vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.hero-img {
  grid-column: 2;
  position: relative;
  overflow: hidden;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}


.hero-content {
  grid-column: 1;
  padding: 2.1rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;

  position: relative;
  z-index: 10;

  background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0));
}


}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent) !important;
  background: rgba(0,0,0,0.45);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  display: inline-block;
}




.hero h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.hero p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.75);
}

.badge strong {
  color: var(--accent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.btn-primary,
.btn-outline {
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148,163,184,0.7);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--text-light);
}

/* CARDS GRID */

.section {
  margin-top: 2.5rem;
}

.section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.section p.section-subtitle {
  margin-top: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  border-radius: 1rem;
  background: linear-gradient(145deg, #020617, #02040a);
  border: 1px solid rgba(148,163,184,0.35);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 0, rgba(255,107,43,0.17), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover::before {
  opacity: 1;
}

.card small {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.9);
}

.card h3 {
  margin: 0;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card a {
  margin-top: auto;
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* GALLERY */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery figure {
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(148,163,184,0.35);
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery figcaption {
  padding: 0.4rem 0.6rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* LIGHT PAGE (např. apartman.html) */

body.light {
  background: var(--bg-light);
  color: var(--text-dark);
}

body.light main {
  padding-top: 1.5rem;
}

body.light .navbar {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #e5e7eb;
}

body.light .brand span:last-child {
  color: #6b7280;
}

body.light .nav-links a {
  color: #6b7280;
}

body.light .nav-links a:hover,
body.light .nav-links a.active {
  color: #111827;
  background: rgba(148,163,184,0.15);
}

body.light .section h2 {
  color: #111827;
}

body.light .section p.section-subtitle {
  color: #6b7280;
}

body.light .card {
  background: #ffffff;
  border-color: #e5e7eb;
}

body.light .card p {
  color: #6b7280;
}

body.light .gallery figure {
  background: #f9fafb;
  border-color: #e5e7eb;
}

body.light footer {
  background: #111827;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(148,163,184,0.3);
  padding: 1.2rem 1.25rem 1.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: #020617;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* RESP */

@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-img {
    height: 200px;
  }

  .hero-content {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

.hero-kicker { color: var(--accent) !important; }
