:root {
  --dark: #0e0e0e;
  --silver: #c5c5c5;
  --accent: #3d5d4c;
  --asphalt: #3b3b3b;
  --glow: rgba(163, 255, 203, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark);
  color: var(--silver);
  overflow-x: hidden;
}

.hero {
  background: url('#wallpaper #porsche #aesthetic.jfif') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: left;
  justify-content: left;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  text-align: center;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.title {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  color: #fff;
  text-shadow: 0 0 20px var(--glow);
}

.tagline {
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  color: #a6b3bb;
}

.cta-button {
  padding: 0.8rem 2rem;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #2e4537;
}

.specs-section {
  padding: 4rem 2rem;
  background-color: var(--asphalt);
  text-align: center;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.spec-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(163, 255, 203, 0.1);
}

.spec-card h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 0.5rem;
  color: var(--silver);
}

.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #777;
  background-color: #0f0f0f;
}

.gallery-section {
  background-color: #111;
  padding: 4rem 2rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(163, 255, 203, 0.2);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.overlay > * {
  opacity: 0;
  animation: fadeInUp 1s forwards;
}

.overlay h1 {
  animation-delay: 0.3s;
}

.overlay p {
  animation-delay: 0.6s;
}

.overlay .cta-button {
  animation-delay: 0.9s;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  position: sticky;
  top: 0;
  background-color: var(--dark);
  padding: 1rem 2rem;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.navbar a {
  text-decoration: none;
  color: var(--silver);
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: var(--accent);
}

.hero {
  background: url('images/your-wallpaper.jfif') center/cover no-repeat;
  height: 60vh;
  display: flex;
  justify-content: space-between; /* spread overlay and right text */
  align-items: center;
  padding: 0 3rem;
  position: relative;
  color: white;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem 3rem;
  border-radius: 12px;
  max-width: 40%;
  backdrop-filter: blur(8px);
}

.hero-text-right {
  max-width: 45%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem 3rem;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  text-align: left;
  color: var(--silver);
  box-shadow: 0 0 20px var(--glow);
}

.hero-text-right h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: rgba(163, 255, 203, 0.492);
}

.hero-text-right p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.navbar {
  position: sticky;
  top: 0;
  background-color: var(--dark);
  display: flex;
  align-items: center;
  padding: 0.8rem 2rem;
  z-index: 1000;
  gap: 1.5rem;
}

.nav-logo {
  height: 40px; /* adjust size */
  width: auto;
  cursor: pointer;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto; /* push nav links to the right */
}

.navbar ul li a {
  color: var(--silver);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: var(--accent);
}
