/* Karşılaştırma Sayfası Stilleri */
.honda-compare-container {
    padding: 0 0 30px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

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

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

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

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

/* Uyarı Mesajı Stilleri */
.compare-warning {
    display: flex;
    align-items: center;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 30px;
    color: #856404;
}

.warning-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #e0a800;
}

.warning-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.warning-text strong {
    font-weight: 700;
}

/* Form Stilleri */
.compare-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.compare-form-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.compare-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.compare-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    font-size: 1rem;
    color: #333;
}

.compare-form-submit {
    text-align: center;
}

.compare-button {
    background-color: #CC0000;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.compare-button:hover {
    background-color: #AA0000;
}

/* Sonuçlar Stilleri */
.compare-results {
    margin-top: 50px;
}

.compare-results-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

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

.compare-table-container {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.compare-table th,
.compare-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.compare-feature-header {
    width: 200px;
    background-color: #f5f5f5;
    font-weight: 700;
    color: #333;
}

.compare-model-header {
    background-color: #f5f5f5;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.compare-feature {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #555;
}

.compare-value {
    text-align: center;
}

.compare-price {
    font-weight: 700;
    color: #CC0000;
}

.compare-image {
    width: 200px;
    height: 150px;
    margin: 0 auto;
}

.compare-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.compare-no-image {
    width: 200px;
    height: 150px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    margin: 0 auto;
}

.compare-section-header {
    background-color: #f0f0f0;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.compare-button-row {
    background-color: white;
}

.view-model-button {
    display: inline-block;
    background-color: #CC0000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.view-model-button:hover {
    background-color: #AA0000;
    color: white;
}

/* Anasayfa Karşılaştırma Bölümü Stilleri */
.honda-compare-section {
    padding: 10px 0;
    background-color: #F4F4F4;
    max-width: 1200px;
    margin: 10px auto;
    border-radius: 10px;
}

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

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

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

.homepage-compare-form {
    max-width: 1000px;
    margin: 0 auto 30px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.homepage-compare-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 15px;
    align-items: center;
}

.homepage-compare-field {
    width: 100%;
}

.homepage-compare-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    font-size: 1rem;
    color: #333;
}

.homepage-compare-submit {
    align-self: stretch;
    display: flex;
    align-items: center;
}

.homepage-compare-button {
    background-color: #CC0000;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    height: 100%;
}

.homepage-compare-button:hover {
    background-color: #AA0000;
}

.compare-all-link {
    text-align: center;
    margin-top: 20px;
}

.compare-all-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);
}

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

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

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

/* Dropdown grupları için stiller */
optgroup {
    font-weight: 700;
    color: #333;
}

optgroup optgroup {
    margin-left: 15px;
    font-weight: 600;
    color: #555;
}

.homepage-compare-select,
.compare-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    font-size: 1rem;
    color: #333;
    width: 100%;
    max-width: 100%;
}

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

@media (max-width: 991px) {
    .compare-form-fields {
        grid-template-columns: 1fr;
    }
    
    .compare-field {
        margin-bottom: 15px;
    }
    
    .homepage-compare-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .homepage-compare-submit {
        margin-top: 10px;
    }
    
    .homepage-compare-button {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .honda-compare-section {
        max-width: 100%;
        padding: 15px 0;
        border-radius: 0;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .honda-compare-container {
        padding: 0 15px 30px;
        max-width: 100%;
    }
    
    .compare-title {
        font-size: 2rem;
    }
    
    .compare-description {
        font-size: 1rem;
    }
    
    .compare-form {
        padding: 20px;
    }
    
    .compare-button {
        width: 100%;
    }
    
    .compare-feature-header {
        width: 150px;
    }
    
    .compare-image {
        width: 150px;
        height: 120px;
    }
    
    .compare-no-image {
        width: 150px;
        height: 120px;
    }
    
    .compare-section-title {
        font-size: 1.8rem;
    }
    
    .compare-section-description {
        font-size: 1rem;
    }
    
    .compare-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .warning-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .homepage-compare-form {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .compare-table th,
    .compare-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .compare-feature-header {
        width: 120px;
    }
    
    .compare-image,
    .compare-no-image {
        width: 120px;
        height: 100px;
    }
}
