html {
    scroll-behavior: smooth;
}

body {
    font-family: "Playfair Display", serif;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   TOP SECTION STYLES
   ========================================= */
.vehicle-top-section {
    padding-top: 40px;
    padding-bottom: 20px;
    background: #fff;
}

.breadcrumbs {
    display: flex;
    margin-bottom: 40px;
    margin-top: 35px
}

.crumb {
    position: relative;
    background: #4dd0e1;
    color: #666666;
    padding: 8px 20px 8px 30px;
    font-size: 0.9rem;
    text-decoration: none;
    margin-right: 5px;
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%);
}

.crumb.home {
    padding-left: 20px;
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}

.crumb.current {
    background: #4dd0e1; 
    opacity: 0.8;
}

.main-title {
    text-align: center;
    color: #9ab95f; 
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
}

.main-description {
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    color: #777;
    font-size: 1rem;
}

/* Safety Checks Bar */
.guidelines-bar {
    background-color: #4dd0e1; 
    color: #fff;
    padding: 15px 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guidelines-content {
    padding: 30px 20px;
    margin-bottom: 40px;
    animation: fadeIn 0.5s;
}

.guidelines-list {
    list-style: disc;
    margin-left: 20px;
}

.guidelines-list li {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.guidelines-content::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #4dd0e1;
    margin-top: 30px;
}

.section-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================
   VEHICLE CARDS STYLES 
   ======================== */
.vehicles-section {
    padding: 0;
}

.vehicle-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.vehicle-row {
    display: flex;
    align-items: center; 
    margin-bottom: 0;
    background-color: transparent;
    scroll-margin-top: 50px;
    padding: 30px 80px; 
    gap: 40px; 
    min-height: 500px; 
}

/* Text Section */
.vehicle-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.text-inner {
    max-width: 600px;
}

.vehicle-row .text-inner {
    text-align: right;
    margin-left: auto;
}

.vehicle-row.reverse .text-inner {
    text-align: left;
    margin-right: auto;
}

/* Image Section - WITH GRADIENT BACKGROUND */
.vehicle-image-container {
    flex: 1;
    max-width: 50%;
    position: relative;
    padding: 40px;
    background: linear-gradient(to top, #a2dae8 0%, #a2dae8 50%, rgba(162, 218, 232, 0) 100%);
}

/* Left-aligned images (odd rows) */
.vehicle-row:not(.reverse) .vehicle-image-container {
    padding: 10px 10px 10px 60px;
}

/* Right-aligned images (even rows) */
.vehicle-row.reverse .vehicle-image-container {
     padding: 10px 60px 10px 10px;
}

.vehicle-image-container img {
    width: 100%;
    height: auto; 
    max-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* HOVER EFFECT */
.vehicle-image-container:hover img {
    transform: scale(1.05);
}

/* Typography */
.vehicle-name {
    text-align: center;
    font-size: 3rem;
    color: #6ec1e4; 
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 400;
}

.vehicle-desc {
    color: #666;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-read-more {
    display: block;
    background-color: #1a7e7e;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 2px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
    width: fit-content;
    margin: 0 auto; 
}

.btn-read-more:hover {
    background-color: #145e5e;
}

/* Reverse Logic for Row */
.vehicle-row.reverse {
    flex-direction: row-reverse;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .vehicle-row, 
    .vehicle-row.reverse {
        flex-direction: column-reverse;
        padding: 20px 20px; 
        gap: 20px; 
    }

    .vehicle-image-container,
    .vehicle-row:not(.reverse) .vehicle-image-container,
    .vehicle-row.reverse .vehicle-image-container {
        max-width: 100%;
        margin: 0;
        border-radius: 24px;
        padding: 30px !important;
    }
    
    .vehicle-text-content {
        width: 100%;
    }

    .vehicle-row .text-inner,
    .vehicle-row.reverse .text-inner {
        text-align: center;
        margin: 0 auto;
    }

    .vehicle-name {
        font-size: 2.2rem;
    }
}

@media (min-width: 769px) {
    .vehicles-section{
        padding: 0 100px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .vehicles-section{
        padding: 0 20px;
    }

    .vehicle-row {
        padding: 20px 40px; 
        gap: 20px;        
    }
}