/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Header Styling */
header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #0074d9;
    transform: scale(1.1);
}

/* Button Styling */
button, .nav-button {
    color: white;
    background-color: transparent;
    border: 2px solid white;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover, .nav-button:hover {
    background-color: #0074d9;
    transform: scale(1.1);
}

.nav-button.disabled {
    background-color: grey;
    cursor: not-allowed;
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
}

/* Main Content Styling */
main {
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 0;
    background-color: #222;
    color: white;
}

.hero h1 {
    font-size: 3em;
}

.hero p {
    font-size: 1.5em;
}

/* Car Selection Section */
.car-selection {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
}

.car-option {
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
    max-width: 100%;
}

.car-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.car-option h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.car-option p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.car-option button {
    background-color: #0074d9;
    border: none;
    border-radius: 5px;
}

.car-option button:hover {
    background-color: #0056b3;
}

/* Configurator Section */
.configurator {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.car-display, .car-details {
    flex: 1 1 50%;
}

.car-display {
    text-align: center;
}

.car-display img {
    width: 700px;
   
  
    border-radius: 10px;
    border: 2px solid #ccc;
}

.color-options {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.color-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
}

.color-button:hover {
    transform: scale(1.2);
}

.car-details {
    padding: 20px;
    border-left: 2px solid #cce5ff;
}

.car-details h2 {
    color: #0056b3;
    font-size: 24px;
}

.car-details ul {
    margin: 20px 0 0;
    padding-left: 20px;
    list-style: disc;
}

.car-details ul li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* About Section */
.about-section, .email-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px ;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-section h1, .email-form h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.about-section p, .email-form input, .email-form textarea {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 15px;
    width: 97%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.email-form button {
    background-color: #0074d9;
    border: none;
    border-radius: 5px;
}

.email-form button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        height: 60px;
        padding: 10px 15px;
    }

    header .logo img {
        height: 30px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .car-selection, .configurator {
        flex-direction: column;
    }

    .car-details {
        border-left: none;
        padding-left: 0;
    }

    .about-section, .email-form {
        padding: 15px;
    }
}

.timeline    {
    height: 750px;
    float: left;
    padding-top: 100px;
    padding-left: 50px;
}
.tresais{
    float: right;
    height: 650px;
    padding-top: 100px;

}
.fontfix{
 font-family: Arial;
 font-size: 1.2em;
}