﻿:root {
  --bg-color: #0d0d0d;
  --surface-color: #1a1a1a;
  --primary-color: #ff3300;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --nav-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  padding: 0 40px;
  background-color: rgba(13, 13, 13, 0.95);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #333;
}

.nav-brand {
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1px;
}

.nav-brand span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-switch {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  /* background-image will be set inline */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: #fff;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  border-radius: 24px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: #e0e0e0;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-primary:hover {
  background-color: #cc2900; /* Darker orange */
}

/* Products Grid */
.products-section {
  padding: 80px 5%;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #f2f2f2; /* Light background to match Precor screenshot */
  color: #111;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: #f2f2f2;
}

.product-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f2f2f2;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
}

.product-arrow {
  color: #666;
  font-size: 20px;
  transition: transform 0.3s;
}
.product-card:hover .product-arrow {
  transform: translateX(5px);
  color: var(--primary-color);
}

/* Page Header for subpages */
.page-header {
  padding: 150px 5% 60px;
  background-color: var(--surface-color);
  text-align: center;
  border-bottom: 1px solid #333;
}
.page-header h1 {
  font-size: 36px;
  margin-bottom: 15px;
}
.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Standard Content Area */
.content-area {
  padding: 60px 5%;
  min-height: 400px;
}

/* Footer */
.footer {
  background-color: #111;
  padding: 60px 40px 30px;
  border-top: 1px solid #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 16px;
  color: #fff;
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 12px;
}
