/* ========== Vehicle Detail - New Template ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent !important;
}

/* Ensure no white background on main content areas */
.main-content,
.features-section,
section,
main {
    background: transparent;
}

.main-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding: 60px;
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

/* ========== Image Section ========== */
.image-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.slider-container {
    position: relative;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(220, 20, 60, 0.85);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 2px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(220, 20, 60, 1);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn-left {
    left: 20px;
}

.slider-btn-right {
    right: 20px;
}

.slider-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 0 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #d0d0d0;
}

.dot:hover {
    background: #bbb;
}

.dot.active {
    background: #dc143c;
    width: 24px;
    border-radius: 4px;
    border-color: #dc143c;
}

/* ========== Info Section ========== */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.header-info {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 25px;
}

.brand {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.title {
    font-size: 42px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
    line-height: 1.6;
}

/* ========== Price Box ========== */
.price-box {
    background: linear-gradient(135deg, #dc143c 0%, #b80530 100%);
    padding: 45px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.price-label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 600;
}

.price {
    font-size: 48px;
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.price-note {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}

/* ========== Specs Section ========== */
.specs-section {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 25px 0;
}

.specs-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.spec-value {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 600;
}

/* ========== Action Section ========== */
.action-section {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    padding: 14px 28px;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #dc143c;
    color: white;
}

.btn-primary:hover {
    background: #b80530;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.25);
}

.btn-secondary {
    background: white;
    color: #dc143c;
    border: 1.5px solid #dc143c;
}

.btn-secondary:hover {
    background: #fff5f5;
}

.description-full {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
}

/* ========== Features Section ========== */
.features-section {
    background: transparent;
    padding: 80px 60px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 70px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #dc143c;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Features Section Items */
.features-section .feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
}

.features-section .feature-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-section .feature-reverse {
    direction: rtl;
}

.features-section .feature-reverse > * {
    direction: ltr;
}

.features-section .feature-image {
    position: relative;
    height: 380px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.features-section .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.features-section .feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.features-section .feature-tag {
    display: inline-block;
    font-size: 11px;
    color: white;
    background: #dc143c;
    padding: 8px 16px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 16px;
    animation: slideInLeft 0.6s ease-out 0.2s forwards;
}

.features-section .feature-title {
    font-size: 32px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    animation: slideInLeft 0.6s ease-out 0.3s forwards;
}

.features-section .feature-description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
    animation: slideInLeft 0.6s ease-out 0.4s forwards;
}

.features-section .feature-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-section .feature-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #555;
    animation: slideInLeft 0.6s ease-out forwards;
}

.features-section .feature-item:nth-child(1) .feature-point:nth-child(1) { animation-delay: 0.5s; }
.features-section .feature-item:nth-child(1) .feature-point:nth-child(2) { animation-delay: 0.6s; }
.features-section .feature-item:nth-child(1) .feature-point:nth-child(3) { animation-delay: 0.7s; }

.features-section .feature-item:nth-child(2) .feature-point:nth-child(1) { animation-delay: 0.5s; }
.features-section .feature-item:nth-child(2) .feature-point:nth-child(2) { animation-delay: 0.6s; }
.features-section .feature-item:nth-child(2) .feature-point:nth-child(3) { animation-delay: 0.7s; }

.features-section .feature-item:nth-child(3) .feature-point:nth-child(1) { animation-delay: 0.5s; }
.features-section .feature-item:nth-child(3) .feature-point:nth-child(2) { animation-delay: 0.6s; }
.features-section .feature-item:nth-child(3) .feature-point:nth-child(3) { animation-delay: 0.7s; }

.features-section .feature-item:nth-child(4) .feature-point:nth-child(1) { animation-delay: 0.5s; }
.features-section .feature-item:nth-child(4) .feature-point:nth-child(2) { animation-delay: 0.6s; }
.features-section .feature-item:nth-child(4) .feature-point:nth-child(3) { animation-delay: 0.7s; }

.features-section .feature-point::before {
    content: '✓';
    color: #dc143c;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: -2px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .features-section .feature-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .features-section .feature-reverse {
        direction: ltr;
    }

    .features-section {
        padding: 60px 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-section .feature-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 30px 20px;
        gap: 30px;
    }

    .title {
        font-size: 28px;
    }

    .price {
        font-size: 32px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .features-section .feature-image {
        height: 280px;
    }

    .features-section .feature-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .features-section {
        padding: 40px 20px;
    }

    .features-section .feature-item {
        gap: 20px;
        margin-bottom: 50px;
    }
}
