/* Yorum Sistemi Stilleri */
.reviews-section {
    padding: 100px 0;
    background: white;
}

/* Rating Özeti */
.rating-summary {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.rating-stars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stars {
    font-size: 1.5rem;
}

.rating-text {
    color: #666;
    font-size: 0.95rem;
}

/* Rating Breakdown */
.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    min-width: 50px;
    font-size: 0.9rem;
    color: #666;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.rating-count {
    min-width: 50px;
    text-align: right;
    font-size: 0.9rem;
    color: #666;
}

.write-review-btn {
    justify-self: center;
}

/* Review Filters */
.review-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-sort {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    background: white;
}

.review-filter-chips {
    display: flex;
    gap: 0.5rem;
}

.filter-chip {
    padding: 0.5rem 1.5rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-chip:hover,
.filter-chip.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.review-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #2ecc71;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.review-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.review-tour {
    font-weight: 500;
}

.review-rating {
    font-size: 1.2rem;
}

.review-body {
    margin-bottom: 1.5rem;
}

.review-body p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.review-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-image:hover {
    transform: scale(1.05);
}

.review-footer {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.review-helpful-btn,
.review-share-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.review-helpful-btn:hover,
.review-share-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
}

.load-more-reviews {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

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

.review-modal.show {
    display: flex;
}

.review-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #333;
}

.star-rating-input {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
}

.star-rating-input .star {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.star-rating-input .star:hover {
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .rating-summary {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .write-review-btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .review-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .review-filter-chips {
        flex-wrap: wrap;
        justify-content: center;
    }

    .review-card {
        padding: 1.5rem;
    }

    .review-header {
        flex-direction: column;
    }

    .review-avatar {
        width: 50px;
        height: 50px;
    }

    .review-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 50px 0;
    }

    .rating-summary {
        padding: 2rem 1.5rem;
    }

    .rating-number {
        font-size: 3rem;
    }

    .review-modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .star-rating-input {
        font-size: 1.5rem;
        justify-content: center;
    }
}
