/* Theme colors */
:root {
  --primary: #2b3b4e;
  --primary-dark: #1a2530;
  --secondary: #c41e3a;
  --secondary-light: #e63946;
  --text: #333333;
  --text-light: #666666;
  --light: #f8f9fa;
  --gray: #6c757d;
  --steel-gray: #71797e;
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-light) 100%
  );
}

/* Typography */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Titillium+Web:wght@600;700&display=swap");

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: "Roboto", sans-serif;
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Titillium Web", sans-serif;
  margin: 0;
}

/* Enhanced background pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.02) 75%);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

/* Enhanced Navigation */
nav {
  background: var(--gradient-primary);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.8rem 2rem;
  background: var(--primary-dark);
}

.nav-brand {
  position: relative;
}

/* Enhanced CTA Button */
.cta-button {
  background: var(--gradient-secondary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  border-color: var(--secondary-light);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

.cta-button:hover::before {
  transform: translateY(0);
}

/* Enhanced Hero Section */
.hero-image {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin: -2.5rem -2.5rem 2rem;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.steelworksexpert.com/wp-content/uploads/2024/07/banner-1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.3);
  z-index: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(5px);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  background: linear-gradient(120deg, #ffffff, #f0f0f0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.3rem;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Enhanced Content Styling */
.blog-post {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  margin: 2rem auto;
  max-width: 1000px;
  position: relative;
}

.intro {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.highlight-text {
  background: linear-gradient(
    120deg,
    rgba(230, 57, 70, 0.1),
    rgba(255, 215, 0, 0.1)
  );
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  color: var(--primary);
  font-weight: 500;
}

/* Enhanced Feature Sections */
.feature-section {
  margin: 4rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff, var(--light));
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-section h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid var(--secondary);
}

.feature-list ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.feature-list li {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.feature-list li strong {
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

/* Enhanced Feature Cards */
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Enhanced Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

/* Center the section title */
.conclusion h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
  font-size: 2.2rem;
}

.benefit-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--steel-gray);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--secondary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

/* Enhanced CTA Links */
.cta-link {
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(230, 57, 70, 0.1);
  margin: 0 0.3rem;
}

.cta-link::after {
  content: "→";
  margin-left: 0.6rem;
  transition: transform 0.3s ease;
}

.cta-link:hover {
  background: rgba(230, 57, 70, 0.15);
  color: var(--secondary-light);
}

.cta-link:hover::after {
  transform: translateX(4px);
}

/* Enhanced Conclusion CTA */
.conclusion-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--gradient-primary);
  border-radius: 12px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.conclusion-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shine 3s infinite linear;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.conclusion-cta p {
  font-size: 1.2rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-image {
    height: 350px;
    margin: -1.5rem -1.5rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .blog-post {
    padding: 1.5rem;
  }

  .feature-section {
    padding: 1.5rem;
  }

  .benefits-grid {
    gap: 1.5rem;
  }

  .conclusion-cta {
    padding: 2rem;
  }

  .nav-brand {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 0.7rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .feature-section h2 {
    font-size: 1.8rem;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }
}

/* Logo styling */
.logo {
  height: 45px;
  width: auto;
  background-color: var(--primary);
  mix-blend-mode: multiply;
  filter: brightness(1.2) contrast(1.1);
  padding: 4px;
  border-radius: 4px;
}

.benefit-card h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.benefit-card p {
  text-align: center;
  margin: 0;
}
