:root {
  /* ===== BRAND COLORS (FROM LOGO) ===== */
  --primary-color: #E86A24;   /* Logo Orange */
  --dark-color: #1E1E1E;      /* Industrial Black */
  --gray-color: #6B6B6B;      /* Text Gray */
  --light-bg: #F7F7F7;        /* Section background */
  --white: #FFFFFF;
}
body {
  padding-top: 75px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;
  width: auto;
}

.logo span {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
   color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
 color: var(--primary-color);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-primary {
  
    background: var(--primary-color);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.btn-primary:hover {
  background: #cf5c1f;
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

/* ================= HERO ================= */
/* ================= HERO ENHANCED ================= */

.hero {
  position: relative;
 
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* BACKGROUND IMAGE WITH CINEMATIC ZOOM */
/* ================= HERO VIDEO BACKGROUND ================= */
/* ===== HERO FINAL FIX ===== */
.video-hero {
  position: relative;
  height: calc(100vh - 75px); /* navbar height */
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}


/* VIDEO */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.hero-video {
  filter: brightness(1.1) contrast(1.1) saturate(1.1);
}


/* DARK OVERLAY FOR TEXT READABILITY */
.video-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.25)
  );
  z-index: -1;
}


/* HERO CONTENT ANIMATION */
.video-hero .hero-content {
  color: #fff;
  max-width: 720px;
  animation: heroFade 1.2s ease forwards;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}


  
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(30,30,30,0.9),
    rgba(30,30,30,0.65)
  );
  z-index: -1;
}

/* CONTENT */
.hero-content {
  color: #fff;
  max-width: 720px;
  animation: heroFade 1.2s ease forwards;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BADGE */
.hero-badge {
  display: inline-block;
  background: rgba(232,106,36,0.2);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 18px;
}

/* HEADING */
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero h1 span {
  position: relative;
  color: var(--primary-color);
}

.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
}

/* TEXT */
.hero p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-top: 25px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.hero-buttons a {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* HERO STATS */
.hero-stats {
  display: flex;
  gap: 35px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats strong {
  font-size: 22px;
  color: var(--primary-color);
}

.hero-stats span {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {

 
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
  }
}

/* ================= ABOUT ================= */
.about {
  padding: 80px 0;
 
   background: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about h2 {
  font-size: 36px;
 color: var(--primary-color);
  margin-bottom: 20px;
}

.about p {
  margin-bottom: 15px;
  line-height: 1.7;
 color: black;
}

.about-list {
  list-style: none;
  margin-top: 15px;
}

.about-list li {
  margin-bottom: 8px;
  color: #333;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  
  .hero h1 {
    font-size: 34px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 38px;
  }
}
.section-title {
  text-align: center;
  font-size: 36px;
 color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
    color: var(--gray-color);
  margin-bottom: 40px;
}

/* PRODUCTS */
.products {
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  
  padding: 25px;
  border-radius: 12px;
   background: var(--white);
  border-top: 4px solid var(--primary-color);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
}
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.product-card h3 {
  color: var(--dark-color);
  margin-bottom: 10px;
}

/* WHY US */
.why-us {
   background: var(--light-bg);
  padding: 80px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.why-us ul {
  list-style: none;
  margin-top: 20px;
}

.why-us li {
  margin-bottom: 10px;
}

.why-box {
    background: var(--dark-color);
  color: var(--white);
  padding: 30px;
  border-radius: 12px;
}

/* STATS */
.stats {
    background: linear-gradient(135deg, var(--dark-color), #000);
  padding: 60px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats h3 {
  font-size: 40px;
color: var(--primary-color);
}

/* CTA */
.cta {
  padding: 80px 0;
 background: var(--primary-color);
}

.cta-box {
  text-align: center;
}

.cta-box h2 {
  color: var(--dark-color);
  margin-bottom: 10px;
}

/* FOOTER */
.footer {
   background: white;
  color: black;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: black;
}
.footer h4 {
  color: black;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .product-grid,
  .why-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: pulse 1.8s infinite;
}

.whatsapp-float img {
  width: 32px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
/* ===== ANIMATION BASE ===== */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* VARIATIONS */
.fade-up {
  transform: translateY(40px);
}

.fade-down {
  transform: translateY(-40px);
}

.zoom-in {
  transform: scale(0.85);
}

.zoom-in.show {
  transform: scale(1);
}
.fade-left {
  transform: translateX(-60px);
}

.fade-right {
  transform: translateX(60px);
}

.fade-left.show,
.fade-right.show {
  transform: translateX(0);
}
/* ================= MOBILE NAV ================= */
/* ================= MOBILE NAV (FIXED) ================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  border-radius: 3px;
  transition: 0.3s;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    z-index: 999;
  }

  .nav.active {
    max-height: 400px;
  }

  .nav-links {
    flex-direction: column;
    padding: 20px;
    gap: 18px;
  }

  .btn-primary {
    display: none;
  }
}

/* HAMBURGER ANIMATION */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* ===== STICKY NAVBAR SCROLL EFFECT ===== */
.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.navbar.scrolled .nav-wrapper {
  height: 65px;
  transition: height 0.3s ease;
}

.navbar.scrolled .logo img {
  height: 40px;
}
/* ================= MACHINES GALLERY ================= */

.gallery {
  padding: 80px 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

/* Hover effect */
.gallery-item:hover img {
  transform: scale(1.12);
  opacity: 0.85;
}

/* Dark overlay */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,0.4)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= PRODUCTS – GLASSMORPHISM ================= */

.products {
  padding: 90px 0;
  background: linear-gradient(180deg, #f7f7f7, #ffffff);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* GLASS CARD */
.product-card.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 18px;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.35);
}

/* IMAGE */
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

/* TITLE */
.product-card h3 {
  font-size: 18px;
  color: var(--dark-color);
  margin-bottom: 6px;
}

/* TEXT */
.product-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* HOVER EFFECT */
.product-card.glass:hover {
  transform: translateY(-10px);
  box-shadow:
    0 35px 70px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ORANGE GLOW LINE */
.product-card.glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-color), #ffb347);
}

/* MOBILE */
@media (max-width: 768px) {
  .product-card img {
    height: 180px;
  }
}/* ================= COMMON PAGE HERO ================= */

.products-container{
  position: relative;
  width: 100%;
  height: clamp(220px, 40vh, 420px); /* 👈 controls height */
  overflow: hidden;
}

/* Hero Image */
.hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* crop nicely instead of stretching */
  object-position: center;  /* keep center focus */
  display: block;
}

/* Text Overlay */
.hero-text{
  position: absolute;
  inset: 0;                 /* replaces top/left/transform */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

/* Optional heading tuning */
.hero-text h2{
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
}

/* ================= SMALL DEVICES ================= */
@media (max-width: 576px){
  .products-container{
    height: 220px;          /* fixed, clean height */
  }
}
