/* Racing Theme - Premium Design */
:root {
  --racing-red: #dc2626;
  --racing-dark: #0a0a0a;
  --racing-yellow: #fbbf24;
  --racing-silver: #9ca3af;
  --racing-orange: #f97316;
  --racing-white: #ffffff;
  --racing-gray: #1f2937;
  --racing-light-gray: #374151;
}

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

body {
  font-family: 'Arial', 'Helvetica', sans-serif;
  background: linear-gradient(135deg, var(--racing-dark) 0%, var(--racing-gray) 100%);
  color: var(--racing-white);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Header & Navigation */
header {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 3px solid var(--racing-red);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--racing-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

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

.nav-links a {
  color: var(--racing-white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--racing-red);
  background: rgba(220, 38, 38, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23000" width="1200" height="400"/><path d="M0,200 Q300,100 600,200 T1200,200" stroke="%23dc2626" stroke-width="3" fill="none" opacity="0.3"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--racing-red);
  text-shadow: 0 0 20px rgba(220, 38, 38, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero p {
  font-size: 1.3rem;
  color: var(--racing-silver);
  max-width: 800px;
  margin: 0 auto;
}

/* Content Sections */
.content-section {
  padding: 3rem 0;
}

.content-section h2 {
  font-size: 2.5rem;
  color: var(--racing-yellow);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--racing-silver);
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.image-card {
  background: var(--racing-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
  border-color: var(--racing-red);
}

.image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(45deg, var(--racing-dark), var(--racing-gray));
  display: block;
}

.image-card-content {
  padding: 1.5rem;
}

.image-card h3 {
  color: var(--racing-yellow);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.image-card p {
  color: var(--racing-silver);
  font-size: 0.95rem;
}

/* Racing Stripes Decoration */
.racing-stripe {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--racing-red) 0px,
    var(--racing-red) 20px,
    var(--racing-yellow) 20px,
    var(--racing-yellow) 40px
  );
  margin: 2rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--racing-red);
  color: var(--racing-white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid var(--racing-red);
}

.btn:hover {
  background: transparent;
  color: var(--racing-red);
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
}

/* Footer */
footer {
  background: var(--racing-dark);
  border-top: 3px solid var(--racing-red);
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

footer p {
  color: var(--racing-silver);
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .content-section h2 {
    font-size: 1.8rem;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

/* Racing Theme Animations */
@keyframes speed-line {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.speed-effect {
  position: relative;
  overflow: hidden;
}

.speed-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.3), transparent);
  animation: speed-line 2s infinite;
}

