/* Son Eklenen Modeller Sayfası Stilleri */
/* Renk seçenekleri stilleri - Düzenlenmiş */
.model-colors-container {
    display: flex;
    align-items: center;
    margin: 0 0 15px;
    gap: 8px;
}

.model-colors {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-grow: 1;
}

/* Renk kontrol butonları */
.color-controls {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Ana resim butonu */
.default-image-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.default-image-button:hover {
    background-color: #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.default-image-button i {
    font-size: 10px;
    color: #666;
}

/* Reset butonu */
.color-reset {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.color-reset:hover {
    background-color: #e0e0e0;
    transform: rotate(180deg);
}

.color-reset i {
    font-size: 10px;
    color: #666;
}

/* Mobil görünüm için düzenlemeler */
@media (max-width: 767px) {
    .default-image-button,
    .color-reset {
        width: 18px;
        height: 18px;
    }
}

.honda-latest-models-container {
    padding: 0 0 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.latest-models-header {
    margin-top: 0px;
    margin-bottom: 20px;
}

.latest-models-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.latest-models-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #CC0000;
}

.latest-models-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Model Kartları Stilleri - İyileştirilmiş Yerleşim */
.latest-models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.model-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Model resim alanı için stil */
.model-image-container {
    position: relative;
    height: 0;
    padding-top: 75%;
    overflow: hidden;
    background-color: #f8f8f8;
}

.model-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0px;
    transition: transform 0.5s;
}

.model-card:hover .model-image img {
    transform: scale(1.05);
}

.model-image.active {
    opacity: 1;
    z-index: 2;
}

.model-image:not(.active) {
    opacity: 0;
    z-index: 1;
}

.no-image {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

.model-type {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.model-type.benzinli {
    background-color: #CC0000;
}

.model-type.elektrikli {
    background-color: #00AA55;
}

/* Model info alanını düzenle */
.model-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.model-title {
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: #333;
    font-weight: 700;
    line-height: 1.3;
}

/* Model kategori stili */
.model-category {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    background-color: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Renk seçenekleri stilleri - İyileştirilmiş */
.model-colors {
    display: flex;
    gap: 10px;
    margin: 0 0 15px;
    flex-wrap: wrap;
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    outline: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.color-option:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

.color-option.active {
    transform: scale(1.2);
    outline: 2px solid #CC0000;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.3);
}

/* İncele butonunu güncelle */
.model-detail-button {
    display: inline-block;
    background-color: #CC0000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 3px 6px rgba(204, 0, 0, 0.2);
}

.model-detail-button:hover {
    background-color: #AA0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(204, 0, 0, 0.3);
}

/* Anasayfa Son Eklenen Modeller Bölümü Stilleri */
.honda-latest-models-section {
    padding: 10px 0;
    background-color: #f7f7f7;
    max-width: 1200px;
    margin: 10px auto;
    border-radius: 10px;
}

.latest-models-section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.latest-models-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #CC0000;
}

.latest-models-section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* En Yeni Modeller Slider Stilleri */
.homepage-latest-models-slider-container {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    padding: 10px 5px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.homepage-latest-models-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px;
    transition: transform 0.5s ease;
}

.homepage-latest-models-slider .model-card {
    flex: 0 0 calc(25% - 19px);
    max-width: calc(25% - 19px);
    margin-right: 0;
    box-sizing: border-box;
}

/* Slider Navigation */
.slider-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    gap: 20px;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #666;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-arrow:hover {
    background-color: #ddd;
    color: #333;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

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

.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

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

.slider-dot.active {
    width: 30px;
    border-radius: 15px;
    background-color: #CC0000;
}

.all-models-link {
    text-align: center;
    margin-top: 25px;
}

.all-models-link a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 25px;
    background-color: rgb(255, 0, 0);
}

.all-models-link a:hover {
    color: #AA0000;
    background-color: rgba(204, 0, 0, 0.1);
}

.all-models-link a i {
    margin-left: 8px;
    transition: transform 0.2s;
}

.all-models-link a:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1300px) {
    .honda-latest-models-section {
        max-width: 95%;
    }
    
    .homepage-latest-models-slider-container {
        max-width: 90%;
    }
}

@media (max-width: 1200px) {
    .latest-models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .homepage-latest-models-slider .model-card {
        flex: 0 0 calc(33.333% - 17px);
        max-width: calc(33.333% - 17px);
    }
}

@media (max-width: 991px) {
    .latest-models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homepage-latest-models-slider .model-card {
        flex: 0 0 calc(50% - 13px);
        max-width: calc(50% - 13px);
    }
}

@media (max-width: 767px) {
    .honda-latest-models-section {
        max-width: 100%;
        padding: 15px 0;
        border-radius: 0;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .honda-latest-models-container {
        padding: 0 15px 30px;
        max-width: 100%;
    }
    
    .latest-models-header {
        margin-top: 0px;
    }
    
    .latest-models-title {
        font-size: 2rem;
    }
    
    .latest-models-description {
        font-size: 1rem;
    }
    
    .latest-models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .model-image-container {
        padding-top: 20%;
    }
    
    .model-info {
        padding: 15px;
    }
    
    .model-title {
        font-size: 1rem;
    }
    
    .model-colors {
        margin-bottom: 12px;
    }
    
    .color-option {
        width: 18px;
        height: 18px;
    }
    
    .latest-models-section-title {
        font-size: 1.8rem;
    }
    
    .latest-models-section-description {
        font-size: 1rem;
    }
    
    .homepage-latest-models-slider .model-card {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    
    .nav-arrow {
        width: 32px;
        height: 32px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        width: 24px;
    }
    
    .homepage-latest-models-slider-container {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .latest-models-grid {
        grid-template-columns: 1fr;
    }
    
    .model-image-container {
        padding-top: 65%;
    }
    
    .homepage-latest-models-slider .model-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .slider-navigation {
        gap: 15px;
    }
    
    .nav-arrow {
        width: 30px;
        height: 30px;
    }
}
