/*
  base.css
  [KPZ] PURPOSE: Reset + base element styles.
  [KPZ] SCOPE: Site-wide.
  [KPZ] DEPENDENCY: variables.css
*/

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

html{scroll-behavior:smooth;}

/* [KPZ] 2026-08-13, user request: both themes read as "too plain" — flat solid black / flat
   solid white with nothing behind the content. Replaced the flat body background with a
   subtle engineering-blueprint grid (fits a facility/engineering company) plus a soft top
   vignette for depth. Both layers use existing tokens (--line, --void-2) that already invert
   between dark/light, so this needs no new theme-specific values and stays extremely subtle —
   it should read as texture/depth on close look, not as a visible pattern from normal reading
   distance. Everything else (cards, header, sections) already paints its own background over
   this, so the grid only shows through in the gaps between them, exactly like paper under a
   drafting table lamp rather than a busy repeating graphic. */
/* [KPZ] 2026-08-14, user request: prior grid-line background read as a flat checkerboard
   ("sen her sayfayi kare yapsmisin") — user's actual compliment about the uploaded reference
   file was about its soft blurred "glow orb" background, not the file's structure/layout
   (explicitly: "temayi kopya demedim", "gorunum arka plan olarak dedim"). Replaced the two
   linear-gradient grid-line layers with several large, low-opacity radial-gradient blurs
   (amber + teal, matching the site's existing accent palette) anchored to fixed viewport
   corners via background-attachment:fixed so the glow doesn't repeat/tile as the page
   scrolls. Kept the original top-center void-2 ellipse (still wanted — it's what gives
   header/hero areas their subtle vignette) as one of the layers. Tuned independently for
   dark vs light theme below since a light background needs much lower opacity to avoid
   looking muddy/dirty. */
/* [KPZ] 2026-08-15, user request: "arka plan isiklandirmayi siyah da da bu sekilde
   belirginlestirelim" — after the light-theme glow was made more pronounced (preset 5,
   see [data-theme="light"] body below), the user asked for the dark theme's original glow to
   be intensified the same way. Widened the two top-corner circles to match light theme's
   720px radius and raised their opacity (.13 -> .30); split the single bottom-center teal
   blob into a matching amber+teal pair (mirroring light theme's structure) instead of
   raising it to light theme's literal .92/.42/.48 values, since those were tuned for a
   near-white background — on near-black, .30/.16/.20 already reads clearly brighter and
   more "glowing" than before without turning neon/washed out. Positions unchanged. */
body{
  font-family:var(--font-sans);
  background-color:var(--void);
  background-image:
    radial-gradient(ellipse 1400px 640px at 50% -8%, var(--void-2) 0%, transparent 70%),
    radial-gradient(circle 720px at 4% 2%, rgba(245,166,35,.30) 0%, transparent 74%),
    radial-gradient(circle 720px at 99% 12%, rgba(45,212,200,.30) 0%, transparent 74%),
    radial-gradient(circle 640px at 38% 100%, rgba(245,166,35,.16) 0%, transparent 70%),
    radial-gradient(circle 680px at 62% 100%, rgba(45,212,200,.20) 0%, transparent 70%);
  background-repeat:no-repeat;
  background-attachment:fixed;
  color:var(--text);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
/* [KPZ] 2026-09-05, user request (theme refresh): light is now the site's default look, and
   the brief was explicit — white-dominant, premium, "layered" (not flat), anthracite text,
   amber used only as a controlled accent, no loud colored glows. Replaced the old
   high-opacity amber/teal glow blobs (kept immediately above, for dark theme only — untouched)
   with a much quieter layered look: a soft warm-white vignette behind the header/hero and a
   barely-there gradient from the page's off-white down to its slightly deeper --void-3 tone,
   so depth reads from the page/card contrast (see components.css card shadows) rather than
   from colored light. */
[data-theme="light"] body{
  background-image:
    radial-gradient(ellipse 1400px 620px at 50% -12%, #FFFFFF 0%, transparent 65%),
    linear-gradient(180deg, #FBFAF7 0%, var(--void) 45%, var(--void-3) 100%);
  background-attachment:fixed;
}

a{color:inherit;text-decoration:none;}

img{max-width:100%;display:block;}

button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit;}

.mono{font-family:var(--font-mono);}

h1,h2,h3,h4{line-height:1.2;font-weight:700;color:var(--text);}

p{color:var(--text-dim);}

ul{list-style:none;}

/* Accessible visually-hidden utility (screen readers only) */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
