/* Modern CSS for olds-diesel.com with industrial amber/black theme */
:root {
  --primary: #F59E0B;
  --primary-dark: #B45309;
  --secondary: #1E1E1E;
  --dark: #0F0F0F;
  --light: #FFFFFF;
  --gray: #6B7280;
  --light-gray: #E5E7EB;
  --border-color: rgba(245, 158, 11, 0.2);
}

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

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--secondary);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Industrial Background */
.industrial-bg {
  position: relative;
  overflow: hidden;
}

.industrial-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(0deg, rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0.8)),
    repeating-linear-gradient(45deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.05) 10px, transparent 10px, transparent 20px);
  z-index: -1;
}

/* Header Styles */
.header {
  padding: 20px 0;
  background-color: var(--dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background-color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-graphic {
  flex: 1;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--primary);
  text-transform: uppercase;
}

.hero-subtitle {
  color: var(--light-gray);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-description {
  margin-bottom: 2rem;
  color: var(--gray);
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--dark);
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 2px solid var(--primary);
}

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

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

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

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--dark);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
  text-transform: uppercase;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 15px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(30, 30, 30, 0.7);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  padding: 30px;
  transition: all 0.3s;
}

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

.service-icon {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--light);
}

.service-description {
  color: var(--gray);
}

/* Games Section */
.games {
  padding: 80px 0;
  background-color: var(--secondary);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.game-card {
  background-color: var(--dark);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s;
}

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

.game-header {
  background-color: rgba(245, 158, 11, 0.1);
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.game-title {
  margin: 0;
  font-size: 1.3rem;
  color: var(--primary);
}

.game-content {
  padding: 20px;
}

.game-description {
  margin-bottom: 20px;
  color: var(--gray);
}

.game-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.game-link {
  display: block;
  padding: 10px 15px;
  background-color: rgba(245, 158, 11, 0.1);
  border-left: 3px solid var(--primary);
  text-decoration: none;
  color: var(--light);
  transition: all 0.3s;
}

.game-link:hover {
  background-color: rgba(245, 158, 11, 0.2);
  padding-left: 20px;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--dark);
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
}

.about-content h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 15px 0 0;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.about-image {
  text-align: center;
}

/* Footer */
.footer {
  background-color: var(--dark);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-text {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-about p {
  color: var(--gray);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border-radius: 4px;
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--dark);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--light);
  text-transform: uppercase;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  margin-top: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--gray);
  font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.3s ease;
    opacity: 0;
    gap: 0;
    pointer-events: none;
  }
  
  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 15px 20px;
    text-align: center;
  }
  
  .hero-container {
    flex-direction: column;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-outline {
    margin: 10px 0 0;
    display: inline-block;
  }
}
