:root {
  --bg-dark: #020617;
  --bg: #0f172a;
  --bg-soft: #f8fafc;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --text-main: #020617;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-soft);
  color: var(--text-main);
  line-height: 1.7;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 5rem 1.5rem;
}

.container.narrow {
  max-width: 900px;
}


header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

header.transparent {
  background: transparent;
  border-bottom: none;
}

nav {
  max-width: 1200px;
  margin: auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav strong {
  color: white;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

nav a {
  color: #cbd5f5;
  margin-left: 1.2rem;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  min-height: 100vh;              /* VISINA EKRANA */
  display: flex;
  align-items: center;            /* vertikalno centriranje */
  justify-content: center;        /* horizontalno centriranje */
  text-align: center;
  color: white;
  padding: 0 1.5rem;

  background-image:
    linear-gradient(
      rgba(2,6,23,0.65),
      rgba(2,6,23,0.85)
    ),
    url("./images/me.png");                 /* ili lake.png / group.png */

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

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 900px;
  margin: auto;
  letter-spacing: -0.02em;
}

.hero p {
  margin-top: 1.5rem;
  color: #cbd5f5;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

.hero .cta {
  margin-top: 3rem;
  display: inline-block;
  background: var(--primary);
  color: #022c22;
  padding: 1rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.1rem;
  letter-spacing: -0.02em;
}

.section-title p {
  margin-top: 0.7rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card);
  padding: 2.4rem;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.icon {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}

/* Forms */
form {
  max-width: 520px;
  margin: auto;
}

form input,
form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

form button {
  width: 100%;
  background: var(--bg);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Legal pages */
.legal h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.legal h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}

.legal p,
.legal li {
  color: #334155;
}

.legal ul {
  padding-left: 1.2rem;
  margin-top: 0.6rem;
}

/* Footer */
.site-footer {
  background: radial-gradient(
    circle at top,
    #1e293b,
    #020617
  );
  color: #e5e7eb;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: auto;
}

.site-footer h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  color: white;
}

.footer-email {
  margin-bottom: 1.6rem;
}

.footer-email a {
  color: #c7d2fe;
  font-size: 1.05rem;
  text-decoration: none;
}

.footer-links {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  margin: 0 0.3rem;
}

.footer-links span {
  color: #475569;
}

.footer-copy {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 1.5rem;
}

.footer-address {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  nav div {
    display: none;
  }

  .hero {
    padding: 7rem 1.5rem 6rem;
  }
}
