:root {
  --primary: #006699;
  --secondary: #2ba7df;
  --dark: #1e293b;
  --light: #f8fafc;
  --white: #ffffff;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar */
.navbar {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
}

.logo img {
  height: 80px;
  display: block;
}

nav a {
  text-decoration: none;
  margin-left: 25px;
  font-weight: 600;
  color: #333;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  color: #333;
}

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  min-height: 480px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/SteelRamps/20260312_095733.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Buttons */
.btn {
  background: var(--primary);
  color: #000;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

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

/* Prevent contact-info link styles from overriding button text */
.contact-info a.btn {
  color: #000;
}

.contact-info a.btn:hover {
  color: #fff;
  text-decoration: none;
}

/* Sections */
section {
  padding: 80px 0;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
  font-size: 2rem;
}

.bg-light {
  background: #f3f7fa;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  font-size: 1.1rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Contact */
.contact {
  background: #f3f7fa;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--secondary);
  border-color: transparent;
}

/* Footer */
footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 25px;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
  }

  nav.active {
    display: block;
  }

  nav a {
    display: block;
    margin: 12px 0;
  }

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

  .hero p {
    font-size: 1.05rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 60px;
  }

  section {
    padding: 60px 0;
  }
}
