/* VASTEC Chemical - Modern B2B Website */
/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1a1a2e; background: #fff; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Colors */
:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --secondary: #2c3e50;
  --accent: #e74c3c;
  --text: #1a1a2e;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --white: #ffffff;
  --border: #e9ecef;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

/* Typography */
h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { color: var(--text-light); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.25rem;
}
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { font-weight: 500; color: var(--text); position: relative; }
.nav a:hover { color: var(--primary); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.nav-cta::after { display: none !important; }

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192,57,43,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(231,76,60,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192,57,43,0.4);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trust Bar */
.trust-bar {
  padding: 40px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-weight: 500;
}
.trust-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

/* Section Styles */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(192,57,43,0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.125rem; }

/* Product Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.category-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.3s;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.category-card:hover::before { height: 100%; }
.category-icon {
  width: 56px;
  height: 56px;
  background: rgba(192,57,43,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.category-card h3 { margin-bottom: 12px; }
.category-card p { font-size: 0.9rem; margin-bottom: 16px; }
.category-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

/* Featured Products */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.product-content { padding: 24px; }
.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(192,57,43,0.1);
  color: var(--primary);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.product-content h4 { margin-bottom: 8px; }
.product-content p { font-size: 0.9rem; margin-bottom: 16px; }
.product-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
}
.spec-icon {
  width: 20px;
  height: 20px;
  background: var(--bg-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}
.why-content h2 { margin-bottom: 24px; }
.why-content p { margin-bottom: 32px; font-size: 1.125rem; }
.why-list { list-style: none; }
.why-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(192,57,43,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.why-text h4 { margin-bottom: 4px; }
.why-text p { font-size: 0.9rem; }
.why-visual {
  position: relative;
}
.why-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 6rem;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}
.cta h2 { color: white; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.9); font-size: 1.25rem; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: white;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin: 20px 0;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.social-icon:hover {
  background: var(--primary);
}
.footer-col h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { max-width: 600px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .nav { display: none; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: var(--shadow-lg);
  }
  .menu-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* Language Switcher */
.lang-switcher { position: relative; display: inline-block; margin-left: 8px; z-index: 10001; }
.lang-btn {
  background: #e74c3c; border: 2px solid #fff; color: #fff;
  padding: 6px 16px; border-radius: 20px; cursor: pointer;
  font-size: .85rem; font-weight: 700; white-space: nowrap;
  transition: all .2s; box-shadow: 0 2px 8px rgba(231,76,60,.4);
}
.lang-btn:hover { background: #c0392b; transform: scale(1.05); }
.lang-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.2);
  z-index: 10001; min-width: 180px; overflow: hidden;
}
.lang-dropdown.show { display: block; }
.lang-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; color: #333; font-size: .9rem; transition: background .2s;
}
.lang-dropdown a:hover { background: #f0f0f0; }
.lang-dropdown a.current { background: #fff3f3; color: #e74c3c; font-weight: 600; }

