/* Nurdug AG - styles-v1.css
   Brand: #3B82E0 blue + #B87333 copper wave on deep navy background
   Glassmorphism cards. Vanilla CSS, no preprocessor. */

:root {
  --bg-deep: #0a1628;
  --bg-mid: #112339;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border-soft: rgba(255,255,255,0.08);
  --border-gold: rgba(184,115,51,0.35);
  --blue: #3B82E0;
  --blue-light: #6FC7F7;
  --gold: #B87333;
  --gold-deep: #8B4513;
  --text-primary: #f4f6fb;
  --text-secondary: rgba(244,246,251,0.78);
  --text-muted: rgba(244,246,251,0.55);
  --text-faint: rgba(244,246,251,0.4);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1280px;
  --content-w: 920px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* RTL support */
body[dir="rtl"] { direction: rtl; }
body[dir="rtl"] .nav-links { flex-direction: row-reverse; }
body[dir="rtl"] .nav-right { flex-direction: row-reverse; }

/* Atmosphere */
.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(0,119,238,0.18), transparent 55%),
    radial-gradient(ellipse at 90% 110%, rgba(212,175,55,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, #08102a 50%, var(--bg-deep) 100%);
  z-index: -2;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.7), transparent 70%);
}

/* Navigation */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  background: rgba(6,9,28,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-logo .nav-mark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  display: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language switcher */
.lang-switch {
  position: relative;
}

.lang-toggle {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: var(--sans);
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-gold);
}

.lang-arrow { font-size: 9px; opacity: 0.6; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(10,14,39,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 6px;
  min-width: 180px;
  display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  max-height: 400px;
  overflow-y: auto;
}

.lang-switch.open .lang-menu { display: block; }

.lang-menu button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  padding: 9px 14px;
  font-size: 13px;
  font-family: var(--sans);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
}

body[dir="rtl"] .lang-menu button { text-align: right; }

.lang-menu button:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.lang-menu button.active { background: rgba(0,119,238,0.15); color: var(--blue-light); }

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.88) saturate(1.0);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Left-weighted veil: strong behind text (left), fading to visible architecture on the right.
     Plus a soft bottom vignette so the CTA buttons have enough contrast. */
  background:
    linear-gradient(90deg, rgba(6,9,28,0.48) 0%, rgba(6,9,28,0.32) 40%, rgba(6,9,28,0.08) 70%, rgba(6,9,28,0) 100%),
    linear-gradient(180deg, rgba(6,9,28,0) 0%, rgba(6,9,28,0) 60%, rgba(6,9,28,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-w);
  width: 100%;
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  margin-bottom: 28px;
  background: rgba(212,175,55,0.06);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(54px, 9vw, 116px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--text-primary);
  text-shadow: 0 2px 28px rgba(0,0,0,0.75), 0 2px 4px rgba(0,0,0,0.55);
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--gold);
  margin-bottom: 28px;
  max-width: 760px;
  text-shadow: 0 2px 22px rgba(0,0,0,0.75), 0 1px 3px rgba(0,0,0,0.55);
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 44px;
  max-width: 680px;
  text-shadow: 0 1px 14px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--sans);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: #0066cc;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,119,238,0.4);
}

.btn-outline {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(212,175,55,0.08);
  border-color: var(--gold);
  color: var(--gold);
}

/* SECTIONS */
section {
  padding: 120px 32px;
  position: relative;
}

.section-inner {
  max-width: var(--content-w);
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 56px;
  color: var(--text-primary);
  max-width: 760px;
}

.section-text {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.85;
  color: var(--text-secondary);
}

.section-text p { margin-bottom: 24px; }
.section-text p:last-child { margin-bottom: 0; }

/* Three-column work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.work-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.work-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card:hover { background: var(--bg-card-hover); border-color: var(--border-gold); transform: translateY(-3px); }
.work-card:hover::before { opacity: 1; }

.work-card-label {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.work-card p { font-size: 15px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 16px; }
.work-card p:last-child { margin-bottom: 0; }

/* Where We Look — vertical category blocks */
.where-list { margin-top: 32px; }

.where-block {
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.where-block:last-of-type { border-bottom: 1px solid var(--border-soft); }

.where-label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.3;
}

.where-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.where-close {
  margin-top: 48px;
  padding: 28px 32px;
  background: rgba(0,119,238,0.06);
  border-left: 3px solid var(--blue);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  font-family: var(--serif);
}

body[dir="rtl"] .where-close { border-left: none; border-right: 3px solid var(--blue); }
body[dir="rtl"] .where-block { grid-template-columns: 1fr 280px; }

/* What We Will Not Do — denial list */
.wnot-list { margin-top: 16px; }

.wnot-item {
  padding: 24px 0;
  border-top: 1px solid var(--border-soft);
  position: relative;
  padding-left: 48px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.wnot-item::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 24px;
  color: var(--gold);
  font-weight: 700;
  font-size: 20px;
}

body[dir="rtl"] .wnot-item { padding-left: 0; padding-right: 48px; }
body[dir="rtl"] .wnot-item::before { left: auto; right: 0; }

.wnot-list .wnot-item:last-child { border-bottom: 1px solid var(--border-soft); }

.wnot-close {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
  line-height: 1.5;
  max-width: 720px;
}

/* Contact */
.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 48px;
  margin-top: 32px;
  border-top: 2px solid var(--gold);
}

.contact-company {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
}

.contact-rows { display: grid; grid-template-columns: 160px 1fr; row-gap: 16px; column-gap: 24px; align-items: baseline; }

.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
}

.contact-value a {
  color: var(--blue-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.contact-value a:hover { border-bottom-color: var(--blue-light); }

/* Footer */
footer {
  padding: 64px 32px 48px;
  border-top: 1px solid var(--border-soft);
  background: rgba(0,0,0,0.25);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo img { height: 96px; width: auto; }

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.footer-legal {
  font-size: 12px;
  color: var(--text-faint);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(6,9,28,0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-soft);
    gap: 20px;
  }
  .mobile-toggle { display: block; }
  .hero { padding: 110px 20px 80px; min-height: 90vh; }
  section { padding: 80px 20px; }
  .where-block { grid-template-columns: 1fr; gap: 16px; }
  body[dir="rtl"] .where-block { grid-template-columns: 1fr; }
  .contact-rows { grid-template-columns: 1fr; row-gap: 8px; }
  .contact-label { padding-top: 12px; }
  .contact-card { padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .work-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 48px; }
  .hero-tagline { font-size: 20px; }
  .nav-logo img { height: 32px; }
  .btn { padding: 12px 22px; font-size: 12px; }
  .section-title { font-size: 32px; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
