/* =========================
RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* =========================
BACKGROUND (STEEL)
========================= */
body {
  color: #111;
  background:
    linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.6)),
    url("img/steel-bg.jpg") center/cover no-repeat fixed;
}

/* =========================
NAVBAR (WHITE → GLASS)
========================= */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid #eee;
}

.nav-container {
  display: flex;
  align-items: center;
  padding: 15px 40px;
}

/* LOGO */
.nav-logo {
  height: 55px;
}

/* MENU RIGHT */
nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin-left: auto;
}

/* LINKS */
nav a {
  text-decoration: none;
  color: #111;
  font-weight: 700;
  transition: 0.3s;
}

nav a:hover {
  color: #d32f2f;
}

/* SCROLL STATE */
#navbar.scrolled {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

#navbar.scrolled a {
  color: #ffffff;
}

/* =========================
HERO
========================= */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-box {
  text-align: center;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(20px);
  padding: 50px 40px;
  border-radius: 25px;
  color: #fff;
  max-width: 700px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}

.hero-box h1 {
  font-size: 3rem;
}

.hero-box h1 span {
  color: #d32f2f;
}

.hero-box p {
  margin-top: 15px;
  color: #ddd;
}

/* CTA BUTTON */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 30px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  background: linear-gradient(135deg, #d32f2f, #8b1111);
  box-shadow: 0 10px 25px rgba(211,47,47,0.35);
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(211,47,47,0.45);
}

/* =========================
GLASS SECTIONS
========================= */
.glass {
  max-width: 1100px;
  margin: 80px auto;
  padding: 60px 30px;
  border-radius: 25px;

  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);

  color: #fff;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

/* =========================
SERVICES GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
}

.card h3 {
  background: #d32f2f;
  padding: 15px;
  color: #fff;
}

.card p {
  padding: 20px;
  color: #ddd;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(211,47,47,0.3);
}

/* =========================
ABOUT
========================= */
#about p {
  text-align: center;
  max-width: 800px;
  margin: auto;
  line-height: 1.7;
  color: #ddd;
}

/* =========================
CONTACT
========================= */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 450px;
  margin: auto;
}

input, textarea {
  padding: 12px;
  border-radius: 6px;
  border: none;
}

button {
  background: #d32f2f;
  color: #fff;
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

/* =========================
SCROLL TO TOP
========================= */
#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #d32f2f;
  color: #fff;
  border: none;
  display: none;
  cursor: pointer;
}

/* =========================
ANIMATIONS
========================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
RESPONSIVE
========================= */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding: 15px 20px;
  }
}