/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #ff9900;
  color: #ffffff;
}

/* Sticky Header Wrapper */
.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgb(255, 255, 255);
}

/* Top Banner - scrolling text */
.top-banner {
  background-color: #ff6600;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1.1rem;
  height: 40px;
  display: flex;
  align-items: center;
}

.top-banner::before {
  content: "50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  50% off  •  ";
  animation: scroll-left 35s linear infinite;
  padding-left: 100%;
  display: inline-block;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Main Header */
header {
  background: #000000;
  color: rgb(255, 255, 255);
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Section padding adjusted for fixed header */
.section {
  padding: 140px 20px 80px;
  text-align: center;
}

/* Hero Section with background image */
.hero {
  background: url('images/McLaren.jpg') center center/cover no-repeat;
  color: rgb(255, 255, 255);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
}

/* Alternate background */
.alt {
  background-color: #ff8800;
}

/* About and Services Section Layout */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 400px;
  text-align: left;
}

.about-image,
.services-image {
  flex: 1 1 300px;
  text-align: center;
}

.about-image img,
.services-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
  color: #000000;
}
