/* Vehicles Page Specific Styles */
/* 背景图区域通用样式 */
.lineup-bg-section {
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.lineup-bg-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px;
    line-height: normal;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.lineup-bg-section section {
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal;
    font-size: 16px;
}

/* 背景图1: 浅色背景 - 車種紹介 到 vehicle-tabs */
.lineup-bg-1 {
    background-image: url('../images/img-vehicles-bg-line up-01.png');
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 0;
    width: 100%;
}

.lineup-bg-1 .page-hero {
    padding-top: 224px !important;
    padding-bottom: 102px !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

.lineup-bg-1 .lineup-section {
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

.lineup-bg-1 .vehicle-tabs {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

/* 背景图2: 深色背景 - vehicle-counter-display 到 gallery-thumbnails */
.lineup-bg-2 {
    background-image: url('../images/img-vehicles-bg-line up-02.png');
    background-size: 100% 1164px;
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0px 0 0 0 !important;
    padding: 92px 0 0 0 !important;
    height: 1290px;
    width: 100%;
}

.lineup-bg-2 .lineup-section {
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto;
}

.lineup-bg-2 .vehicle-info-blocks {
    margin-bottom: 60px !important;
    margin-top: 0 !important;
}

.lineup-bg-2 .vehicle-gallery {
    margin: 45px 0 0 0 !important;
    padding: 35px 0 0 0 !important;
}

/* 背景图3: 浅色背景 - gallery-main区域 */
.lineup-bg-3 {
    background-image: url('../images/img-vehicles-bg-line up-01.png');
    background-size: 100% 1000px;
    background-position: center top;
    background-repeat: no-repeat;
    margin: -129px 0px 0px 0px !important;
    padding: 0 0 0px 0px !important;
    height: 1000px;
    width: 100%;
    position: relative;
}

.lineup-bg-3 .lineup-section {
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto;
    position: relative;
    z-index: 2;
}

.lineup-bg-3 .vehicle-item {
    position: relative;
    z-index: 5;
}

.lineup-bg-3 .vehicle-item.active {
    display: block !important;
    opacity: 1 !important;
}

.lineup-bg-3 .vehicle-gallery {
    margin: 0 !important;
    padding: 10px 0 80px 0 !important;
}

.lineup-bg-3 .gallery-main {
    margin: 0 !important;
    padding: 0 !important;
}

/* 背景图4: 浅色背景 - オプションの紹介 */
.lineup-bg-4 {
    background: none;
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto;
}

.lineup-bg-4 .amenities-section {
    margin: 0 !important;
    padding: 80px 0 80px 0 !important;
}

/* Page Hero */
.page-hero {
    color: #333;
    text-align: center;
    margin: 0;
    position: relative;
    background: transparent;
    z-index: 2;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #534741;
    letter-spacing: 10px;
}

.page-subtitle {
    font-size: 24px;
    letter-spacing: 3px;
    color: #b89968;
    font-weight: 700;
    font-family: 'Spectral-Bold', serif;
}

/* Vehicle Lineup Section */
.lineup-section {
    padding: 0;
    padding-bottom: 0;
    min-height: auto;
    color: white;
    position: relative;
    margin: 0;
}

.lineup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;

    z-index: 0;
}

.lineup-section .container {
    position: relative;
    z-index: 1;
}

/* Vehicle Navigation Tabs */
.vehicle-tabs {
    position: relative;
    display: flex;
    justify-content: flex-end;
    gap: 35px;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10;
    background: transparent;
}

.vehicle-tab {
    background: none;
    border: none;
    color: #9A9491;
    font-size: 19px;
    letter-spacing: 1.75px;
    padding: 12px 0 15px 0;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    position: relative;
    outline: none;
    font-family: 'Spectral-Bold', serif;
}

.vehicle-tab.active {
    color: #FE7058;
    font-family: 'Spectral-Bold', serif;
    font-weight: 700;
}

.vehicle-tab:focus {
    outline: none;
}

.vehicle-tab:hover {
    color: #ff6b52;
}

.vehicle-tab.active {
    color: #ff6b52;
    font-weight: 500;
}

.vehicle-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6b52;
}

/* Counter Display  */
.vehicle-counter-display {
    position: absolute;
    top: -20px;
    right: 60px;
    z-index: 10;
}

.vehicle-counter-display h2 {
    font-size: 28px;
    color: #FFFFFF;
    font-weight: 900;
    letter-spacing: 3px;
    font-family: 'Source Han Serif JP', serif;
}

/* Vehicle Showcase */
.vehicle-showcase {
    position: relative;
}

.vehicle-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.vehicle-item.active {
    display: block;
    opacity: 1;
}

.vehicle-image-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 30px;
    padding: 40px 0px 30px 0px;
    min-height: 400px;
}

.vehicle-image {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.main-car-image {
    width: 100%;
    height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.4));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.nav-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s;
    flex-shrink: 0;
    opacity: 0.8;
    outline: none;
    position: absolute;
    z-index: 20;
}

.nav-arrow:focus {
    outline: none;
}

.nav-arrow img {
    width: 45px;
    height: 45px;
    display: block;
}

.nav-arrow:hover {
    opacity: 1;
}

.nav-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    transform: none;
    opacity: 0.25;
}

.nav-arrow-left {
    left: 50%;
    top: 50%;
    transform: translate(-560px, -50%);
    z-index: 30;
}

.nav-arrow-right {
    right: 50%;
    top: 50%;
    transform: translate(560px, -50%);
    z-index: 30;
}

.vehicle-info-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 60px;
    grid-auto-rows: minmax(140px, auto);
}

.layout-block {
    grid-row: span 2;
}

.features-block,
.specs-block {
    grid-column: 2;
}

.info-block {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    padding: 20px 25px 40px 25px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.info-block.layout-block {
    background-image: url('../images/img-bg-line up-02.png');
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px 25px 40px 25px;
    border-radius: 0;
    position: relative;
    min-height: 100%;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.block-number {
    background: #DFAA5A;
    color: transparent;
    width: 20px;
    height: 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 使用图片替换数字 1 */
.info-block:nth-child(1) .block-number,
.layout-block .block-number {
    background-image: url('../images/icon-line up-01.png');
    background-color: transparent;
}

/* 使用图片替换数字 2 */
.info-block:nth-child(2) .block-number,
.features-block .block-number {
    background-image: url('../images/icon-line up-02.png');
    background-color: transparent;
}

/* 使用图片替换数字 3 */
.info-block:nth-child(3) .block-number,
.specs-block .block-number {
    background-image: url('../images/icon-line up-03.png');
    background-color: transparent;
}

.block-header h3 {
    margin: 0;
    font-size: 19px;
    color:#B78965;
    font-weight: 700;
    padding-top: 2px;
    line-height: 1.5;
}

/* 内容区域 */
.block-content {
    color: #4a4a4a;
    position: relative;
    flex: 1;
    font-family: 'SourceHanSerif', serif;
    font-weight: 700;
    line-height: 1.7;
    color: #534741;
    font-size: 14px;
}

.layout-block .block-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.layout-image {
    width: 75%;
    height: auto;
    border: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    position: relative;
    margin: 0 auto;
    display: block;
}

/* 底部标签 */
.layout-label {
    font-size: 12px;
    color: #a0a0a0;
    letter-spacing: 1.5px;
    text-align: right;
    margin: 0;
    font-weight: 400;
    font-family: 'Spectral-Regular', serif;
    position: absolute;
    bottom: -30px;
    right: 0px;
    padding-right: 15px;
}

.layout-label::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #5C656F;
    border-radius: 50%;
}

/* 特色块 */
.features-block .block-content {
    padding-top: 5px;
}

.features-list {
    list-style: none;
    padding: 0 0 0 40px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.features-list li {
    padding-left: 26px;
    position: relative;
    font-size: 12px;
    line-height: 1.8;
    color: #5a5a5a;
    font-family: 'Gen Jyuu Gothic Monospace', monospace;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #E3D4AF;
    margin-right: 12px;
}

/* 规格块 */
.specs-block .block-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 50px;
    margin-bottom: 5px;
    padding-left: 40px;
}

.spec-item-inline {
    display: flex;
    align-items: center;
    gap: 0;
}

/* 第1列和第3列（左侧列）- 推奨和スーツケース */
.specs-grid .spec-item-inline:nth-child(1),
.specs-grid .spec-item-inline:nth-child(3) {
    gap: 0 !important;
}

.specs-grid .spec-item-inline:nth-child(1) .spec-label,
.specs-grid .spec-item-inline:nth-child(3) .spec-label {
    width: 165px;
}

/* 第2列和第4列（右侧列）使用更小的间距并右对齐 */
.specs-grid .spec-item-inline:nth-child(2),
.specs-grid .spec-item-inline:nth-child(4) {
    gap: 15px !important;
    justify-content: space-between;
}
 .info-label
.spec-label {
    font-size: 14px !important;
    white-space: nowrap;
    color: #534741 !important;
    font-family: 'Source Han Serif JP Bold', serif;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.spec-label::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #E3D4AF;
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
}

.spec-value {
    color: #5C5C5C !important;
    font-size: 12px !important;
    font-family: 'Gen Jyuu Gothic Monospace', monospace;
    text-align: right;
}

.info-label {
    color: #a0a0a0;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-align: right;
    font-family: 'Spectral-Regular', serif;
    position: absolute;
    bottom: -30px;
    right: 0px;
    padding-right: 15px;
    margin: 0;
}

.info-label::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #5C656F;
    border-radius: 50%;
}

/* Vehicle Gallery */
.vehicle-gallery {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
}

.gallery-header h3 {
    font-size: 14px;
    color: #B3B6B8;
    letter-spacing: 2px;
    margin: 0;
    font-weight: 700;
    font-family: 'SourceHanSerif', serif;
}

.gallery-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: #84726F;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #FE7058;
    border-radius: 0;
}

.gallery-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-thumb {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border-radius: 4px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.gallery-thumb.active {
    opacity: 1;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.gallery-thumb:hover {
    transform: scale(1.03);
    opacity: 1;
}

.gallery-main {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    z-index: 10;
}

.gallery-large {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    position: relative;
    z-index: 10;
}

/* Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

.image-modal[style*="flex"] .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
    outline: none;
}

.modal-close:focus {
    outline: none;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .vehicle-info-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .layout-block {
        grid-row: auto;
    }

    .features-block,
    .specs-block {
        grid-column: auto;
    }

    .info-block {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .vehicle-tabs {
        gap: 20px;
        flex-wrap: wrap;
        padding: 30px 0 18px; /* 移动端调整padding */
    }

    .vehicle-tab {
        font-size: 13px;
    }

    .vehicle-counter-display {
        top: 40px; /* 移动端相应调整 */
        right: 20px;
    }

    .vehicle-counter-display h2 {
        font-size: 20px;
    }

    .vehicle-image-section {
        gap: 20px;
        padding: 20px;
        justify-content: center; /* 移动端居中显示 */
    }

    .nav-arrow img {
        width: 35px;
        height: 35px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-thumb {
        height: 100px; /* 移动端缩略图高度 */
    }
}

@media (max-width: 480px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-thumb {
        height: 90px;
    }

    .gallery-large {
        height: 250px;
    }
}
/* Options Section */
.amenities-section {
    padding: 80px 0 80px 0;
    background-image: url('../images/img-bg-Rate Table-06.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-title {
    margin-bottom: 92px;
    text-align: left;
}

.section-title h1 {
    font-size: 43px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #534741;
    letter-spacing: 13px;
    font-family: 'SourceHanSerif', serif;
}

.section-title .page-subtitle {
    font-size: 24px;
    color: #b89968;
    letter-spacing: 0.25em;
    font-weight: 700;
    font-family: 'Spectral-Bold', serif;
}

.amenities-content {
    display: flex;
    gap: 61px;
}

.left-content {
    padding-top: 0;
    width: 160px;
    flex-shrink: 0;
}

.left-content h3 {
    font-size: 21px;
    color: #4a4a4a;
    margin-bottom: 50px;
    line-height: 1.4;
    font-weight: 700;
    padding-top: 10px;
    padding-bottom: 0;
    position: relative;
    margin-top: 3px;
}

.left-content h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 3px;
    background: #FE7058;
}

.left-content h4 {
    font-size: 21px;
    color: #4a4a4a;
    margin-bottom: 10px;
    margin-top: 0;
    font-weight: 700;
}

.free-services {
    margin-bottom: 170px;
}

.free-services p {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
    margin: 0;
    max-width: 180px;
    margin-bottom: 10px;
    text-decoration: underline;
    text-decoration-color: #D8D8D8;
    text-underline-offset: 3px;
}

.option-services {
    padding-top: 13px;
    position: relative;
}

.option-services::before {
    content: '';
    position: absolute;
    top: 0.5px;
    left: 0;
    width: 150px;
    height: 3px;
    background: #FE7058;
}

.option-services h4 {
    margin: 0;
}

.right-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 900px;
}

.free-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 215px);
    column-gap: 10px;
    row-gap: 20px;
    padding-top: 13px;
    border-top: 2px solid #F0ECE1;
    position: relative;
}

.amenity-item {
    text-align: center;
}

.amenity-item img {
    width: 216px;
    height: 132px;
    border-radius: 0;
    margin-bottom: 9px;
    display: block;
}

.amenity-item p {
    font-size: 14px;
    color: #4a4a4a;
    margin: 0;
    font-weight: 700;
        font-family: 'SourceHanSerif', serif;
}

.paid-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 215px);
    column-gap: 10px;
    row-gap: 20px;
    padding-top: 13px;
    position: relative;
}

.paid-items-grid::before {
    content: '';
    position: absolute;
    top: 0.5px;
    left: 0;
    width: calc(75% + 15px);
    height: 2px;
    background: #F0ECE1;
}

.amenity-item-paid {
    text-align: center;
}

.amenity-item-paid img {
    width: 216px;
    height: 132px;
    border-radius: 0;
    margin-bottom: 9px;
    display: block;
}

.amenity-item-paid .item-name {
    font-size: 14px;
    color: #4a4a4a;
    margin: 0 0 6px 0;
    font-weight: 700;
    font-family: 'SourceHanSerif', serif;
}

.amenity-item-paid .item-price {
    font-size: 14px;
    color: #817975;
    margin: 0;
    line-height: 1.6;
    font-family: 'Gen Jyuu Gothic Monospace', monospace;
}

.amenity-item-paid .item-price span {
    font-size: 14px;
    color: #999;
    display: block;
    margin-top: 5px;
    font-family: 'Gen Jyuu Gothic Monospace', monospace;
    line-height: 24px;
}

/* Booking CTA */
.booking-cta {
    background: #333;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    min-width: 200px;
    justify-content: center;
}

.cta-phone {
    background: #ff4500;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-form {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-phone:hover {
    background: #e03e00;
}

.cta-form:hover {
    background: white;
    color: #333;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

.modal-close:hover {
    opacity: 0.7;
}

/* Vehicle Counter */
.vehicle-counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.counter-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.counter-dot.active {
    background: #2e7d32;
    transform: scale(1.2);
}

.counter-dot:hover {
    background: #4caf50;
}

/* Animation Effects */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.vehicle-item.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

.vehicle-item.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vehicle-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .spec-item {
        flex-direction: column;
        text-align: center;
    }

    .gallery-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .gallery-item {
        height: 80px;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 280px;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 42px;
          font-weight: 700;

    }

    .cta-content h2 {
        font-size: 25px;
    }

    .vehicle-nav {
        order: -1;
    }
}

@media (max-width: 480px) {
    .gallery-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-details {
        padding: 20px;
    }

    .option-category {
        padding: 30px 20px;
    }

    .nav-btn img {
        width: 40px;
        height: 40px;
    }
}


@media (min-width: 768px) and (max-width: 991.98px) {
    .amenities-content{
        gap: 20px;
    }
    .amenity-item img , .amenity-item-paid img{
        width: 148px;
        height: 133px;
    }
    .free-items-grid , .paid-items-grid{
        grid-template-columns: repeat(4, 142px);
    column-gap: 10px;
    }

}
