/* 
  Jinder Steel Private Limited - Main Stylesheet 
  Premium Industrial Manufacturing Corporate Website
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #D91F26;
  --secondary: #1B1B1B;
  --dark-gray: #3A3A3A;
  --light-gray: #F6F6F6;
  --white: #FFFFFF;
  --accent: #C5C7CB;
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: var(--font-body);
  color: var(--secondary);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}

p {
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--secondary);
}

/* Typography Hierarchy */
.display-1, .display-2 { font-weight: 700; letter-spacing: -0.02em; }
.section-title { font-size: 2.5rem; position: relative; display: inline-block; padding-bottom: 15px; margin-bottom: 30px; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--primary); }
.section-subtitle { font-family: var(--font-body); color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; display: block; }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }

/* Buttons */
.btn-primary-industrial {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 0;
  border: 1px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
}

.btn-primary-industrial::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: var(--secondary); z-index: -1; transition: var(--transition);
}

.btn-primary-industrial:hover { color: var(--white); border-color: var(--secondary); }
.btn-primary-industrial:hover::before { width: 100%; }

.btn-outline-industrial {
  background-color: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 0;
  border: 1px solid var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}

.btn-outline-industrial:hover { background-color: var(--white); color: var(--secondary); }

/* Header & Navbar */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  z-index: 1000;
  background: transparent;
  position: absolute;
  width: 100%;
}

.navbar.sticky {
  background: rgba(27, 27, 27, 0.95);
  padding: 10px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
}

.navbar-brand img { height: 50px; transition: var(--transition); filter: brightness(0) invert(1); }
.navbar.sticky .navbar-brand img { height: 40px; }

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin: 0 10px;
  position: relative;
}

.nav-link::after {
  content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--primary); transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary) !important; }

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 800px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
}

.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(27, 27, 27, 0.9) 0%, rgba(27, 27, 27, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: 80px;
}

.hero-content h1 { color: var(--white); font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { color: var(--accent); font-size: 1.2rem; max-width: 600px; margin-bottom: 40px; }

/* Achievement Counter Overlay */
.achievement-bar {
  background: rgba(27, 27, 27, 0.85);
  backdrop-filter: blur(10px);
  border-top: 4px solid var(--primary);
  padding: 40px 0;
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.counter-item { text-align: center; color: var(--white); border-right: 1px solid rgba(255,255,255,0.1); }
.counter-item:last-child { border-right: none; }
.counter-item h3 { font-size: 3rem; color: var(--primary); margin-bottom: 5px; }
.counter-item p { margin: 0; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-size: 0.9rem; }

/* Global Sections */
.section-padding { padding: 100px 0; }
.bg-light-gray { background-color: var(--light-gray); }

/* About Section */
.about-img-wrapper { position: relative; }
.about-img-wrapper img { width: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.experience-badge { position: absolute; bottom: -30px; right: -30px; background: var(--primary); color: var(--white); padding: 30px; border-radius: 4px; box-shadow: 0 10px 30px rgba(217, 31, 38, 0.3); text-align: center; }
.experience-badge h4 { color: var(--white); font-size: 2.5rem; margin-bottom: 0; }
.experience-badge p { color: var(--white); margin: 0; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* Products Section */
.product-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.product-card .img-wrapper { overflow: hidden; height: 250px; }
.product-card .img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .img-wrapper img { transform: scale(1.1); }
.product-content { padding: 30px; }
.product-content h4 { font-size: 1.4rem; margin-bottom: 15px; }
.product-link { color: var(--primary); font-weight: 700; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; display: inline-flex; align-items: center; }
.product-link i { margin-left: 5px; transition: var(--transition); }
.product-link:hover i { transform: translateX(5px); }

/* Why Choose Us */
.feature-card {
  padding: 40px 30px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  height: 100%;
}
.feature-card:hover { border-bottom-color: var(--primary); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.feature-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; display: inline-block; }

/* Industries */
.industry-card {
  position: relative; overflow: hidden; border-radius: 4px; margin-bottom: 30px;
}
.industry-card img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.7s ease; }
.industry-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(27,27,27,0.9), transparent); z-index: 1; transition: var(--transition);
}
.industry-card:hover img { transform: scale(1.05); }
.industry-card:hover::before { background: linear-gradient(to top, rgba(217,31,38,0.9), rgba(27,27,27,0.3)); }
.industry-content { position: absolute; bottom: 20px; left: 20px; z-index: 2; }
.industry-content h5 { color: var(--white); margin: 0; font-size: 1.3rem; }

/* Process Timeline */
.process-wrapper { display: flex; justify-content: space-between; position: relative; margin-top: 50px; flex-wrap: wrap; }
.process-wrapper::before { content: ''; position: absolute; top: 40px; left: 0; width: 100%; height: 2px; background: rgba(0,0,0,0.1); z-index: 1; }
.process-step { text-align: center; position: relative; z-index: 2; width: 16%; }
.process-icon { width: 80px; height: 80px; background: var(--white); border: 2px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; color: var(--primary); transition: var(--transition); }
.process-step:hover .process-icon { background: var(--primary); color: var(--white); box-shadow: 0 10px 20px rgba(217,31,38,0.3); }
.process-step h5 { font-size: 1.1rem; }

/* CTA Banner */
.cta-banner {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  position: relative;
  text-align: center;
}
.cta-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(217, 31, 38, 0.9); }
.cta-content { position: relative; z-index: 2; color: var(--white); }
.cta-content h2 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.cta-content p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 800px; margin: 0 auto 40px; }

/* Footer */
footer { background-color: var(--secondary); color: var(--accent); padding: 80px 0 30px; }
.footer-logo { margin-bottom: 20px; filter: brightness(0) invert(1); height: 60px; }
.footer-title { color: var(--white); font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--accent); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 30px; text-align: center; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.05); color: var(--white); border-radius: 50%; margin: 0 5px; transition: var(--transition); }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }
