/* Global Styling */
body {
    font-family: "Istok Web", sans-serif;
    margin: 0; /* Removes default browser margin */
    padding: 0;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

.content-wrapper {
    margin: 0 30px; /* 30px margin on left and right */
}

/* Navbar Styling */
/*
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(247, 247, 247, 255);
    box-shadow: 0px 4px 2px -2px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: calc(100% - 60px);
    z-index: 1000;

}*/

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(247, 247, 247, 255); /* Adjust as needed */
  z-index: 9999;            /* Ensure navbar stays on top of other elements */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0px 4px 2px -2px rgba(0,0,0,0.1); /* Optional shadow */
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    transition: background-color 0.3s;
}

.nav-links li a:hover {
    background-color: #E0E0E0;
    border-radius: 4px;
}

.logo {
    font-weight: bold;
    font-size: 1.5em;
}

/* Contact Section */
.contact {
    margin-right: 30px;
}

.contact a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.contact-icon {
    background: url('contact-icon.png') no-repeat;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.contact {
    margin: 20px;
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    width: 100%;
    height: 1100px; /* Adjusted height for consistency */
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 5%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 50%;
}

.hero-content h1 {
    font-size: 2.5em;
    margin: 0;
}

.hero-content p {
    font-size: 1.2em;
    margin: 10px 0;
}

.explore-button {
    margin-top: 20px;
    text-align: center;
}

.explore-button a {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.explore-button a:hover {
    background-color: #444;
}

/* Content Below Hero Section */
.content-wrapper {
    margin: 0 20px; /* Adds margin to left and right for content below the hero */
    padding: 20px;
    background-color: white; /* Optional background for content sections */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Optional for visual appeal */
}



/* Reset some basic elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



/* Main content area */
main {
  padding: 160px;
}

/* Grid container for the car brand cards */
.brand-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Individual card styling */
.brand-card {
  background-color: #fff;

  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-5px);
}

.brand-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.brand-card h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.brand-card p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #555;
}

/* Style for the external link, ensuring it opens in a new tab via HTML attribute */
.brand-card a {
  display: inline-block;
  text-decoration: none;
  color: #3498db;
  font-weight: 500;
  margin-top: 10px;

  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.brand-card a:hover {
  background-color: #3498db;
  color: #fff;
}

/* Responsive styling for mobile devices */
@media (max-width: 768px) {
  .brand-container {
    grid-template-columns: 1fr;
  }
}
/* Reset basic elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base styling */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header and Navigation */
header {
  background-color: #2c3e50;
  padding: 15px 20px;
}


.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

.logo img {
  max-height: 120px;
  width: auto;
}



/* Grid container for the car brand cards */
.brand-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Individual card styling */
.brand-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-5px);
}

.brand-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.brand-card h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.brand-card p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #555;
}

/* External link styling */
.brand-card a {
  display: inline-block;
  text-decoration: none;
  color: #3498db;
  font-weight: 500;
  margin-top: 10px;
  border: 1px solid #3498db;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.brand-card a:hover {
  background-color: #3498db;
  color: #fff;
}

/* Responsive styling for mobile devices */
@media (max-width: 768px) {
  .brand-container {
    grid-template-columns: 1fr;
  }
}
/* Reset basic elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base styling */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  text-align: center;

}

/* Header and Navigation */
header {
  background-color: #2c3e50;
  padding: 15px 20px;
}


.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

.logo img {
  max-height: 120px;
  width: auto;
}


/* Grid container for the car brand cards */
.brand-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Individual card styling */
.brand-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-5px);
}

/* Consistent image height, remove blue outline, and maintain aspect ratio */
.brand-card img {
  max-width: 100%;
  height: 150px;            /* Consistent height for all images */
  object-fit: contain;      /* Ensures images maintain their aspect ratio */
  margin-bottom: 10px;
  border: none;             /* Remove any default borders */
}

/* Remove focus outline from images and links */
.brand-card img:focus,
a:focus {
  outline: none;
}

.brand-card h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.brand-card p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #555;
}

/* Grayscale button styling for external links */
.brand-card a {
  display: inline-block;
  text-decoration: none;
  color: #555;              /* Grayscale text color */
  font-weight: 500;
  margin-top: 10px;
  border: 1px solid #555;   /* Grayscale border */
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.brand-card a:hover {
  background-color: #555;    /* Darken background on hover */
  color: #fff;
}

main h1, main > p {
  text-align: center;
}
.center-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

main {
  padding-top: 4rem;
}
.center-text {
  text-align: center;
  margin-top: 2rem;
}

.section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}

.fact {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

