/*
 * industrial-fire.css – Drop-in theme for the same HTML markup
 * Vibe: icy industrial steel with blazing fire & molten, glowing typography
 */

/* ===== CSS Variables ===== */
:root {
  /* Cold industrial base */
  --primary-color: #00e5ff;        /* arc-welder cyan */
  --secondary-color: #7df9ff;      /* pale neon ice */
  --accent-color: #ff6a00;         /* molten orange */
  --accent-hot: #ff2f00;           /* lava red */
  --text-color: #e6e9ec;           /* cold light */
  --text-muted: #9aa3ab;           /* oxidized gray */
  --bg-900: #0a0f14;               /* deep steel void */
  --bg-800: #0e141b;               /* bay blue-black */
  --steel-500: #202932;            /* plate steel */
  --steel-400: #2a3641;            /* brushed */
  --steel-300: #3a4856;            /* bevel */
  --border-color: #1d2730;
  --shadow: 0 20px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02);
  --transition: all 0.25s cubic-bezier(.25,.46,.45,.94);
}

/* ===== Base / Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background:
    radial-gradient(1200px 600px at 120% -10%, rgba(0, 229, 255, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 120%, rgba(0, 229, 255, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-900), var(--bg-800));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-color); }

/* ===== Industrial Texture Helpers ===== */
:root {
  --plate-texture:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.07)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 2px, rgba(0,0,0,0.035) 2px 4px),
    linear-gradient(180deg, var(--steel-500), var(--steel-400));
  --perforation:
    radial-gradient(circle at 3px 3px, rgba(0,0,0,.6) 0 1px, transparent 1.2px) 0 0/12px 12px,
    radial-gradient(circle at 9px 9px, rgba(255,255,255,.08) 0 1px, transparent 1.2px) 0 0/12px 12px;
}

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.06), rgba(0,0,0,0)),
    var(--plate-texture);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.header-container {
  max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}

.logo {
  font-weight: 900; font-size: 1.8rem; letter-spacing: .5px;
  color: #eaf6fa;
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    0 0 6px rgba(0, 229, 255, .65),
    0 0 18px rgba(0, 229, 255, .35);
}
.logo span {
  color: var(--accent-color);
  text-shadow:
    0 0 8px rgba(255,106,0,.9),
    0 0 24px rgba(255,47,0,.5),
    0 2px 0 rgba(0,0,0,.4);
  animation: emberPulse 2.2s ease-in-out infinite;
}

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
  color: var(--text-color); font-weight: 700; position: relative; padding: .25rem 0;
  text-transform: uppercase; letter-spacing: .06em;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; height: 3px; width: 0%;
  background:
    linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 8px rgba(0,229,255,.6);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

/* Subtle rivets */
.header::after {
  content: ""; display: block; height: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.12)),
    var(--perforation);
  border-top: 1px solid #11161b;
}

h1, .section--html {
	max-width:1100px;
	padding:20px;
	margin:0px auto;
}


/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 5rem 1.5rem; text-align: center; margin-bottom: 3rem;
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(0,229,255,0.12), transparent 50%),
    radial-gradient(800px 420px at 85% 0%, rgba(0,229,255,0.10), transparent 55%),
    linear-gradient(180deg, #0a1016, #0b1219 55%, #0a0f14);
  border-bottom: 1px solid var(--border-color);
  box-shadow: inset 0 -80px 120px rgba(0,0,0,.35);
}

.hero::before {
  /* cold vapor shimmer */
  content: ""; position: absolute; inset: -20% -10% auto -10%;
  height: 70%; background:
    radial-gradient(closest-side, rgba(125,249,255,0.05), transparent 60%);
  filter: blur(10px); pointer-events: none;
  animation: heatShimmer 7s ease-in-out infinite alternate;
}

.hero::after {
  /* under-floor furnace glow */
  content: ""; position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%);
  width: 1200px; height: 140px;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(255,106,0,.35), transparent 70%),
    radial-gradient(35% 100% at 50% 0%, rgba(255,47,0,.28), transparent 65%);
  filter: blur(18px); pointer-events: none;
}

.hero-content { max-width: 840px; margin: 0 auto; }
.hero h1 {
  font-size: 3rem; font-weight: 1000; line-height: 1.1; margin-bottom: 1rem;
  background:
    linear-gradient(180deg, #ffffff, #dfe7eb 45%, #aab7c1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow:
    0 0 10px rgba(0,229,255,.35),
    0 0 28px rgba(0,229,255,.25),
    0 2px 0 rgba(0,0,0,.6);
  letter-spacing: .02em;
}
.hero p {
  color: var(--text-muted); font-size: 1.15rem; margin-bottom: 2rem;
}

.btn {
  display: inline-block; padding: .9rem 1.6rem; border-radius: 9999px;
  font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  background:
    linear-gradient(180deg, var(--accent-color), var(--accent-hot));
  color: #fff; border: 1px solid rgba(255, 106, 0, .35);
  box-shadow:
    0 0 12px rgba(255,106,0,.55),
    0 14px 26px rgba(255,47,0,.25),
    inset 0 1px 0 rgba(255,255,255,.2);
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: saturate(1.05) brightness(1.05); }
.btn:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(255,47,0,.22); }

/* ===== Featured Posts ===== */
.featured-posts {
  max-width: 1200px; margin: 0 auto 3rem; padding: 0 1.5rem;
}
.featured-posts h2 {
  font-size: 1.9rem; font-weight: 1000; color: #e6eef3; display: inline-block; position: relative;
  text-transform: uppercase; letter-spacing: .12em; padding-bottom: .5rem;
}
.featured-posts h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 80px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 10px rgba(0,229,255,.6);
  border-radius: 6px;
}

.posts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; margin-top: 2rem;
}

.post-card {
  position: relative; overflow: hidden; border-radius: 14px;
  background: var(--plate-texture);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
  isolation: isolate;
}
.post-card::before {
  /* diagonal brushed sheen */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 35% 65%, rgba(255,255,255,.06) 100%);
  mix-blend-mode: screen; opacity: .35; pointer-events: none;
}
.post-card::after {
  /* ember glow edge on hover */
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(255,106,0,.16), transparent 70%);
  transition: var(--transition);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.55); }
.post-card:hover::after { opacity: 1; }

.post-image {
  width: 100%; height: 220px; object-fit: cover;
  filter: grayscale(.25) contrast(1.05) saturate(0.9);
  transition: var(--transition);
}
.post-card:hover .post-image { filter: grayscale(.1) contrast(1.12) saturate(1); }

.post-content { padding: 1.3rem 1.4rem 1.4rem; }

.post-category {
  display: inline-block; padding: .32rem .75rem; margin-bottom: .8rem;
  font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  color: #061014;
  background:
    linear-gradient(180deg, var(--secondary-color), var(--primary-color));
  border: 1px solid rgba(0,229,255,.35);
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(0,229,255,.45);
}

.post-title {
  font-size: 1.28rem; font-weight: 1000; margin-bottom: .6rem;
  color: #f2f7fa;
  text-shadow: 0 0 8px rgba(0,229,255,.25);
}
.post-excerpt { color: var(--text-muted); margin-bottom: 1.1rem; }

.post-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .92rem; color: var(--text-muted);
}
.post-date { display: flex; align-items: center; gap: .5rem; }
.post-date svg { color: var(--primary-color); filter: drop-shadow(0 0 4px rgba(0,229,255,.5)); }

/* ===== Newsletter ===== */
.newsletter {
  position: relative; text-align: center; margin-bottom: 3rem;
  padding: 3.25rem 1.5rem;
  background:
    radial-gradient(700px 380px at 15% 20%, rgba(0,229,255,.12), transparent 60%),
    linear-gradient(180deg, #0a1117, #0a1016);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.newsletter::after {
  /* low smolder glow behind CTA */
  content: ""; position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%);
  width: 900px; height: 120px;
  background:
    radial-gradient(50% 100% at 50% 0%, rgba(255,106,0,.22), transparent 70%);
  filter: blur(16px); pointer-events: none;
}
.newsletter h2 {
  font-size: 2rem; color: #eaf6fa; margin-bottom: .75rem;
  text-transform: uppercase; letter-spacing: .1em;
}
.newsletter p {
  max-width: 640px; margin: 0 auto 1.75rem; color: var(--text-muted);
}
.newsletter-form {
  max-width: 560px; margin: 0 auto; display: flex; gap: .6rem;
}
.newsletter-input {
  flex: 1; padding: .9rem 1rem; border-radius: 10px;
  background: #0b141b; color: var(--text-color);
  border: 1px solid #16212a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.newsletter .btn {
  border-radius: 10px;
  box-shadow:
    0 0 12px rgba(255,106,0,.6),
    0 16px 28px rgba(255,47,0,.28),
    inset 0 1px 0 rgba(255,255,255,.18);
}

/* ===== Footer ===== */
.footer {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(0,229,255,.08), transparent 60%),
    linear-gradient(180deg, #0a0f14, #070b0f);
  color: #d9e2e8; padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;
}

.footer-column h3 {
  font-size: 1.15rem; margin-bottom: 1rem; position: relative; padding-bottom: .6rem;
  color: #eef7fb; letter-spacing: .1em; text-transform: uppercase;
}
.footer-column h3::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 8px rgba(0,229,255,.6);
  border-radius: 6px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: .75rem; }
.footer-links a {
  color: #a9b6c1; transition: var(--transition);
}
.footer-links a:hover {
  color: #ffffff; padding-left: .25rem;
  text-shadow: 0 0 8px rgba(0,229,255,.45);
}

.social-links { display: flex; gap: .8rem; margin-top: 1rem; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: #0c1319; border: 1px solid #16212a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: var(--transition);
}
.social-links a:hover {
  background: linear-gradient(180deg, var(--accent-color), var(--accent-hot));
  border-color: rgba(255,106,0,.45);
  transform: translateY(-3px) scale(1.03);
  color: #0a0f14;
  box-shadow: 0 0 14px rgba(255,106,0,.65);
}
.social-links svg { color: #89d7e6; filter: drop-shadow(0 0 6px rgba(0,229,255,.5)); }

.copyright {
  text-align: center; padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid #11161b;
  color: #8ea0ad; font-size: .9rem;
}

/* ===== Fiery Typographic Accents ===== */
.post-title,
.logo span,
.hero h1 {
  /* molten überglow layered */
  text-shadow:
    0 0 6px rgba(255,106,0,.55),
    0 0 18px rgba(255,47,0,.45),
    0 0 36px rgba(255,106,0,.35),
    0 2px 0 rgba(0,0,0,.6);
}

.logo span {
  margin-left: 5px;
}

/* ===== Accessibility: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ===== Animations ===== */
@keyframes emberPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(255,106,0,.85)) drop-shadow(0 0 24px rgba(255,47,0,.45)); }
  50%      { filter: drop-shadow(0 0 12px rgba(255,170,0,.95)) drop-shadow(0 0 36px rgba(255,80,0,.55)); }
}
@keyframes heatShimmer {
  0%   { transform: translateY(0) skewY(0.4deg); opacity: .65; }
  50%  { transform: translateY(8px) skewY(-0.4deg); opacity: .45; }
  100% { transform: translateY(0) skewY(0.6deg); opacity: .60; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
	h1, .section--html {
		max-width:100%;
		padding:20px;
		margin:0px auto;
	}
}


@media (max-width: 768px) {
  .header-container { flex-direction: column; gap: 1rem; }
  .nav-links { gap: 1rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.03rem; }
  .newsletter-form { flex-direction: column; }
  .posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hero__img {max-width:100%;}
}


@media (max-width: 480px) {
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .hero { padding: 3.2rem 1rem; }
  .hero h1 { font-size: 1.9rem; } 
}


/* === Grid-Galerie === */
.gridgallery { 
	max-width:1100px;
	padding:20px;
	margin:0px auto;
 }
.gridgallery h2 {
  font-size:1.8rem; font-weight:900; margin-bottom:1.5rem;
  text-transform:uppercase; letter-spacing:.1em; color:#eaf6fa;
  text-shadow:0 0 8px rgba(0,229,255,.35);
}
.gridgallery-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1rem;
}
.gridgallery-item {
  display:block; overflow:hidden; border-radius:12px;
  background:var(--plate-texture); border:1px solid var(--border-color);
  box-shadow:var(--shadow); transition:transform .25s ease;
}
.gridgallery-item img {
  width:100%; height:200px; object-fit:cover;
  filter:grayscale(.15) contrast(1.05);
  transition:transform .4s ease, filter .3s ease;
  display:block;
}
.gridgallery-item:hover { transform:translateY(-4px) scale(1.03); }
.gridgallery-item:hover img {
  transform:scale(1.08);
  filter:grayscale(0) contrast(1.12) saturate(1.1);
}

