* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:'Pixelify Sans', sans-serif;
    background: url('https://c.tenor.com/pl_gFQutg-sAAAAC/drift-240sx.gif');
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Arial, sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #000000;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    width: auto;
} 

.nav {
    font-family:'Pixelify Sans', sans-serif;
    display: flex;
    gap: 20px;
}

.nav-button {
    font-family: 'Pixelify Sans', sans-serif;
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    text-decoration: none;
    color: rgb(236, 2, 2);
    background-color: #000000; 
    border-radius: 5px;
    text-align: center;
}

.nav-button:hover {
    font-family: 'Pixelify Sans', sans-serif;
    background-color: #ffffff; 
}

.search-bar input {
    font-family: 'Pixelify Sans', sans-serif;
    padding: 10px;
    width: 200px;
    border: 1px solid #ff0000;
    border-radius: 5px;
}


main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
    padding: 50px 20px;
}

.car-container {
    font-family: 'Pixelify Sans', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #0000005d;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 450px; 
    align-self: center; 
    margin: 20px auto; 
}

.car-image-container {
    background-color: rgba(255, 255, 255, 0.614);
    padding: 15px; 
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.car-image-container:hover .car-image img {
    transform: scale(1.1);
}

.car-info {
    font-family: 'Pixelify Sans', sans-serif;
    background-color: rgba(0, 0, 0, 0.259);
    padding: 20px; 
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.car-info h2,
.car-info h3,
.car-info h4,
.car-info p {
    margin: 10px 0;
}


.stats-container {
    font-family: 'Pixelify Sans', sans-serif;
   background-color: #000000;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.stats-icon {
    font-family: 'Pixelify Sans', sans-serif;
    width: 50px; 
    height: auto; 
    margin-right: 10px; 
    vertical-align: middle; 
}

.stats-header {
    font-family: 'Pixelify Sans', sans-serif;
    color: #000000;
    font-size: 24px;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.stats-content {
    font-family: 'Pixelify Sans', sans-serif;
    color: #ffffff;
    display: none;
}

.stats-container:hover .stats-content {
    display: block;
    background: rgba(0, 0, 0, 0.344);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.price-container {
    font-family: 'Pixelify Sans', sans-serif;
    background-color: #43434390;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgb(255, 255, 255);
    text-align: center;
}

.price {
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 20px;
    background-color: rgb(0, 0, 0);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

footer {
    font-family: 'Pixelify Sans', sans-serif;
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #333; 
    color: white; 
}

.footer-section {
    flex: 1;
    margin-right: 20px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: white; 
    text-decoration: none; 
}

.footer-section ul li a:hover {
    text-decoration: underline; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pixelify Sans', sans-serif;
    background: url('https://c.tenor.com/pl_gFQutg-sAAAAC/drift-240sx.gif');
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #000000;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-button {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ff0000;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-button:hover {
    background-color: #ffffff;
    color: #000000;
}

.search-bar input {
    padding: 10px;
    width: 200px;
    border: 1px solid #ff0000;
    border-radius: 5px;
}

.hero-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    background-color: #ffffff;
    background-image: url('assets/image/AE86_5-removebg-preview.png'); 
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-image-container {
    flex: 1;
}

.hero-image-container img {
    width: 100%;
    max-width: 100%;
}

.hero-content {
    flex: 1;
    background-color: rgb(255, 255, 255); 
    padding: 20px;
}

.hero-content h1 {
    color: #000000;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #000000; 
}

.hero-button {
    font-family: 'Pixelify Sans', sans-serif;
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.hero-button:hover {
    background-color: #ffffff;
    color: #ff0000;
}

.feature-box {
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.feature-box:hover {
    transform: translateY(-10px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pixelify Sans', sans-serif;
    background-color: #000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.feature-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.feature-box1 {
    position: relative;
    width: calc(50% - 20px);
    max-width: 400px;
    height: 300px;
    background:url('https://i.pinimg.com/originals/c2/04/b1/c204b1b56da9f59f8390432ec44d46c4.gif');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-box2 {
    position: relative;
    width: calc(50% - 20px);
    max-width: 400px;
    height: 300px;
    background: url('https://45.media.tumblr.com/f69ed9281c4104036787573b4cc2c01e/tumblr_nizol00xh61qik957o1_400.gif');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-box3 {
    position: relative;
    width: calc(50% - 20px);
    max-width: 400px;
    height: 300px;
    background: url('https://www.icegif.com/wp-content/uploads/2022/09/icegif-107.gif');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-box4 {
    position: relative;
    width: calc(50% - 20px);
    max-width: 400px;
    height: 300px;
    background: url('https://c.tenor.com/3toQH2wp2PkAAAAM/initial-d-toyota.gif');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-box1:hover {
    transform: translateY(-10px);
}

.feature-box2:hover {
    transform: translateY(-10px);
}

.feature-box3:hover {
    transform: translateY(-10px);
}

.feature-box4:hover {
    transform: translateY(-10px);
}


.feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-box1:hover .feature-content {
    transform: translateY(-100%);
}

.feature-box2:hover .feature-content {
    transform: translateY(-100%);
}

.feature-box3:hover .feature-content {
    transform: translateY(-100%);
}

.feature-box4:hover .feature-content {
    transform: translateY(-100%);
}

.feature-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 16px;
    opacity: 0.8;
}
