/* ============================================
   RK MANUFACTURER - FRONTEND CSS
   Premium Industrial Theme
============================================ */
:root {
  --primary: #f59e0b;     /* Warning/Yellow */
  --primary-dark: #d97706;
  --secondary: #0f172a;   /* Dark Blue/Black */
  --secondary-light: #1e293b;
  --accent: #ea580c;      /* Orange */
  --text-dark: #1e293b;
  --text-body: #475569;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.6;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  text-transform: uppercase;
}

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

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

/* ---- LOADER ---- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.loader-inner { text-align: center; }
.loader-logo { font-size: 32px; font-weight: 900; color: #fff; font-family: 'Oswald', sans-serif; margin-bottom: 20px; letter-spacing: 2px; }
.loader-bar { width: 200px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.loader-fill { height: 100%; background: var(--primary); width: 0%; animation: load 1.5s ease forwards; }
@keyframes load { to { width: 100%; } }

/* ---- TOP HEADER ---- */
.top-header {
  background: var(--secondary);
  color: #fff; padding: 8px 0; font-size: 13px;
}
.top-header-left { display: flex; gap: 20px; flex-wrap: wrap; }
.top-link { color: #cbd5e1; display: inline-flex; align-items: center; gap: 6px; }
.top-link i { color: var(--primary); }
.top-link:hover { color: #fff; }
.top-social { display: flex; gap: 10px; justify-content: flex-end; }
.social-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: var(--secondary); transform: translateY(-2px); }

/* ---- NAVBAR ---- */
.main-navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: all 0.4s ease;
}
.main-navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow-md); background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-rk { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--primary); letter-spacing: 1px; }
.logo-mfr { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; color: var(--secondary); text-transform: uppercase; }
.nav-logo-text small { font-size: 10px; font-family: 'Inter', sans-serif; color: var(--text-light); text-transform: uppercase; letter-spacing: 2px; }
.nav-logo-img { max-height: 56px; max-width: 180px; width: auto; object-fit: contain; display: block; }

.navbar-nav .nav-link {
  font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px;
  padding: 10px 15px !important; transition: var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: 5px; left: 15px; right: 15px;
  height: 2px; background: var(--primary); transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }

.btn-quote {
  background: var(--primary); color: var(--secondary);
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px;
  padding: 10px 24px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px;
  transition: var(--transition); border: 2px solid var(--primary);
}
.btn-quote:hover { background: transparent; color: var(--primary); }

.dropdown-menu { border: none; box-shadow: var(--shadow-lg); border-radius: 8px; overflow: hidden; padding: 0; }
.dropdown-item { padding: 12px 20px; font-size: 14px; border-bottom: 1px solid var(--border-color); font-weight: 500; transition: all 0.2s; }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item i { width: 20px; color: var(--primary); }
.dropdown-item:hover { background: var(--bg-light); color: var(--primary); padding-left: 25px; }

/* ---- HERO SECTION ---- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.4) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-badge { display: inline-block; background: var(--primary); color: var(--secondary); font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 4px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.hero-title { font-size: 64px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; color: #fff; }
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 18px; color: #cbd5e1; font-weight: 400; margin-bottom: 30px; max-width: 600px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.hf-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #f8fafc; }
.hf-item i { color: var(--primary); font-size: 20px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-hero-primary { background: var(--primary); color: var(--secondary); font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; padding: 14px 30px; border-radius: 4px; border: 2px solid var(--primary); text-transform: uppercase; transition: var(--transition); }
.btn-hero-primary:hover { background: transparent; color: var(--primary); }
.btn-hero-secondary { background: transparent; color: #fff; font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; padding: 14px 30px; border-radius: 4px; border: 2px solid #fff; text-transform: uppercase; transition: var(--transition); }
.btn-hero-secondary:hover { background: #fff; color: var(--secondary); }
.btn-whatsapp { border-color: #25D366; color: #25D366; }
.btn-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }

/* ---- TRUST STRIP ---- */
.trust-strip { background: var(--primary); padding: 20px 0; color: var(--secondary); overflow: hidden; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 15px; }
.trust-item i { font-size: 32px; }
.trust-text h4 { font-size: 18px; font-weight: 700; margin: 0; color: var(--secondary); }
.trust-text p { font-size: 13px; margin: 0; font-weight: 500; opacity: 0.8; }

/* ---- SECTION HEADINGS ---- */
.section-padding { padding: 80px 0; overflow: hidden; }
.bg-dark-section { background-color: var(--secondary); color: #fff; }
.bg-dark-section .section-title { color: #fff; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-subtitle { display: inline-block; font-family: 'Oswald', sans-serif; color: var(--primary); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; position: relative; }
.section-subtitle::before, .section-subtitle::after { content: ''; display: inline-block; width: 30px; height: 2px; background: var(--primary); vertical-align: middle; margin: 0 10px; }
.section-title { font-size: 42px; font-weight: 800; margin-bottom: 15px; }
.section-title span { color: var(--primary); }
.section-desc { font-size: 16px; color: var(--text-body); max-width: 700px; margin: 0 auto; }
.bg-dark-section .section-desc { color: #cbd5e1; }

/* ---- PRODUCT CARDS ---- */
.product-card {
  background: var(--bg-white); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%;
  border: 1px solid var(--border-color); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform 0.5s; padding: 10px; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge { position: absolute; top: 15px; right: 15px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; z-index: 2; }
.product-cat { position: absolute; bottom: 15px; left: 15px; background: rgba(15,23,42,0.8); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 4px; z-index: 2; backdrop-filter: blur(4px); }
.product-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-title { font-size: 20px; margin-bottom: 10px; }
.product-title a { color: var(--text-dark); }
.product-title a:hover { color: var(--primary); }
.product-desc { font-size: 14px; color: var(--text-body); margin-bottom: 15px; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 15px; margin-top: auto; }
.product-price { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; color: var(--secondary); }
.product-price small { font-size: 14px; color: var(--text-light); text-decoration: line-through; font-weight: 400; margin-right: 5px; }
.btn-view { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--bg-light); color: var(--secondary); border-radius: 50%; transition: var(--transition); }
.btn-view:hover { background: var(--primary); color: #fff; }

/* ---- FEATURES GRID ---- */
.feature-box { background: var(--bg-white); padding: 30px; border-radius: 8px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: var(--transition); height: 100%; }
.feature-box:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: rgba(245,158,11,0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; transition: var(--transition); }
.feature-box:hover .feature-icon { background: var(--primary); color: #fff; }
.feature-box h4 { font-size: 18px; margin-bottom: 15px; }
.feature-box p { font-size: 14px; color: var(--text-body); margin: 0; }

.bg-dark-section .feature-box { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); }
.bg-dark-section .feature-box h4 { color: #fff; }
.bg-dark-section .feature-box p { color: #cbd5e1; }

/* ---- APPLICATIONS ---- */
.app-card { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1; group; }
.app-card img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 10px; transition: transform 0.5s; }
.app-card:hover img { transform: scale(1.1); }
.app-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.2) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; transition: var(--transition); }
.app-card:hover .app-overlay { background: linear-gradient(to top, rgba(245,158,11,0.9) 0%, rgba(245,158,11,0.4) 100%); }
.app-icon { width: 50px; height: 50px; background: var(--primary); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 15px; transition: var(--transition); }
.app-card:hover .app-icon { background: #fff; color: var(--primary); }
.app-title { color: #fff; font-size: 20px; margin-bottom: 5px; }
.app-desc { color: rgba(255,255,255,0.8); font-size: 13px; transform: translateY(20px); opacity: 0; transition: all 0.4s; height: 0; }
.app-card:hover .app-desc { transform: translateY(0); opacity: 1; height: auto; margin-top: 10px; }

/* ---- CTA SECTION ---- */
.cta-section { background: var(--secondary); padding: 0; overflow: hidden; }
.cta-wrapper { display: flex; align-items: center; }
.cta-content { padding: 60px 50px; color: #fff; }
.cta-content h2 { color: #fff; font-size: 36px; margin-bottom: 20px; }
.cta-content h2 span { color: var(--primary); }
.cta-content p { color: #cbd5e1; font-size: 16px; margin-bottom: 30px; }
.cta-stats { display: flex; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.cta-stat-item i { font-size: 30px; color: var(--primary); margin-bottom: 10px; }
.cta-stat-item h4 { color: #fff; font-size: 28px; margin: 0; }
.cta-stat-item span { color: #cbd5e1; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.cta-image { height: 100%; min-height: 400px; background: var(--primary); position: relative; overflow: hidden; }
.cta-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; mix-blend-mode: multiply; }

/* ---- FOOTER ---- */
.site-footer { background: var(--secondary); color: #cbd5e1; padding-top: 80px; font-size: 14px; }
.footer-logo { margin-bottom: 20px; }
.footer-logo-img { max-height: 64px; max-width: 190px; width: auto; object-fit: contain; display: block; margin-bottom: 8px; }
.footer-logo .logo-rk { color: #fff; }
.footer-logo .logo-mfr { color: var(--primary); }
.footer-logo .logo-tag { font-family: 'Oswald', sans-serif; font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; }
.footer-about { margin-bottom: 25px; }
.f-social { display: inline-flex; width: 36px; height: 36px; background: rgba(255,255,255,0.05); color: #fff; border-radius: 50%; align-items: center; justify-content: center; transition: var(--transition); margin-right: 8px; }
.f-social:hover { background: var(--primary); color: #000; transform: translateY(-3px); }
.footer-heading { color: #fff; font-size: 18px; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-heading::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: #cbd5e1; display: inline-block; transition: var(--transition); }
.footer-links a i { font-size: 10px; color: var(--primary); margin-right: 8px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; margin-bottom: 15px; }
.footer-contact-list i { color: var(--primary); font-size: 16px; margin-top: 4px; width: 25px; }
.footer-contact-list a { color: #cbd5e1; }
.footer-contact-list a:hover { color: var(--primary); }
.footer-input { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; }
.footer-input:focus { background: rgba(255,255,255,0.1); border-color: var(--primary); box-shadow: none; color: #fff; }
.footer-bottom { background: #0b1120; padding: 20px 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { color: #94a3b8; font-size: 13px; }
.footer-bottom a { color: #94a3b8; font-size: 13px; }
.footer-bottom a:hover { color: var(--primary); }

/* ---- FLOATING BUTTONS ---- */
.floating-buttons { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 99; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; box-shadow: var(--shadow-lg); transition: var(--transition); position: relative; text-decoration: none !important; }
.whatsapp-float { background: #25D366; }
.whatsapp-float:hover { background: #128C7E; transform: scale(1.1); color: #fff; }
.call-float { background: var(--primary); color: #000; }
.call-float:hover { background: var(--primary-dark); transform: scale(1.1); color: #000; }
.float-label { position: absolute; right: 70px; background: rgba(0,0,0,0.8); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 4px; white-space: nowrap; opacity: 0; visibility: hidden; transition: var(--transition); pointer-events: none; }
.float-btn:hover .float-label { opacity: 1; visibility: visible; transform: translateX(-10px); }

.scroll-top { position: fixed; bottom: 30px; left: 30px; width: 45px; height: 45px; background: var(--secondary); color: #fff; border: none; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 99; box-shadow: var(--shadow-md); }
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary); color: #000; transform: translateY(-5px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .hero-title { font-size: 42px; }
  .section-title { font-size: 32px; }
  .cta-content { padding: 40px 20px; }
  .cta-image { min-height: 250px; }
  .navbar-collapse { background: var(--bg-white); padding: 20px; position: absolute; top: 100%; left: 0; right: 0; box-shadow: var(--shadow-md); border-top: 1px solid var(--border-color); }
}

@media (max-width: 576px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .top-header { display: none; }
  .section-padding { padding: 50px 0; }
  .trust-item { margin-bottom: 20px; }
  .cta-stats { gap: 20px; }
}
