/*
Theme Name: EvoNexGen CNG Technology
Description: Premium WordPress theme for EvoNexGen CNG automotive technology company. Professional automotive design with Polish quality engineering focus.
Author: EvoNexGen Team
Version: 1.0.0
License: GPL v2 or later
Text Domain: evonexgen
Tags: automotive, technology, cng, one-page, responsive, professional
*/

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Design System - EvoNexGen Automotive Premium */
:root {
  /* Colors - Professional Automotive Palette */
  --color-background: hsl(0, 0%, 96%);
  --color-foreground: hsl(210, 11%, 15%);
  --color-card: hsl(0, 0%, 100%);
  --color-primary: hsl(214, 74%, 27%); /* Automotive Blue */
  --color-primary-foreground: hsl(0, 0%, 98%);
  --color-primary-glow: hsl(214, 74%, 35%);
  --color-secondary: hsl(146, 64%, 47%); /* Eco Green */
  --color-secondary-foreground: hsl(0, 0%, 98%);
  --color-muted: hsl(210, 25%, 95%);
  --color-muted-foreground: hsl(210, 11%, 46%);
  --color-accent: hsl(210, 11%, 85%);
  --color-border: hsl(214, 20%, 90%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 20px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 48px;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Shadows & Effects */
  --shadow-card: 0 4px 12px -2px hsla(210, 11%, 15%, 0.08);
  --shadow-premium: 0 20px 40px -12px hsla(214, 74%, 27%, 0.25);
  --shadow-glow: 0 0 30px hsla(214, 74%, 35%, 0.3);
  --border-radius: 0.75rem;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  font-size: var(--font-size-base);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsla(0, 0%, 96%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-section img {
  height: 60px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin: 0;
}

.logo-text .tagline {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--color-muted-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.main-nav a:hover {
  color: var(--color-foreground);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-glow));
  color: var(--color-primary-foreground);
  box-shadow: var(--shadow-premium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-background), hsla(210, 25%, 95%, 0.3), hsla(214, 74%, 27%, 0.05));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, 
    hsla(0, 0%, 96%, 0.95), 
    hsla(0, 0%, 96%, 0.7), 
    hsla(0, 0%, 96%, 0.3)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(214, 74%, 27%, 0.1);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  border: 1px solid hsla(214, 74%, 27%, 0.2);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  display: block;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-subtitle .emphasis {
  color: var(--color-secondary);
  font-weight: 600;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  background: hsla(146, 64%, 47%, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.benefit-text h4 {
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
}

.benefit-text span {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: hsla(210, 25%, 95%, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.section-header .highlight {
  color: var(--color-primary);
}

.section-header p {
  font-size: var(--font-size-xl);
  color: var(--color-muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: hsla(0, 0%, 100%, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  box-shadow: var(--shadow-premium);
  border-color: hsla(214, 74%, 27%, 0.2);
}

.benefit-card-icon {
  width: 4rem;
  height: 4rem;
  background: hsla(214, 74%, 27%, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-card-icon {
  background: hsla(214, 74%, 27%, 0.2);
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.benefit-highlight {
  display: inline-flex;
  background: hsla(146, 64%, 47%, 0.1);
  color: var(--color-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--color-foreground);
  color: var(--color-background);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 24rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-glow));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.footer-brand .tagline {
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: hsla(0, 0%, 100%, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-section a:hover {
  color: hsla(0, 0%, 100%, 1);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-foreground);
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-benefits {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* WordPress specific classes */
.wp-block-group {
  margin: 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}