/* ── WeLux — Lightweight CSS ──────────────────────────────────── */
/* Minimal, clean design for a commercial real estate site.       */

:root {
  --color-primary: #1a365d;
  --color-primary-light: #2a4a7f;
  --color-accent: #e8a838;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-text: #1a1a2e;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1100px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth; scroll-padding-top: 90px;
  background: var(--color-primary);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ── Header ──────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo {
  color: #fff; font-size: 1.25rem; font-weight: 700;
  text-decoration: none; letter-spacing: .02em;
  display: flex; align-items: center;
}

.logo-img {
  height: 44px; width: auto;
  padding: 4px 6px;
  background: rgba(255,255,255,.12);
  border-radius: 6px;
}

.nav-list {
  display: flex; gap: .25rem; list-style: none;
}

.nav-list a {
  color: rgba(255,255,255,.85); text-decoration: none;
  padding: .5rem .85rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em;
  transition: background .2s, color .2s;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: rgba(255,255,255,.12); color: #fff;
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .3s;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
  content: ''; position: absolute; left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--color-primary); padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: .75rem 1rem; }
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero {
  min-height: 70vh; display: flex; align-items: center;
  background: var(--color-primary) center / cover no-repeat;
  position: relative;
}

.hero-overlay {
  width: 100%;
  background: linear-gradient(135deg, rgba(26,54,93,.92), rgba(26,54,93,.75));
  padding: 4rem 0;
}

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

.hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.2; margin-bottom: 1rem; }
.hero-sub { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }

.btn {
  display: inline-block; padding: .75rem 1.75rem;
  border-radius: var(--radius); font-weight: 600;
  text-decoration: none; transition: background .2s, transform .1s;
}

.btn-primary {
  background: var(--color-accent); color: var(--color-primary);
}
.btn-primary:hover { background: #d49a30; transform: translateY(-1px); }

/* ── Sections ────────────────────────────────────────────────── */

.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }

.section h2 {
  font-size: 1.75rem; color: var(--color-primary);
  margin-bottom: 1.5rem; position: relative; padding-bottom: .5rem;
}
.section h2::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 48px; height: 3px; background: var(--color-accent);
  border-radius: 2px;
}

.rich-text { line-height: 1.8; }
.rich-text p { margin-bottom: 1rem; }
.rich-text h3 { margin-top: 1.5rem; margin-bottom: .5rem; }

/* ── News grid ───────────────────────────────────────────────── */

.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.news-img { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 1.25rem; }
.news-body time { color: var(--color-text-muted); font-size: .85rem; }
.news-body h3 { margin: .5rem 0; font-size: 1.1rem; }
.news-body p { color: var(--color-text-muted); font-size: .95rem; }

/* ── Premises grid ───────────────────────────────────────────── */

.premises-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.premise-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s;
}
.premise-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.premise-img { width: 100%; height: 180px; object-fit: cover; }
.premise-body { padding: 1.25rem; }
.premise-body h3 { margin-bottom: .5rem; }
.premise-type {
  display: inline-block; background: var(--color-primary);
  color: #fff; font-size: .8rem; padding: .2rem .6rem;
  border-radius: 4px; margin-right: .5rem;
}
.premise-area { color: var(--color-text-muted); font-size: .9rem; }

/* ── Contact ─────────────────────────────────────────────────── */

.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.5rem;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: .75rem; color: var(--color-primary); }
.contact-card address { font-style: normal; margin-bottom: .75rem; }
.contact-card a { color: var(--color-primary-light); }
.contact-card a:hover { text-decoration: none; }

/* ── Footer ──────────────────────────────────────────────────── */

.site-footer {
  background: var(--color-primary); color: rgba(255,255,255,.7);
  padding: 2rem 0; text-align: center; font-size: .9rem;
}
