/* =========================================================
   IRON GARAGE — FULL INDUSTRIAL STYLES
   dark / steel / red / brutal premium
========================================================= */

/* =========================
   VARIABLES
========================= */
:root {
  --black: #0b0d10;
  --black-2: #12151b;
  --black-3: #1a1f29;

  --steel: #2b2f38;
  --steel-light: #3a3f4b;

  --red: #e10600;
  --red-dark: #a80400;
  --red-glow: rgba(225, 6, 0, 0.6);

  --text: #e6e6e6;
  --muted: #9aa0ac;

  --shadow-soft: 0 20px 60px rgba(0,0,0,.6);
  --shadow-hard: 0 30px 80px rgba(0,0,0,.9);
  --glow-red: 0 0 40px rgba(225,6,0,.8);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: radial-gradient(circle at top, #161a22, #0b0d10 70%);
  color: var(--text);
  overflow-x: hidden;
}

body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}

/* =========================
   PRELOADER
========================= */
#preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #1a1f29, #0b0d10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}

.loader-gear {
  width: 90px;
  height: 90px;
  border: 8px solid var(--steel);
  border-top: 8px solid var(--red);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
  box-shadow: var(--glow-red);
}

#preloader span {
  margin-top: 30px;
  letter-spacing: 3px;
  font-size: 0.9rem;
  color: var(--muted);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 22px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11,13,16,.7);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.logo {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
}

.logo strong {
  color: var(--red);
}

.logo span {
  color: var(--text);
  margin-left: 6px;
}

.navbar nav a {
  margin: 0 16px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  position: relative;
  transition: color .3s ease;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .3s ease;
}

.navbar nav a:hover {
  color: var(--text);
}

.navbar nav a:hover::after {
  width: 100%;
}

/* =========================
   BUTTONS
========================= */
.btn {
  padding: 16px 38px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all .35s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: var(--glow-red);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 60px rgba(225,6,0,1);
}

.btn-outline {
  border: 2px solid var(--red);
  color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(225,6,0,.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(225,6,0,.12), transparent 45%),
    linear-gradient(180deg, #161a22, #0b0d10 70%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  animation: heroIn 1.3s ease forwards;
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: 5rem;
  letter-spacing: 3px;
  line-height: 1.1;
}

.hero h1 span {
  display: block;
  color: var(--muted);
  font-size: 1.5rem;
  letter-spacing: 6px;
}

.hero h1 strong {
  color: var(--red);
  text-shadow: 0 0 40px rgba(225,6,0,.6);
}

.hero p {
  margin: 35px 0 55px;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-actions a {
  margin: 0 12px;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 140px 90px;
}

.section-title {
  font-family: "Oswald", sans-serif;
  font-size: 3.2rem;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 90px;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: var(--red);
  display: block;
  margin: 24px auto 0;
}

/* =========================
   GRID
========================= */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

/* =========================
   ABOUT
========================= */
.about-text p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.about-list li {
  list-style: none;
  margin: 14px 0;
  font-weight: 600;
}

.about-visual {
  position: relative;
  height: 420px;
}

.metal-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--steel), var(--black-3));
  border-radius: 28px;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-hard);
}

.metal-card.accent {
  transform: rotate(6deg);
  background: linear-gradient(135deg, var(--red), var(--black));
  opacity: .7;
  filter: blur(8px);
}

/* =========================
   SERVICES
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px;
}

.service-card {
  background: linear-gradient(180deg, var(--black-3), var(--black));
  padding: 50px 35px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(225,6,0,.15));
  opacity: 0;
  transition: opacity .4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: var(--glow-red);
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: "Oswald", sans-serif;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
}

.service-card.featured {
  border: 2px solid var(--red);
}

/* =========================
   PROCESS
========================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
}

.step {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, var(--black-3), var(--black));
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.step span {
  font-size: 2.2rem;
  font-family: "Oswald", sans-serif;
  color: var(--red);
}

.step p {
  color: var(--muted);
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.gallery-item {
  height: 260px;
  background: linear-gradient(135deg, var(--steel), var(--black-3));
  border-radius: 22px;
  transition: transform .4s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  height: 540px;
}

/* =========================
   CTA
========================= */
.cta {
  background: linear-gradient(135deg, var(--red), #3b0000);
  text-align: center;
  padding: 120px 40px;
}

.cta h2 {
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
}

.cta p {
  margin: 20px 0 40px;
}

/* =========================
   CONTACT
========================= */
.contact-info p {
  margin-bottom: 10px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 16px;
  border: none;
  background: #1a1f29;
  color: var(--text);
}

.contact-form textarea {
  min-height: 120px;
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 40px;
  text-align: center;
  background: #080a0e;
  color: var(--muted);
  font-size: .85rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1000px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}
