/* Basic Reset & Theme */
* { box-sizing: border-box; }
html, body { height: 100%; }
:root{
  --bg: #0b1020;
  --fg: #e6eefc;
  --accent: #60a5fa;
  --muted: #93a4bf;
  --card: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.12);
}

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fixed full-screen background layer */
.bg-fixed{
  position: fixed;
  inset: 0;
  background: url("img/background.jpg") center / cover no-repeat fixed;
  z-index: -1;
  will-change: transform;
  filter: saturate(1.1) brightness(0.9);
}

/* Header/Nav */
.site-header{
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: linear-gradient(to bottom, rgba(11,16,32,0.8), rgba(11,16,32,0.3));
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.nav{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.nav a{
  color: var(--fg);
  text-decoration: none;
}
.nav .brand{
  font-weight: 700;
  letter-spacing: 0.3px;
}
.nav .links a{
  margin-left: 1rem;
  opacity: 0.9;
}
.nav .links a:hover{ color: var(--accent); }

/* Hero */
.hero{
  min-height: 90vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
}
.hero-inner h1{
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
  text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.hero-inner p{
  margin: 0.25rem 0 1.25rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}
.cta{
  display: inline-block;
  background: var(--accent);
  color: #08101f;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(96,165,250,0.35);
}
.cta:hover{ transform: translateY(-1px); }

/* Floating accent */
.floating-dot{
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  right: 10%;
  bottom: 12%;
  background: radial-gradient(circle at 30% 30%, rgba(96,165,250,0.5), rgba(96,165,250,0.08) 60%, transparent 70%);
  filter: blur(1px);
  pointer-events: none;
}

/* Sections */
.section{
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, rgba(11,16,32,0.55), rgba(11,16,32,0.85));
}
.section.alt{
  background: linear-gradient(to bottom, rgba(11,16,32,0.85), rgba(11,16,32,0.55));
}

.container{
  max-width: 1100px;
  margin: 0 auto;
}

h2{
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  margin: 0 0 1rem 0;
}

p, li{ color: #cfe0ff; }

.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.worklist{
  display: grid;
  gap: 0.75rem;
  padding-left: 1rem;
}
.worklist li{
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.contact{
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 600px;
}
.contact input, .contact textarea, .contact button{
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--fg);
  padding: 0.65rem 0.75rem;
}
.contact button{
  background: var(--accent);
  color: #08101f;
  font-weight: 700;
  cursor: pointer;
}

.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(11,16,32,0.7);
  padding: 1rem;
  text-align: center;
}

/* Parallax base styles */
[data-parallax]{
  will-change: transform;
  transition: transform 0.15s linear;
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  [data-parallax]{ transform: none !important; transition: none !important; }
}
