/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --orange-primary: #E8611A;
  --orange-light: #F48C42;
  --orange-dark: #C74E10;
  --orange-gradient: linear-gradient(135deg, #E8611A 0%, #F48C42 100%);
  --dark-slate: #2C3E50;
  --dark-navy: #1A2530;
  --dark-bg: #0F1923;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #6C757D;
  --gray-700: #495057;
  --gray-900: #212529;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-orange: 0 8px 30px rgba(232,97,26,0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.text-orange { color: var(--orange-primary); }
.text-center { text-align: center; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark-slate);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px;
  background: var(--orange-gradient);
  border-radius: 2px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 24px auto 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1.2rem;
  color: var(--dark-slate);
}
.nav-logo .highlight { color: var(--orange-primary); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-weight: 500; font-size: 0.95rem;
  color: var(--gray-700);
  position: relative; transition: var(--transition);
}
.nav-links a:hover { color: var(--orange-primary); }
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange-primary);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--orange-gradient);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--dark-slate); transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,25,35,0.92) 0%, rgba(44,62,80,0.85) 50%, rgba(232,97,26,0.3) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/images/hero-tools.jpeg');
  background-size: cover; background-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }

.hero .container { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,97,26,0.15);
  border: 1px solid rgba(232,97,26,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--orange-light);
  font-weight: 500; font-size: 0.9rem;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}
.hero-badge::before { content: '🏭'; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero h1 .highlight {
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.btn-primary {
  background: var(--orange-gradient);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-orange); }
.btn-secondary {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: var(--white); }
.hero-stats {
  flex: 0 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-5px); }
.stat-card .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card .label { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 4px; }

/* ===== ABOUT ===== */
.about { background: var(--gray-50); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image img { width: 100%; height: 450px; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,97,26,0.2), transparent);
}
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--dark-slate); margin-bottom: 20px; }
.about-content p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.05rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about-feature {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.about-feature:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.about-feature .icon {
  width: 40px; height: 40px;
  background: rgba(232,97,26,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.about-feature span { font-weight: 500; font-size: 0.9rem; }

/* ===== SERVICES (3 Main Categories) ===== */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--orange-primary); }
.service-card-img { height: 220px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card-img img { transform: scale(1.1); }
.service-card-img .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,25,35,0.8) 100%);
}
.service-card-img .icon-badge {
  position: absolute; top: 16px; right: 16px;
  width: 56px; height: 56px;
  background: var(--orange-gradient);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-orange);
}
.service-card-body { padding: 28px; }
.service-card-body h3 {
  font-size: 1.3rem;
  color: var(--dark-slate);
  margin-bottom: 12px;
}
.service-card-body p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 20px; }
.service-card-body .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.service-card-body .tag {
  background: rgba(232,97,26,0.08);
  color: var(--orange-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem; font-weight: 500;
}

/* ===== PRODUCTS DETAIL SECTION ===== */
.products { background: var(--dark-bg); color: var(--white); }
.products .section-header h2 { color: var(--white); }
.products .section-header p { color: rgba(255,255,255,0.6); }
.products .section-header h2::after { background: var(--orange-gradient); }
.product-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.product-tab {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.product-tab:hover { border-color: var(--orange-primary); color: var(--white); }
.product-tab.active {
  background: var(--orange-gradient);
  border-color: transparent;
  color: var(--white);
}
.product-panel { display: none; }
.product-panel.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; justify-content: center; }
.product-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.product-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); border-color: var(--orange-primary); }
.product-item-img { height: 220px; overflow: hidden; background: var(--white); padding: 16px; display: flex; align-items: center; justify-content: center; }
.product-item-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 0.5s ease; mix-blend-mode: multiply; }
.product-item:hover .product-item-img img { transform: scale(1.12); }
.product-item-info { padding: 20px; }
.product-item-info h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--orange-light); font-family: 'Montserrat', sans-serif; }
.product-item-info p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ===== CONTACT ===== */
.contact { background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { padding: 40px; background: var(--dark-slate); border-radius: var(--radius-lg); color: var(--white); }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-info > p { color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-icon {
  width: 52px; height: 52px;
  background: var(--orange-gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.contact-item-text .label { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.contact-item-text .value { font-size: 1.05rem; font-weight: 500; }
.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 1.4rem; color: var(--dark-slate); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--gray-700); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--gray-50);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--orange-primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232,97,26,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%;
  background: var(--orange-gradient);
  color: var(--white);
  padding: 16px;
  border: none; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-orange); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; font-family: 'Montserrat', sans-serif; }
.footer-col a { display: block; padding: 4px 0; font-size: 0.9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--orange-light); transform: translateX(5px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--orange-gradient);
  border: none; border-radius: 50%;
  color: var(--white); font-size: 1.2rem;
  cursor: pointer; z-index: 999;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ===== FLOATING CONTACT ===== */
.floating-contact {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}
.floating-contact .contact-item {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.floating-contact .contact-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.floating-contact .contact-item.phone {
  background: var(--orange-gradient);
  color: white;
  font-size: 1.5rem;
}
.floating-contact .contact-item:hover {
  transform: scale(1.1) rotate(5deg);
}
.floating-contact .contact-item::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid var(--orange-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
  opacity: 0;
}
.floating-contact .contact-item.phone::after { border-color: white; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--orange-light); border-radius: 10px; border: 3px solid var(--gray-100); }
::-webkit-scrollbar-thumb:hover { background: var(--orange-primary); }

/* ===== BUTTON EFFECTS ===== */
.btn-primary, .btn-submit {
  position: relative;
  overflow: hidden;
}
.btn-primary::before, .btn-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}
.btn-primary:hover::before, .btn-submit:hover::before {
  left: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links { display: none; position: fixed; top: 80px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 32px; gap: 20px; box-shadow: var(--shadow-lg); }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .hero .container { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .section-padding { padding: 60px 0; }
}
