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

body {
    font-family: "Roboto", sans-serif;
    background-color: #000;
    color: #fff;
    text-align: center;
}

.top-header {
    padding: 0;
    margin: 0;  
}

.container {
    background-color: #fff;
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 20px;
    
    display: flex;
    justify-content: space-between; 
    align-items: center;

}

.left-header a {    
    display: inline-block;
}
.left-header img{
    margin: 0px 5px;
    padding: 2px;
    display: block;
    width: 30px;
    height: 30px;
}
.center-header img {
    display: block;
    width: 160px;
    height: auto;
    margin: 10px 20px 10px 0px;
}
.right-header {
    display: flex;
    align-items: center;
    margin: 0 5px 5px 0px;
}
.main-nav {
    position: relative;
    width: 710px;
    height: 50px;
    background: #252422;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto 15px auto;
}
.main-nav a {
    position: relative;
    display: inline-block;
    font-size: 1em;
    color: #fff;
    text-decoration: none;
    padding: 0 23px;
    z-index: 1;
}
.main-nav span {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(45deg, #2e3192, #1bffff);
    border-radius: 8px;
    transition: 0.5s ease;
    z-index: 0;
}
.main-nav a:nth-child(1):hover ~ span {
    left: 20px;
}
.main-nav a:nth-child(2):hover ~ span {
    left: 125px;
    width: 120px;
}
.main-nav a:nth-child(3):hover ~ span {
    left: 240px;
    width: 110px;
}
.main-nav a:nth-child(4):hover ~ span {
    left: 340px;
    width: 120px;
}
.main-nav a:nth-child(5):hover ~ span {
    left: 455px;
    width: 110px;
}
.main-nav a:nth-child(6):hover ~ span {
    left: 560px;
    width: 120px;
}
.bottom-header {
    background-image: url(img/porsche911.jpg);
    background-size: cover;
    background-position: center;
    height: 600px;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    
    padding: 0 60px;
    color: #f5ebe0;
    position: relative;
}
.bottom-header ::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
}
.bottom-header h1,
.bottom-header p {
    position: relative;
    z-index: 0;
}
.bottom-header h1 {
    font-size: 3.5em;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 15px;
    margin-left: 16px;
    text-transform: uppercase;
}
.bottom-header p {
    font-size: 1.2em;
    max-width: 560px;
    letter-spacing: 1px;
    color: #eaeaea;
}
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    margin: 40px auto;
}
.brand-logos a {
    text-decoration: none;
}
.brand-box {
    width: 150px;
    height: 105px;
    background-color: #252422;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
    cursor: pointer;
}
.brand-box img {
    max-width: 60%;
    object-fit: contain;
}
.brand-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.intro {
    background-color: #252422;
    padding: 20px 40px;
    margin: 40px 40px;
    color: #fffcf2;
    border-radius: 20px;
}
.intro-container {
    max-width: 1000px;
    margin: 20px auto;
    text-align: left;
}
.intro-container h2 {
   font-size: 1.75rem;
    margin-bottom: 15px;
}
.intro-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}
.featured-vehicles {
    padding: 40px 50px;
    margin: 70px 50px;
    color: #edede9;
    background-color: #252422;
    border-radius: 20px;
}
.featured-vehicles h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}
.vehicle-list {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}
.vehicle-card {
    background-color: #eaeaea;
    color: #212529;
    border-radius: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;

    display: flex;
    flex-direction: column;
}
.vehicle-card:hover {
    transform: translateY(-10px);
}
.vehicle-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: block;
}
.vehicle-info {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}
.vehicle-info h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
}
.vehicle-card p {
    margin-bottom: 10px;
    line-height: 1.6;
}
.vehicle-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: auto;
    background: linear-gradient(#2e3192, #1bffff);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}
.vehicle-btn:hover {
    opacity: 0.85;
}
.services {
    padding: 20px 40px;
    margin: 80px 60px;
    background-color: #252422;
    color: #fffcf2;
    border-radius: 20px;
}
.services h2 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}
.service-grip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.service-box {
    text-transform: uppercase;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.find-us {
    max-width: 1400px;
    margin: 100px auto;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px 40px;
}

.find-us-container {
    display: flex;
    justify-content: space-between;
    background: #252422;
    gap: 20px;
    padding: 40px;
    border-radius: 12px 12px 0 0;
}

.find-us-info {
    padding: 40px;
    text-align: left;
    color: #ccc;
}

.find-us-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.find-us-info p,
.find-us-hours p {
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.find-us-hours {
    color: #ccc;
    padding: 40px;
    text-align: left;
    font-size: 1.25rem;
}

.find-us-info a {
    color: #2e3192;
    text-decoration: none;
    font-weight: 500;
}

.find-us-map {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    padding: 20px;
    margin-top: 60px;
}

.find-us-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.btn.directions {
    display: inline-block;
    margin-top: 15px;
    margin-left: -5px;
    padding: 10px 22px;
    background: linear-gradient(45deg, #2e3192, #1bffff);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.btn.directions:hover {
    opacity: 0.85;
}

@media (max-width: 900px) {
    .find-us-container {
        flex-direction: column;
    }
}

.reviews {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 60px 50px;
    align-items: center;
    background: #252422;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* LEFT */
.reviews-left {
    flex: 1;
    text-align: left;
    margin-left: 45px;
}

.reviews-left h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.reviews-left p {
    margin-bottom: 25px;
    color: #ccc;
}

.google-review-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(45deg, #2e3192, #1bffff);
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
}

.google-review-btn:hover {
    opacity: 0.9;
}

/* RIGHT */
.reviews-right {
    flex: 1;
}

.reviews-slider {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.review-track {
    display: flex;
    flex-direction: column;
    animation: slideReviews 14s infinite ease-in-out;
}

.review-item {
    height: 180px;
    padding: 30px;
}

.stars {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-item span {
    color: #aaa;
    font-size: 0.9rem;
}

/* SLIDE ANIMATION */
@keyframes slideReviews {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(0); }

    35%  { transform: translateY(-180px); }
    60%  { transform: translateY(-180px); }

    65%  { transform: translateY(-360px); }
    95%  { transform: translateY(-360px); }

    100% { transform: translateY(0); }
}

.reviews-slider:hover .review-track {
    animation-play-state: paused;
}

/* MOBILE */
@media (max-width: 900px) {
    .reviews-section {
        flex-direction: column;
        text-align: center;
    }

    .reviews-slider {
        width: 100%;
    }
}
.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}
.floating-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;
    border-radius: 50px;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    color: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
    transition: all 0.3s ease;
}
.call-btn {
    background: linear-gradient(135deg, #1db954, #1ed760);
}
.stock-btn {
    background: linear-gradient(135deg, #2e3192, #1bffff);
}
.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
    opacity: 0.95;
}
@media (max-width: 768px) {
    .floating-btn {
        font-size: 0.9rem;
        padding: 12px 18px;
    }
}

footer {
    color: #fff;
    padding: 40px 40px 20px 20px;
    font-family: 'Roboto', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    gap: 30px; 
    
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
}

.footer-about,
.footer-contact,
.footer-links,
.footer-social {
    flex: 1 1 220px;
    min-width: 200px;
}

.footer-about h3,
.footer-links h4,
.footer-social h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #f5ebe0;
}

.footer-about p,
.footer-contact p,
.footer-links ul li,
.footer-social a {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links ul li a,
.footer-social a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-social a:hover {
    color: #2e3192;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.footer-social h4 {
    margin-bottom: 15px;
    color: #ccc;
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.footer-social a img {
    background-color: #fff;
    border-radius: 50%;
    padding: 8px;
    width: 35px;
    height: 35px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social {
        margin-top: 20px;
    }
}
