/* Starlite Auto Sales - Main Stylesheet */
:root {
  --primary: #3498db;
  --primary-dark: #2c3e50;
  --secondary: #f39c12;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --accent: #e74c3c;
  --text: #333;
  --text-light: #7f8c8d;
  --success: #2ecc71;
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Oswald', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
}

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

/* Header Styles */
header {
  background-color: var(--primary-dark);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.logo span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--secondary);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero Section */
.hero {
  margin-top: 60px;
  background-color: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
  height: 550px;
  display: flex;
  align-items: center;
}

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

.hero h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-bg {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  z-index: 1;
}

.btn {
  display: inline-block;
  background-color: var(--secondary);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #e67e22;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Featured Vehicles Section */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.featured-vehicles {
  background-color: #fff;
}

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

.vehicle-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #fff;
}

.vehicle-card:hover {
  transform: translateY(-10px);
}

.vehicle-image {
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
}

.vehicle-image svg {
  width: 80%;
  height: 80%;
}

.vehicle-details {
  padding: 20px;
}

.vehicle-details h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.vehicle-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.vehicle-features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.vehicle-feature {
  text-align: center;
}

.vehicle-feature span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
}

.vehicle-feature strong {
  color: var(--primary-dark);
}

/* About Section */
.about {
  background-color: var(--light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  position: relative;
}

.about-text h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
}

.about-text p {
  margin-bottom: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Services Section */
.services {
  background-color: #fff;
}

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

.service-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon svg {
  width: 35px;
  height: 35px;
  fill: white;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

/* Game Section */
.games {
  background-color: var(--primary-dark);
  color: #fff;
}

.games-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.games-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

.games-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.game-link {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.game-link:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}

/* Contact Section */
.contact {
  background-color: var(--light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 30px;
  position: relative;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--primary-dark);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 60px 0 30px;
}

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

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0;
}

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

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

.footer-column ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    height: auto;
    padding: 80px 0;
  }

  .hero-bg {
    width: 40%;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-bg {
    display: none;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: var(--primary-dark);
  padding: 20px;
  z-index: 999;
  transform: translateY(-150%);
  transition: transform 0.3s;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin-bottom: 15px;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  padding: 5px 0;
}
