/* =====================================================
   LuminaSpace Noir (v2) — Premium Dark Theme
   ===================================================== */

:root {
  --obsidian: #0A0A0A;
  --charcoal: #151515;
  --coal: #1F1F1F;
  --gold: #D4AF37;
  --champagne: #F1E5AC;
  --silver: #AAAAAA;
  --ice: #F8F8F8;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

/* Base
   -------------------------------------------------- */
html { scroll-behavior: smooth; }
body { 
  background-color: var(--obsidian); 
  color: var(--silver); 
  letter-spacing: 0.01em; 
  -webkit-font-smoothing: antialiased; 
}

/* Navbar
   -------------------------------------------------- */
#navbar { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border-bottom: 1px solid transparent; }
#navbar.scrolled { 
  background: rgba(10, 10, 10, 0.9); 
  backdrop-filter: blur(15px); 
  padding-top: 1rem; 
  padding-bottom: 1rem; 
  border-bottom: 1px solid var(--border-subtle);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute; width: 0; height: 1px;
  bottom: -4px; left: 0;
  background: var(--gold);
  transition: width 0.4s ease;
}
.nav-link:hover::after { width: 100%; }

/* Hero
   -------------------------------------------------- */
.hero-bg {
  background-image: linear-gradient(to right, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.3) 100%),
                    url('../img/hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Section Header Decoration
   -------------------------------------------------- */
.sec-label {
  display: flex; align-items: center; gap: 0.75rem;
  letter-spacing: 0.35em; text-transform: uppercase;
  font-size: 0.65rem; color: var(--gold); font-weight: 500;
}
.sec-label::before { content: ''; width: 25px; height: 1px; background: var(--gold); }

/* Service/Testi Cards
   -------------------------------------------------- */
.noir-card {
  background: var(--charcoal);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s ease;
  overflow: hidden;
}
.noir-card:hover { 
  border-color: rgba(212, 175, 55, 0.4); 
  transform: translateY(-8px); 
  box-shadow: 0 30px 60px rgba(0,0,0,0.4); 
}

/* Portfolio Card (v2)
   -------------------------------------------------- */
.port-item { overflow: hidden; position: relative; }
.port-item img { transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1); filter: brightness(0.9); }
.port-item:hover img { transform: scale(1.1); filter: brightness(1.1); }

.port-overlay {
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%);
  opacity: 0.85; transition: all 0.5s ease;
}
.port-item:hover .port-overlay { opacity: 1; transform: translateY(0); }

/* Buttons
   -------------------------------------------------- */
.btn-noir {
  background: transparent;
  color: var(--ice);
  border: 1px solid var(--gold);
  padding: 1rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}
.btn-noir::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%;
  background: var(--gold); z-index: -1; transition: width 0.4s ease;
}
.btn-noir:hover::before { width: 100%; }
.btn-noir:hover { color: var(--obsidian); }

.btn-gold-solid {
  background: var(--gold);
  color: var(--obsidian);
  padding: 1rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-gold-solid:hover { background: var(--champagne); letter-spacing: 0.25em; }

/* Stat numbers
   -------------------------------------------------- */
.stat-large {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; color: var(--gold); font-weight: 300;
}

/* Form Styles
   -------------------------------------------------- */
.form-input-noir {
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%; padding: 1.25rem 0; color: white;
  transition: border-color 0.4s; outline: none;
}
.form-input-noir:focus { border-color: var(--gold); }

/* ── Banner ─────────────────────────────── */
.banner-noir {
  background-image: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.40) 100%),
                    url('../img/hero.png');
  background-size: cover; background-position: center;
  padding: 12rem 0 6rem 0;
}

/* ── Typography Accents ────────────────── */
.italic-accent {
  font-style: italic; font-family: 'Playfair Display', serif; color: var(--gold);
}

/* ── Image Layouts ─────────────────────── */
.img-reveal { overflow: hidden; }
.img-reveal img { transition: transform 1.2s cubic-bezier(0.1, 0, 0.1, 1); }
.img-reveal:hover img { transform: scale(1.05); }

/* ── Process Steps (Noir) ───────────────── */
.step-dot {
  width: 10px; height: 10px; background: var(--gold); border-radius: 50%;
  position: relative; z-index: 2;
}
.step-line { width: 1px; height: 100%; background: var(--border-subtle); position: absolute; left: 5px; top: 0; }

/* ── Scrollbars ─────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: var(--coal); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
